Richard Kettlewell
Sun, 07 Mar 2010 03:20:47 -0800
On 06/03/2010 23:13, Alexander Hansen wrote: > Looks like a misbuild in libassuan, perhaps. I show it detecting pth as > "sane" on a build on my system (albeit 10.5). > > Try using "fink -kl rebuild libassuan" and then check the config.log > file in the build directory > (/sw/src/fink.build/libassuan-1.0.4-1/libassuan-1.0.4/config.log) > concerning pth. On my build that gives: > > configure:4309: checking for PTH - version>= 1.3.7 > configure:4335: result: yes > configure:4337: checking whether PTH installation is sane > configure:4371: gcc -o conftest -g -O2 -Wall -Wcast-align -Wshadow > - -Wstrict-prototypes -Wpointer-arith -I/sw/include -I/sw/include > - -L/sw/lib -L/sw/lib conftest.c -lpth -ldl>&5 > conftest.c:18: warning: function declaration isn't a prototype > configure:4377: $? = 0 > configure:4402: result: yes > > You may be finding a non-Fink pth somehow.
Here is the config.log fragment:-
configure:4337: checking whether PTH installation is sane
configure:4371: gcc -o conftest -g -O2 -Wall -Wcast-align -Wshadow
-Wstrict-prototypes -Wpointer-arith -I/sw/include -I/sw/include
-L/sw/lib -L/sw/lib conftest.c -lpth -ldl >&5
conftest.c:18: warning: function declaration isn't a prototype
ld: warning: in /sw/lib/libpth.dylib, file is not of required architecture
Undefined symbols:
"_pth_init", referenced from:
_main in ccwgRy9q.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
configure:4377: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "libassuan"
| #define PACKAGE_TARNAME "libassuan"
| #define PACKAGE_VERSION "1.0.4"
| #define PACKAGE_STRING "libassuan 1.0.4"
| #define PACKAGE_BUGREPORT "bug-libass...@gnupg.org"
| #define PACKAGE "libassuan"
| #define VERSION "1.0.4"
| #define _GNU_SOURCE 1
| #define PACKAGE "libassuan"
| #define VERSION "1.0.4"
| #define PACKAGE_BUGREPORT "bug-libass...@gnupg.org"
| /* end confdefs.h. */
| #include <pth.h>
|
| int
| main ()
| {| pth_init ();
| ;
| return 0;
| }
configure:4402: result: no
ttfn/rjk
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users