Bug 30877 - unable to build kdepim-port
Summary: unable to build kdepim-port
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-09-27 20:20 UTC by esbjerg
Modified: 2001-11-13 08:48 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description esbjerg 2001-09-27 20:20:01 UTC
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.
Comment 1 Tom Hukins freebsd_committer freebsd_triage 2001-10-07 20:43:18 UTC
Responsible Changed
From-To: freebsd-ports->kde

Over to MAINTAINER.  Note: I can't reproduce this problem on my -STABLE machine.
Comment 2 jonathan.chen 2001-10-09 00:06:35 UTC
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
Comment 3 Dmitry Sivachenko freebsd_committer freebsd_triage 2001-11-13 08:46:24 UTC
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.