Hi,

Thanks for your reply. Yes, I compiled and installed boost libraries. I
forgot to mention that I have not removed the default version of CentOS
which is Python2.6 (because the system has also some other users); hence, I
used these commands to configure and install boost:

bootstrap.sh  --with-python=python2.7
sudo ./b2 install

As the result, I can see that the header files and libraries of boost have
become available in the following folders:

/usr/local/include/boost/
/usr/local/lib

However, none of the boost libraries starts with boost_python; instead, I
think the relevant ones are: libboost_python.a, libboost_python.so,
and libboost_python.so.1.52.0. Therefore, I also tried the following
command to configure graph-tool, but it is still unsuccessful.  The error
message is as follows:

===========================
Using python version: 2.7.3
===========================
checking for boostlib >= 1.38.0... yes
checking whether the Boost::Python library is available... yes
checking for exit in -llibboost_python... no
checking for exit in -llibboost_python-py2.7... no
checking for exit in -llibboost_python-2.7... no
checking for exit in -lboost_python-libboost_python... no
checking for exit in -lboost_python-libboost_python-py2.7... no
checking for exit in -lboost_python-libboost_python-2.7... no
checking for exit in -lboost_python... no
checking for exit in -lboost_python-py2.7... no
checking for exit in -lboost_python-2.7... no
checking for exit in -lboost_python-mt... no
checking for exit in -lboost_python-mt-py2.7... no
checking for exit in -lboost_python-mt-2.7... no
configure: error: No usable boost::python found


How I can make sure that boost libraries are correctly compiled?

I appreciate your help.

Arash



On Tue, Jan 29, 2013 at 6:54 PM, Dmitrijs Ledkovs <[email protected]
> wrote:

> On 29 January 2013 18:48, Arash <[email protected]> wrote:
> > Hi,
> >
> > I have a very similar situation and I have faced exactly the same error,
> but
> > the mentioned solution doesn't work for me. I have installed Python
> 2.7.3 on
>
> Have you installed Boost::Python compiled against that python?
> The configure script is complaining that it can't find Boost::Python
> library...
>
> > CentOS 6.3. I run this command:
> >
> > ./configure --enable-openmp PYTHON="/usr/local/bin/python2.7"
> > CPPFLAGS="-I/usr/local/include/python2.7"
> > LDFLAGS="-L/usr/local/lib/python2.7"
> >
> > And I receive this message:
> >
> > ===========================
> > Using python version: 2.7.3
> > ===========================
> > checking for boostlib >= 1.38.0... yes
> > checking whether the Boost::Python library is available... yes
> > checking for exit in -lboost_python... no
> > checking for exit in -lboost_python-py2.7... no
> > checking for exit in -lboost_python-2.7... no
> > checking for exit in -lboost_python... (cached) no
> > checking for exit in -lboost_python-py2.7... (cached) no
> > checking for exit in -lboost_python-2.7... (cached) no
> > checking for exit in -lboost_python-mt... no
> > checking for exit in -lboost_python-mt-py2.7... no
> > checking for exit in -lboost_python-mt-2.7... no
> > configure: error: No usable boost::python found
> >
> > I appreciate your help.
> >
> > Best,
> > Arash
> >
> >
> >
> > --
> > View this message in context:
> http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/Problem-with-configure-and-Boost-Python-tp4024944p4024947.html
> > Sent from the Main discussion list for the graph-tool project mailing
> list archive at Nabble.com.
> > _______________________________________________
> > graph-tool mailing list
> > [email protected]
> > http://lists.skewed.de/mailman/listinfo/graph-tool
> _______________________________________________
> graph-tool mailing list
> [email protected]
> http://lists.skewed.de/mailman/listinfo/graph-tool
>
_______________________________________________
graph-tool mailing list
[email protected]
http://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to