Re: PyIlmBase: v2.1.0 not find boost::python

Piotr Stanczyk <[email protected]>
Newsgroups gmane.comp.video.openexr.devel
Message-ID <CALVgk2r=uHHGWc4cMzLSRNJj+pjsjHDtZ45gUvNuFMTLUc5LsQ@mail.gmail.com>
Hi, I don't have access to a linux machine right now, but I think you need
to explicitly pass the location of boost libs and include paths. configure
--help should show that, no?

thanks

Piotr



On 20 February 2014 13:13, Rusmir Dusko <[email protected]> wrote:

> Hello
>
> I'm tring to port PyIlmBase: v2.1.0 into FreeBSD
>
> Here is installed
>
> OpenEXR-2.1.0_1                High dynamic-range (HDR) image file format
> ilmbase-2.1.0                  ILM Base libraries a.k.a. Half, IlmThread,
> Imath, and Iex
> ampasCTL-1.5_2                 Color Transformation Language interpreter
> ampasACES-container-1.0.0      ACES Container Reference Implementation
> boost-all-1.55.0               The "meta-port" for boost libraries
> boost-docs-1.55.0              Documentation for libraries from boost.org
> boost-jam-1.55.0               Build tool from the boost.org
> boost-libs-1.55.0              Free portable C++ libraries (without
> Boost.Python)
> boost-python-libs-1.55.0       Framework for interfacing Python and C++
>
> In boost-libs are installed
>
> boost-python-libs-1.55.0:
>         /usr/local/lib/libboost_python.a
>         /usr/local/lib/libboost_python.so
>         /usr/local/lib/libboost_python.so.1.55.0
>         /usr/local/lib/libboost_python.so.5
>
>
> I use in Makefile
>
> CONFIGURE_ARGS= --disable-boostpythontest
>
> and I get this message:
>
> checking for pkg-config... /usr/local/bin/pkg-config
> using pkg-config to set ILMBASE_CXXFLAGS and ILMBASE_LDFLAGS:
>     ILMBASE_CXXFLAGS = -D_THREAD_SAFE  -I/usr/local/include/OpenEXR
>     ILMBASE_LDFLAGS = -L/usr/local/lib
>     ILMBASE_LIBS = -L/usr/local/lib -lImath -lHalf -lIex -lIexMath
> -lIlmThread -pthread
> checking for IlmBase... yes
> Compiled and ran IlmBase test program.
> checking for python... /usr/local/bin/python
> checking for python version... 2.7
> checking for python platform... freebsd9
> checking for python script directory...
> ${prefix}/lib/python2.7/site-packages
> checking for python extension module directory...
> ${exec_prefix}/lib/python2.7/site-packages
> checking for boost::python... no
> *** Could not run the boost::python test program, checking why...
> *** The test program could not be compiled.  Is boost::python installed?
> *** Check that the cflags (below) includes the boost::python include
> directory
> ***
> *** Flags used by the test:
> ***     cflags: -O2 -pipe -fno-strict-aliasing
>  -I/usr/local/include/python2.7 -O2 -pipe -fno-strict-aliasing
>  -I/usr/local/include/python2.7
> ***     ldflags:  -L/usr/local/lib    -L/usr/local/lib  -L/usr/local/lib
>  -L/usr/local/lib
> ***
> *** You can also run configure with --disable-boostpythontest to skip this
> test.
> configure: error: Could not compile boost::python test program.
> ===>  Script "configure" failed unexpectedly.
> Please report the problem to [email protected] [maintainer] and attach
> the
>
> "/usr/local/ports/local/In-Review/graphics/pyilmbase/work/pyilmbase-2.1.0/config.log"
> including the output of the failure of your make command. Also, it might be
> a good idea to provide an overview of all packages installed on your system
> (e.g. a /usr/local/sbin/pkg-static info -g -Ea).
> *** [do-configure] Error code 1
>
> Stop in /usr/local/ports/local/In-Review/graphics/pyilmbase.
> *** [stage] Error code 1
>
> Stop in /usr/local/ports/local/In-Review/graphics/pyilmbase.
>
> --
> Best regards,
> Rusmir Dusko
>
> _______________________________________________
> Openexr-devel mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/openexr-devel
>

_______________________________________________
Openexr-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/openexr-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.