cd /usr/ports/deskutils/kdepim make build configure:8654: checking for getdomainname configure:8690: c++ -c -O2 -O -pipe -march=pentiumpro -fno-exceptions -fno-check-new -pedantic-errors -I/usr/include -D_GETOPT_H -D_PTH_H_ -D_PTH_PTHREAD_H_ -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include/qt2 conftest.C 1>&5 configure:8715: checking if getdomainname needs custom prototype configure:8795: checking for gethostname configure:8829: rm -rf SunWS_cache; c++ -o conftest -O2 -O -pipe -march=pentiumpro -fno-exceptions -fno-check-new -pedantic-errors -I/usr/include -D_GETOPT_H -D_PTH_H_ -D_PTH_PTHREAD_H_ -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include/qt2 conftest.C 1>&5 configure:8853: checking if gethostname needs custom prototype configure:8928: checking for usleep configure:8999: checking for pilot-link headers configure:9005: checking for pi-file.h configure:9015: cc -E -I/usr/include -D_GETOPT_H -D_PTH_H_ -D_PTH_PTHREAD_H_ -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include/qt2 conftest.c >/dev/null 2>conftest.out configure:9058: checking for pi_accept in -lpisock configure:9077: cc -o conftest -O2 -O -pipe -march=pentiumpro -I/usr/include -D_GETOPT_H -D_PTH_H_ -D_PTH_PTHREAD_H_ -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include/qt2 conftest.c -lpisock 1>&5 /usr/libexec/elf/ld: cannot find -lpisock configure: failed program was: #line 9066 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char pi_accept(); int main() { pi_accept() ; return 0; } configure:9058: checking for pi_accept in -lsocket configure:9077: cc -o conftest -O2 -O -pipe -march=pentiumpro -I/usr/include -D_GETOPT_H -D_PTH_H_ -D_PTH_PTHREAD_H_ -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include/qt2 conftest.c -lsocket 1>&5 /usr/libexec/elf/ld: cannot find -lsocket configure: failed program was: #line 9066 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char pi_accept(); int main() { pi_accept() ; return 0; } configure:9058: checking for pi_accept in -lxnet configure:9077: cc -o conftest -O2 -O -pipe -march=pentiumpro -I/usr/include -D_GETOPT_H -D_PTH_H_ -D_PTH_PTHREAD_H_ -I/usr/local/include -I/usr/local/includ e -I/usr/X11R6/include/qt2 conftest.c -lxnet 1>&5 /usr/libexec/elf/ld: cannot find -lxnet configure: failed program was: #line 9066 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char pi_accept(); int main() { pi_accept() ; return 0; } configure:9058: checking for pi_accept in -lsocket -lxnet (end of "config.log") *** Error code 1 Stop in /usr/ports/deskutils/kdepim. *** Error code 1 Stop in /usr/ports/deskutils/kdepim. *** Error code 1 Stop in /usr/ports/deskutils/kdepim. *** Error code 1 Stop in /usr/ports/deskutils/kdepim. It seems like it's cannot find the pilot-link headers and libs. I have pilot-link installed in /usr/local.
Responsible Changed From-To: freebsd-ports->kde Over to MAINTAINER. Note: I can't reproduce this problem on my -STABLE machine.
Hi, This problem occurs if you've got pilot header directories are included in your build environments CFLAGS/LDFLAGS. The configure script's check for pi_accept in it's attempt to build kpilot is not very robust. There's an early attempt to fix this by building kpilot at: http://www.FreeBSD.org/cgi/query-pr.cgi?pr=31024 Cheers -- Jonathan Chen <jonathan.chen@itouch.co.nz> ---------------------------------------------------------------------- "Only the meek get pinched. The bold survive." - Ferris Bueller
State Changed From-To: open->closed Deinstall pilot-related packages. I can't reproduce your error on my 4.4 box without pisock libs/headers.