POV-Ray : Newsgroups : povray.unix : How to build boost to compile POVRay beta 32 : Re: How to build boost to compile POVRay beta 32 Server Time
15 May 2024 16:49:03 EDT (-0400)
  Re: How to build boost to compile POVRay beta 32  
From: djconnel
Date: 13 May 2009 19:35:01
Message: <web.4a0b58897815111151fb9e60@news.povray.org>
You need to correctly specify the boost library name

For example, I ran:

../configure --with-boost-thread=boost_thread-mt COMPILED_BY="ddd### [at] ddddddd"
--prefix=/usr/local

By the way, I also edited configure along the way to avoid searching for the
doubled-up library name, but this shouldn't make a difference:

% diff -up configure.orig configure
--- configure.orig 2009-04-06 05:44:14.000000000 -0700
+++ configure 2009-05-13 16:24:51.000000000 -0700
@@ -7973,8 +7973,9 @@ fi
                 fi

             else
-               for ax_lib in $ax_boost_user_thread_lib
boost_thread-$ax_boost_user_thread_lib; do
-          as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
+#               for ax_lib in $ax_boost_user_thread_lib
boost_thread-$ax_boost_user_thread_lib; do
+ax_lib=$ax_boost_user_thread_lib
+as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
 { $as_echo "$as_me:$LINENO: checking for exit in -l$ax_lib" >&5
 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
@@ -8050,8 +8051,6 @@ else
   link_thread="no"
 fi

-                  done
-
             fi
    if test "x$link_thread" = "xno"; then
     { { $as_echo "$as_me:$LINENO: error: Could not link against $ax_lib !" >&5


Dan

"Wise" <wis### [at] intelcom> wrote:
> Thank you very much,
> I can go ahead one step now. :)
> But still have some issues.
>
> I followed your suggestion and re-install boost 1.38 version. and then turn to
> povray folder and type below command:
> ../configure COMPILED_BY="me"
> --prefix=/home/spd/wchen18/povray/povray-3.7.0.beta.32
> --with-boost=/home/spd/wchen18/povray/libs/bin
>
> and I got the below information and stop config,
>
> Libraries
> ---------
> checking whether to link with cygwin DLL... no
> checking whether to enable static linking... no
> checking for the pthreads library -lpthreads... no
> checking whether pthreads work without any flags... no
> checking whether pthreads work with -Kthread... no
> checking whether pthreads work with -kthread... no
> checking for the pthreads library -llthread... no
> checking whether pthreads work with -pthread... yes
> checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
> checking if more special flags are required for pthreads... no
> checking whether to build the boost thread library from sources... no
> checking for boostlib >= 1.35... yes
> checking whether the Boost::Thread library is available... yes
> checking for exit in -lboost_thread... no
> checking for exit in -lboost_thread-boost_thread... no
> configure: error: Could not link against boost_thread-boost_thread !
>
>
> Any suggestion on 'boost_thread-boost-thread'?
>
> Thanks again!
> Wise


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.