Carlos Eduardo | 7 Sep 2006 21:11
Picon

Problems compiling hugin 0.6.1 on FreeBSD

Hi people,

I am now having some problems with boost thread lib to compile hugin. I
already have boost lib installed and have compiled hugin 0.5.4 before
(that's the actual version of the freebsd port). Now my compilation
stops on the configure. I bypassed the configure analisys (changing the
configure file) just to try to see if the compilation would go ok and it
didn't. I guess the boost is compiled ok, but don't know if there is
some special option. The boost package seams to be compiled with
threads. This is the default installation and the package gives the
message "You have built the Boost library with thread support. Don't
forget to add -pthread to your linker options when linking your code.".
Well, I guess the -pthread option is beeing used. The config.log shows
"BOOST_CPPFLAGS='-pthread -I/usr/local/include'". The configure result
is as follows. Any help is welcome.

(...)
checking if Panotools package is complete... yes
checking for boostlib >= 1.31... yes
boost found
checking whether the Boost::Thread library is available... yes
checking for main in -lboost_thread-gcc-mt-1_32... no
checking for main in -lboost_thread-gcc-mt-s-1_32... no
checking for main in -lboost_thread-gcc-1_32... no
checking for main in -lboost_thread-gcc-s-1_32... no
checking for main in -lboost_thread-mgw-mt-1_32... no
checking for main in -lboost_thread-mgw-mt-s-1_32... no
checking for main in -lboost_thread-mgw-1_32... no
checking for main in -lboost_thread-mgw-s-1_32... no
checking for main in -lboost_thread-mt-1_32... no
checking for main in -lboost_thread-mt-s-1_32... no
checking for main in -lboost_thread-1_32... no
checking for main in -lboost_thread-s-1_32... no
checking for main in -lboost_thread-gcc-mt... no
checking for main in -lboost_thread-gcc-mt-s... no
checking for main in -lboost_thread-gcc... no
checking for main in -lboost_thread-gcc-s... no
checking for main in -lboost_thread-mgw-mt... no
checking for main in -lboost_thread-mgw-mt-s... no
checking for main in -lboost_thread-mgw... no
checking for main in -lboost_thread-mgw-s... no
checking for main in -lboost_thread-mt... no
checking for main in -lboost_thread-mt-s... no
checking for main in -lboost_thread... no
checking for main in -lboost_thread-s... no
checking for main in -llibboost_thread-gcc-mt-1_32... no
checking for main in -llibboost_thread-gcc-mt-s-1_32... no
checking for main in -llibboost_thread-gcc-1_32... no
checking for main in -llibboost_thread-gcc-s-1_32... no
checking for main in -llibboost_thread-mgw-mt-1_32... no
checking for main in -llibboost_thread-mgw-mt-s-1_32... no
checking for main in -llibboost_thread-mgw-1_32... no
checking for main in -llibboost_thread-mgw-s-1_32... no
checking for main in -llibboost_thread-mt-1_32... no
checking for main in -llibboost_thread-mt-s-1_32... no
checking for main in -llibboost_thread-1_32... no
checking for main in -llibboost_thread-s-1_32... no
checking for main in -llibboost_thread-gcc-mt... no
checking for main in -llibboost_thread-gcc-mt-s... no
checking for main in -llibboost_thread-gcc... no
checking for main in -llibboost_thread-gcc-s... no
checking for main in -llibboost_thread-mgw-mt... no
checking for main in -llibboost_thread-mgw-mt-s... no
checking for main in -llibboost_thread-mgw... no
checking for main in -llibboost_thread-mgw-s... no
checking for main in -llibboost_thread-mt... no
checking for main in -llibboost_thread-mt-s... no
checking for main in -llibboost_thread... no
checking for main in -llibboost_thread-s... no
configure: Could not link against libboost_thread-s !
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.
        On debian based systems, install libboost-thread-dev

===>  Script "configure" failed unexpectedly.
Please report the problem to cartola@... [maintainer] and
attach
the
"/sata/ports-mais-novos/graphics/hugin-0.6.1/work/hugin-0.6.1/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. an `ls /var/db/pkg`).
*** Error code 1

Stop in /sata/ports-mais-novos/graphics/hugin-0.6.1.

Carlos E. G. Carvalho           OpenIT Solucoes Tecnologicas
Consultor Unix/Internet         Tel. +55 21 2517-6000
http://www.OpenIT.com.br
http://www.MyFreeBSD.com.br

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

Gmane