Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Nov 2001 01:41:08 -0700
From:      "Charles Burns" <burnscharlesn@hotmail.com>
To:        questions@freebsd.org
Subject:   Cannot compile KDE from ports
Message-ID:  <F18Eol0SyhcL9vtidLx0000777b@hotmail.com>

next in thread | raw e-mail | index | archive | help
Just wondering if anyone knows this one off the top of their head...
I compiled XFree 4.2 and Gnome perfectly, KDE spits out this error:


In file included from /usr/local/include/libxml2/libxml/parser.h:576cc 
-DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -I/usr/local/include/libxml2/libxml 
-I/usr/local/include/libxml2 -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 -D_THREAD_SAFE -I/usr/local/include -O0 -O -pipe -c 
transform.c  -fPIC -DPIC -o .libs/transform.o
,
                 from /usr/local/include/libxml2/libxml/xmlerror.h:4,
                 from templates.c:18:
/usr/local/include/libxml2/libxml/globals.h:70: syntax error before 
`xmlGenericErrorFunc'
/usr/local/include/libxml2/libxml/globals.h:217: syntax error before 
`xmlGenericError'
/usr/local/include/libxml2/libxml/globals.h:217: warning: data definition 
has no type or storage class
gmake[3]: *** [templates.lo] Error 1
gmake[3]: *** Waiting for unfinished jobs....
transform.c: In function `xsltRegisterAllElement':
transform.c:3371: warning: passing arg 4 of `xsltRegisterExtElement' from 
incompatible pointer type
gmake[3]: Leaving directory 
`/usr/ports/x11/kdelibs2/work/kdelibs-2.2.1/kdoctools/libxslt'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
`/usr/ports/x11/kdelibs2/work/kdelibs-2.2.1/kdoctools'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11/kdelibs2/work/kdelibs-2.2.1'
gmake: *** [all-recursive-am] Error 2
*** Error code 2
1 error
(it repeats these last 2 lines about 10 times)


I took a look at one of the C files that it is complaining about and nothing 
was obviously wrong, but I couldn't really find out without following a 
bunch of extern functions (...and I probably still wouldn't know, not very 
good at C).
No big emergency, I like Gnome better anyway. KDE just has some nice tools 
like Koffice.


Charles Burns

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F18Eol0SyhcL9vtidLx0000777b>