Re: [graph-tool] building graph-tool 2.0 under Mac OS X

2009-10-16 Thread Claudio Martella
OK, here I have /opt/local/lib/libboost_python-mt.a /opt/local/lib/libboost_python-mt.dylib I tried --with-boost-library="/opt/local/lib/libboost_python-mt" and --with-boost-library="-mt" but no success. Do you have any suggestions? On Thu, Oct 15, 2009 at 7:17 PM, Tiago de Paula Peixoto wro

Re: [graph-tool] building graph-tool 2.0 under Mac OS X

2009-10-16 Thread Tiago de Paula Peixoto
Claudio Martella wrote: > OK, here I have > /opt/local/lib/libboost_python-mt.a /opt/local/lib/libboost_python-mt.dylib > > I tried --with-boost-library="/opt/local/lib/libboost_python-mt" and > --with-boost-library="-mt" but no success. Do you have any > suggestions? You should try --with-boos

Re: [graph-tool] building graph-tool 2.0 under Mac OS X

2009-10-16 Thread Tiago de Paula Peixoto
Claudio Martella wrote: > OK, > > i didn't specify the --prefix but i did specify the library position > through LDFLAGS. > > Mac OS X doesn't have many gnu libraries in its default. A project > exists called Macports which is very similar to Gentoo packaging (in > the sense that is sourcebased,

Re: [graph-tool] building graph-tool 2.0 under Mac OS X

2009-10-16 Thread Claudio Martella
by the way --prefix= is for the installation destination, it should tell anything about the libs positions. Isn't it? On Fri, Oct 16, 2009 at 2:31 PM, Tiago de Paula Peixoto wrote: > Claudio Martella wrote: >> OK, >> >> i didn't specify the --prefix but i did specify the library position >> throu

Re: [graph-tool] building graph-tool 2.0 under Mac OS X

2009-10-16 Thread Tiago de Paula Peixoto
Claudio Martella wrote: > ./configure --prefix=/opt/local/ [...] > configure: error: > Could not link test program to Python. Maybe the main Python library has > been > installed in some non-standard library path. If so, pass it to configure, > via the LDFLAGS environment variable. > Exa

Re: [graph-tool] building graph-tool 2.0 under Mac OS X

2009-10-16 Thread Tiago de Paula Peixoto
Claudio Martella wrote: > by the way --prefix= is for the installation destination, it should > tell anything about the libs positions. Isn't it? No it is more than that. It is used as the basis for all other assumptions. It where the "system" should be. Cheers, Tiago signature.asc Description

Re: [graph-tool] building graph-tool 2.0 under Mac OS X

2009-10-16 Thread Claudio Martella
I did that since the beginning. It then complains about not finding boost::python, which is why i wrote you in the first place. see my first try, so config.log.1 The thing is that i should not install into /opt/local/ as it's for macports. we should avoid conflicts and macports developers suggest

Re: [graph-tool] building graph-tool 2.0 under Mac OS X

2009-10-16 Thread Tiago de Paula Peixoto
Claudio Martella wrote: > I did that since the beginning. It then complains about not finding > boost::python, which is why i wrote you in the first place. > > see my first try, so config.log.1 There you did: ./configure LDFLAGS=-L/opt/local/lib --prefix=/opt/local/ --with-boost-python=libboost

Re: [graph-tool] building graph-tool 2.0 under Mac OS X

2009-10-16 Thread Tiago de Paula Peixoto
Claudio Martella wrote: > ./configure LDFLAGS=-L/opt/local/lib --prefix=/opt/local/ > --with-boost-python=boost_python-mt Try: ./configure LDFLAGS=-L/opt/local/lib CXXFLAGS="-I/opt/local/include" --prefix=/opt/local/ --with-boost-python=boost_python-mt It don't object helping you like this, bu