ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> cpp-sig
cpp-sig
Re: [C++-sig] Boost V1 build on Solaris
by Leonardo Rochael Almeida other posts by this author
Oct 23 2002 5:43PM messages near this date
Re: [C++-sig] Boost V1 build on Solaris | Re: [C++-sig] Boost V1 build on Solaris
On Wed, 2002-10-23 at 14:55, Paul F. Kunz wrote:
>     I'm trying to build V1 boost::python on Solaris from boost_1_28.
>  
>  tersk06> $GCC_ROOT_DIRECTORY/bin/gcc -v
>  Reading specs from /afs/slac/package/gcc/gcc-3/3.1.1/sun4x_58/bin/../lib/gcc-lib/sparc-sun
-solaris2.8/3.1.1/specs
>  Configured with: ../../src/gcc-3.1.1/configure --disable-libffi --without-libffi --prefix=
/afs/slac.stanford.edu/package/gcc/gcc-3/3.1.1/sun4x_58 --srcdir=../../src/gcc-3.1.1 --enabl
e-shared --enable-version-specific-runtime-libs
>  Thread model: posix
>  gcc version 3.1.1
>  
>  tersk06> pwd
>  /a/surrey07/g.ek.novadata/data/pfkeb/boost_1_28_0
>  
>  tersk06> bjam "-sTOOLS=gcc"
>  ---------------------------------------------------------------------
>  skipping Boost.Python library build
>  You can configure the location of your python installation, by setting:
>  PYTHON_ROOT    - currently "/afs/slac/package/python/sun4x_59/2.0"
>  PYTHON_VERSION - The 2-part python Major.Minor version number (e.g.
>                   "2.2", NOT "2.2.1")  - currently "2.0"
>  
>  The following are automatically configured from PYTHON_ROOT if not
>  otherwise set:
>      PYTHON_INCLUDES    - path to Python #include directories; currently "/afs/slac/package
/python/sun4x_59/2.0/include/python2.0"
>      PYTHON_LIB_PATH    - path to Python library; currently
>                            "/afs/slac/package/python/sun4x_59/2.0/lib/python2.0/config"
>      PYTHON_STDLIB_PATH - path to Python standard library modules; currently
>                            "/afs/slac/package/python/sun4x_59/2.0/lib/python2.0"
>  ---------------------------------------------------------------------
>  ...found 414 targets...
>  
>  So the rest of boost built but not python.   I've not had problems
>  under Linux.
>  
>  Any hints?
>  
>  _______________________________________________
>  C++-sig mailing list
>  C++-sig@[...].org
>  http://mail.python.org/mailman/listinfo/c++-sig
>  

edit Jamrules in your boost root dir. and add:

PYTHON_ROOT ?= /usr/local ;
PYTHON_VERSION ?= 2.2 ;

replace /usr/local with whatever directory has bin/python and replace
2.2 with the first two levels of whatever version of python you have
(e.g. 2.1, not 2.1.3).

Cheers, Leo

-- 
Ideas don't stay in some minds very long because they don't like
solitary confinement.


_______________________________________________
C++-sig mailing list
C++-sig@[...].org
http://mail.python.org/mailman/listinfo/c++-sig
Thread:
Paul F. Kunz
Paul F. Kunz
David Abrahams
Leonardo Rochael Almeida
David Abrahams
David Abrahams
David Abrahams
David Abrahams
Leonardo Rochael Almeida
David Abrahams
Paul F. Kunz
David Abrahams
Paul F. Kunz
Paul F. Kunz

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved