The build is explicitly  configured NOT to use the included boost 
library.  That's why I showed all of that output below, which starts with

 >> configure:7338: checking whether to use included boost library
 >> configure:7356: result: no

How about looking a little further down, like what I posted?  The first 
test:

configure:7379: g++ -o conftest -O2 -I/usr/X11/include -I/sw/include 
-Wl,-framework,AppKit -Wl,-framework,Carbon -Wl,-framework,OpenGL 
-Wl,-framework,AGL -L/usr/X11/lib -lX11 -L/sw/lib conftest.cpp 
-lboost_signals -lm >&5

will probably fail with

ld: library not found for -lboost_signals

and you'll see all of the #define lines.  Then the second test:

configure:7396: g++ -o conftest -O2 -I/usr/X11/include -I/sw/include 
-Wl,-framework,AppKit -Wl,-framework,Carbon -Wl,-framework,OpenGL 
-Wl,-framework,AGL -L/usr/X11/lib -lX11 -L/sw/lib conftest.cpp 
-lboost_signals-mt -lm  >&5

which succeeded for me will fail for you.  That's the failure message 
I'm looking for.


On 6/24/13 3:00 PM, Richard Miles wrote:
> checking whether to use included boost library
> configure:7356: result: no
>
> On Jun 24, 2013, at 2:38 PM, Alexander Hansen wrote:
>
>> On 6/24/13 12:39 PM, Richard Miles wrote:
>>> lrwxr-xr-x  1 root  admin   18 Jun 24 10:04 /sw/include/boost -> 
>>> boost-1_46_1/boost
>>> drwxr-xr-x  3 root  admin  102 Jun 15 10:55 /sw/include/boost-1_46_1
>>
>> So far, so good, then.
>>
>> How about "ls /sw/include/boost-1_46_1/boost" ?
>>
>> And check /sw/src/fink.build/lyx2-x11-2.0.6-42/lyx-2.0.6/config.log . Search 
>> for "checking whether to use included boost library"
>>
>> My output from building lyx2-x11 at that point looks like:
>>
>> ...
>> configure:7338: checking whether to use included boost library
>> configure:7356: result: no
>> configure:7379: g++ -o conftest -O2 -I/usr/X11/include -I/sw/include 
>> -Wl,-framew
>> ork,AppKit -Wl,-framework,Carbon -Wl,-framework,OpenGL -Wl,-framework,AGL 
>> -L/usr
>> /X11/lib -lX11 -L/sw/lib conftest.cpp  -lboost_signals -lm >&5
>> ld: library not found for -lboost_signals
>> clang: error: linker command failed with exit code 1 (use -v to see 
>> invocation)
>> configure:7379: $? = 1
>> configure: failed program was:
>> | /* confdefs.h */
>> | #define PACKAGE_NAME "LyX"
>> | #define PACKAGE_TARNAME "lyx"
>> | #define PACKAGE_VERSION "2.0.6"
>> | #define PACKAGE_STRING "LyX 2.0.6"
>> | #define PACKAGE_BUGREPORT "[email protected]"
>> | #define PACKAGE_URL ""
>> | #define USE_POSIX_PACKAGING 1
>> | #define PACKAGE "lyx"
>> | #define STDC_HEADERS 1
>> | #define HAVE_SYS_TYPES_H 1
>> | #define HAVE_SYS_STAT_H 1
>> | #define HAVE_STDLIB_H 1
>> | #define HAVE_STRING_H 1
>> | #define HAVE_MEMORY_H 1
>> | #define HAVE_STRINGS_H 1
>> | #define HAVE_INTTYPES_H 1
>> | #define HAVE_STDINT_H 1
>> | #define HAVE_UNISTD_H 1
>> | /* end confdefs.h.  */
>> | #include <boost/signal.hpp>
>> | int
>> | main ()
>> | {
>> | boost::signal<void ()> s;
>> |   ;
>> |   return 0;
>> | }
>> configure:7396: g++ -o conftest -O2 -I/usr/X11/include -I/sw/include 
>> -Wl,-framework,AppKit -Wl,-framework,Carbon -Wl,-framework,OpenGL 
>> -Wl,-framework,AGL -L/usr/X11/lib -lX11 -L/sw/lib conftest.cpp 
>> -lboost_signals-mt -lm  >&5
>> configure:7396: $? = 0
>> ...
>>
>>
>>

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to