Justin Leonard wrote:
> I am in the process of attempting to learn how to use boost.python, 
> ultimately to integrate existing c++ simulations with python scripts.  
> At the moment they simply fork new processes and use the os libraries to 
> parse input - it works, but its very low-tech and ugly.  I estimate 
> almost half my processor usage is dedicated to simply forking new 
> processes inside loops, so I'm seeking to reduce this.
> 
> To accomplish this I have installed fink, used it to install the packages:
> boost-jam
> boost1.34.nopython
> boost1.34.nopython-shlibs
> boost1.34.python25
> boost1.34.python25-shlibs
> as well as unrelated packages for gnuplot and gnuplot.py.
> 
> My problem is boost.python gives an example extensively based on 
> boost/tools subtree, which is configured during installation.  The 
> problem is I have no idea if or where fink would have put the 
> /configured/ tree, which bjam relies on.

This is currently not installed. Two reasons:
1. The boost.python install prcedure doesn't install it automatically
2. Nobody asked for it yet.

I can make the Fink package install it, but you could help me with this 
by telling me what is needed (you most certainly know more about 
boost.python than I do.) Is the whole tools directory needed or only the 
  /tools/build/v2 subirectory? Where should it go, 
/sw/share/doc/boost1.34.python25/ or /sw/lib/boost/ ?

If you built your boost1.34 with the -k option "fink -k build..." or 
have "KeepBuildDir: true" in your /sw/etc/fink.conf, then you will find 
the tree you are looking for in the directory 
/sw/src/fink.build/boost1.34.python25-1.34.1-1004/boost_1_34_1/tools/

-- 
Martin


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to