Date: Tue, 27 Nov 2001 15:41:16 -0500 From: Matt Penna <mdp1261@ritvax.isc.rit.edu> To: freebsd-questions@FreeBSD.ORG Subject: Cannot build kde2/kdelibs2 from ports Message-ID: <5.1.0.14.2.20011127152750.02604890@vmspop.isc.rit.edu>
next in thread | raw e-mail | index | archive | help
Hello folks,
I checked the archives and found a few problems similar to mine, but was
not able to find any suggested solutions.
I recently installed 4.4-Release on a clean system with the intention of
installing XFree86 4.1 and KDE2 from ports, so I did not install XFree86
3.3.6 during the install. XFree86 4 built, installed and ran just fine, but
I cannot seem to build KDE2. I keep getting errors during the build of
kdelibs2. I tried the build more than once, updated the ports collection
using cvsup, and even did a 'make distclean' on the entire ports tree, but
nothing seemed to help. I initially tried the KDE build using
WITH_MOTIF=yes, but it does not build without this option, either.
I captured the output of the build to a file, and here's where things seem
to go wrong:
----
gmake[2]: Entering directory
`/usr/ports/x11/kdelibs2/work/kdelibs-2.2.1/kdoctools'
Making all in libxslt
gmake[3]: Entering directory
`/usr/ports/x11/kdelibs2/work/kdelibs-2.2.1/kdoctools/libxslt'
/bin/sh ../../libtool --mode=compile cc -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 templates.c
cc -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 templates.c -fPIC -DPIC -o
.libs/templates.o
gmake[3]: Leaving directory
`/usr/ports/x11/kdelibs2/work/kdelibs-2.2.1/kdoctools/libxslt'
gmake[2]: Leaving directory
`/usr/ports/x11/kdelibs2/work/kdelibs-2.2.1/kdoctools'
gmake[1]: Leaving directory `/usr/ports/x11/kdelibs2/work/kdelibs-2.2.1'
*** Error code 2
Stop in /usr/ports/x11/kdelibs2.
*** Error code 1
Stop in /usr/ports/x11/kdelibs2.
*** Error code 1
Stop in /usr/ports/x11/kdelibs2.
*** Error code 1
Stop in /usr/ports/x11/kdelibs2.
*** Error code 1
Stop in /usr/ports/x11/kdebase2.
*** Error code 1
Stop in /usr/ports/x11/kdebase2.
*** Error code 1
Stop in /usr/ports/x11/kdebase2.
*** Error code 1
Stop in /usr/ports/x11/kdebase2.
*** Error code 1
Stop in /usr/ports/x11/kdebase2.
*** Error code 1
Stop in /usr/ports/x11/kdebase2.
*** Error code 1
Stop in /usr/ports/x11/kdebase2.
*** Error code 1
Stop in /usr/ports/x11/kde2.
*** Error code 1
Stop in /usr/ports/x11/kde2.
*** Error code 1
Stop in /usr/ports/x11/kde2.
*** Error code 1
Stop in /usr/ports/x11/kde2.
*** Error code 1
Stop in /usr/ports/x11/kde2.
*** Error code 1
Stop in /usr/ports/x11/kde2.
----
Also, when redirecting this output to a file, the following appears on the
console:
----
In file included from /usr/local/include/libxml2/libxml/parser.h:576,
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[2]: *** [all-recursive] Error 1
gmake[1]: *** [all-recursive] Error 1
gmake: *** [all-recursive-am] Error 2
----
Is there something broken in the kde port, or have I made a mistake
somewhere? Any suggestions would be appreciated! (This built fine for me a
few weeks ago when I was using X 3.3.6.)
Matt
--
Matt Penna mdp1261@rit.edu
ICQ: 399825 S0ba on AOLIM
"The trouble with computers, of course, is
that they're very sophisticated idiots." -Dr. Who
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?5.1.0.14.2.20011127152750.02604890>
