[ptx] error compiling hugin on x86_64 (fedora fc4)
Michael Galloway
mgx at ornl.gov
Fri Feb 10 00:14:37 GMT 2006
yes, i seem to have a similar problem. suse 9.3 x86_64. i have this:
lance:/tmp/hugin # ldconfig -p | grep thread
....
libboost_thread-gcc-mt-1_33.so.1.33.0 (libc6,x86-64) => /usr/lib64/libboost_thread-gcc-mt-1_33.so.1.33.0
libboost_thread-gcc-mt-1_33.so (libc6,x86-64) => /usr/lib64/libboost_thread-gcc-mt-1_33.so
and i get this error with ./configure
checking for boost... yes
checking boost/thread/thread.hpp usability... no
checking boost/thread/thread.hpp presence... no
checking for boost/thread/thread.hpp... no
checking for boost thread library... no
checking for boost_thread library variant presence... no
configure: error:
the boost thread library must be installed on your system
but configure could not find it. Use --with-boost to
specify the location of the boost library and
--with-boost-version to specify your version
-- michael
On Fri, Feb 10, 2006 at 12:39:59AM +0100, Pablo d'Angelo wrote:
> Hi Bruno,
>
> Bruno Postle schrieb:
> > I'm trying to build hugin on x86_64. Everything compiles, but I get
> > this error at the linking stage:
> >
> > ../../src/include/vigra_ext/ImageTransforms.h:523: undefined reference
> > to `boost::thread_group::thread_group()'
> >
> > ..any ideas? The boost headers are in place, in particular this file is
> > fine:
> >
> > /usr/include/boost/thread/thread.hpp
>
> Post 0.5 sources depend on the boost-thread library, which is a real
> library, not just a collection of headers. The configure script should
> (hopefully) check for the boost thread library. (I've modified the M4 macro
> of doug, but maybe I have done something wrong..)
>
> Have you done a ./bootstrap since hugin 0.5?
>
> The configure script should report something like:
>
> [...]
> checking for boost... yes
> checking boost/thread/thread.hpp usability... yes
> checking boost/thread/thread.hpp presence... yes
> checking for boost/thread/thread.hpp... yes
> checking for boost thread library... yes
> checking for boost_thread library variant presence...
> /usr/lib/libboost_thread.so
> [...]
> BOOST_VERSION = 1.31
> BOOST_CFLAGS =
> BOOST_LIBS =
> BOOST_THREAD_LIB = -lboost_thread
>
>
> The reported boost version is not correct, there seems to be some problems
> with the configure script in that area, but it doesn't affect the build.
>
> ciao
> Pablo
>
More information about the ptx
mailing list