You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Tuesday, October 2nd 2007, 9:13am

KDE fails to build

Hi!!

Yesterday I tried to install KDE from ports and after few hours i got this :

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
if /bin/sh /usr/local/bin/libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../dcop -I../../../kdecore -I../../../kio/kssl -I../../../kjs -I../../.. -I../../../kio -I../../../kfile -I../../../dcop -I../../../libltdl -I../../../kdefx -I../../../kdecore -I../../../kdecore -I../../../kdecore/network -I../../../kdeui -I../../../kio -I../../../kio/kio -I../../../kio/kfile -I../../..  -I/usr/local/include -I/usr/local/include -I/usr/local/include  -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT   -I/usr/local/include -I/usr/local/include  -I/usr/local/include -D_GETOPT_H -D_THREAD_SAFE   -DNDEBUG -O2  -O2 -fno-strict-aliasing -pipe -march=prescott -MT cups-util.lo -MD -MP -MF ".deps/cups-util.Tpo" -c -o cups-util.lo cups-util.c; \
        then mv -f ".deps/cups-util.Tpo" ".deps/cups-util.Plo"; else rm -f ".deps/cups-util.Tpo"; exit 1; fi
cups-util.c: In function 'cupsGetConf':
cups-util.c:111: error: dereferencing pointer to incomplete type
cups-util.c:119: error: dereferencing pointer to incomplete type
cups-util.c:138: error: dereferencing pointer to incomplete type
cups-util.c:213: warning: 'httpRead' is deprecated (declared at /usr/local/include/cups/http.h:361)
cups-util.c: In function 'cupsPutConf':
cups-util.c:308: warning: 'httpWrite' is deprecated (declared at /usr/local/include/cups/http.h:371)
cups-util.c:312: warning: 'httpWrite' is deprecated (declared at /usr/local/include/cups/http.h:371)
cups-util.c:337: error: dereferencing pointer to incomplete type
cups-util.c:345: error: dereferencing pointer to incomplete type
cups-util.c:364: error: dereferencing pointer to incomplete type
cups-util.c: In function 'cups_local_auth':
cups-util.c:454: warning: passing argument 1 of 'httpAddrLocalhost' from incompatible pointer type
gmake[4]: *** [cups-util.lo] Error 1
gmake[4]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.7/kdeprint/cups/cupsdconf2'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.7/kdeprint/cups'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.7/kdeprint'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.7'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/x11/kdelibs3. 


Now Im pretty new to unix systems (using FreeBSD 6.2 Stable) and I have no ide what to do with that.. Can anyone help ?

2

Tuesday, October 2nd 2007, 7:01pm

RE: KDE fails to build

Ok, thats the solution:

Source code

1
# make clean WITHOUT_CUPS=yeah install clean

Enjoy!