GPGME fails to build under fresh 6.0 install

Michael Lieske micahjon at ywave.com
Thu Dec 22 09:30:26 PST 2005


I'm doing a fresh install of FreeBSD 6.0 on my desktop system.  While
installing KDE from ports, the gpgme build crashed with the error quoted
below.  Google turns up little other than "try WITH_PTH and WITHOUT_PTH",
neither of which makes any difference (I used make -DWITH_PTH build and
make -DWITHOUT_PTH build).

Since pointyhat indicates gpgme builds just fine, and it built just fine
on the same machine under 5.4, I'm wondering if there's a dependency
borked or a misconfiguration somewhere.  Any clues on how to get it
working?

Thanks,
Micah


*** Error Excerpt ***
cc -O2 -fno-strict-aliasing -pipe -O2 -pipe -march=athlon -Wall
-Wcast-align -Wshadow -Wstrict-prototypes -o .libs/t-keylist-sig
t-keylist-sig.o  ../../gpgme/.libs/libgpgme.so -L/usr/local/lib
/usr/local/lib/libgpg-error.so -lintl -Wl,--rpath -Wl,/usr/local/lib
.../../gpgme/.libs/libgpgme.so: warning: warning: tmpnam() possibly used
unsafely; consider using mkstemp()
creating t-keylist-sig
if cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gpgme -I/usr/local/include  
-O2 -fno-strict-aliasing -pipe -O2 -pipe -march=athlon -Wall -Wcast-align
-Wshadow -Wstrict-prototypes -MT t-thread1.o -MD -MP -MF
".deps/t-thread1.Tpo" -c -o t-thread1.o t-thread1.c; \
then mv -f ".deps/t-thread1.Tpo" ".deps/t-thread1.Po"; else rm -f
".deps/t-thread1.Tpo"; exit 1; fi
/bin/sh /usr/local/bin/libtool15 --tag=CC --mode=link cc  -O2
-fno-strict-aliasing -pipe -O2 -pipe -march=athlon -Wall -Wcast-align
-Wshadow -Wstrict-prototypes   -o t-thread1 -L/usr/local/lib/pth
t-thread1.o ../../gpgme/libgpgme-pthread.la
cc -O2 -fno-strict-aliasing -pipe -O2 -pipe -march=athlon -Wall
-Wcast-align -Wshadow -Wstrict-prototypes -o .libs/t-thread1 t-thread1.o 
-L/usr/local/lib/pth ../../gpgme/.libs/libgpgme-pthread.so
-L/usr/local/lib /usr/local/lib/libgpg-error.so -lintl -Wl,--rpath
-Wl,/usr/local/lib
.../../gpgme/.libs/libgpgme-pthread.so: warning: warning: tmpnam() possibly
used unsafely; consider using mkstemp()
t-thread1.o(.text+0x847): In function `main':
: undefined reference to `pthread_create'
t-thread1.o(.text+0x86a): In function `main':
: undefined reference to `pthread_create'
t-thread1.o(.text+0x87d): In function `main':
: undefined reference to `pthread_join'
t-thread1.o(.text+0x890): In function `main':
: undefined reference to `pthread_join'
gmake[3]: *** [t-thread1] Error 1
gmake[3]: Leaving directory
`/usr/ports/security/gpgme/work/gpgme-1.0.3/tests/gpg'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/ports/security/gpgme/work/gpgme-1.0.3/tests'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/security/gpgme/work/gpgme-1.0.3'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/security/gpgme.





More information about the freebsd-questions mailing list