From owner-freebsd-questions Sat Nov 24 19:38:32 2001 Delivered-To: freebsd-questions@freebsd.org Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by hub.freebsd.org (Postfix) with ESMTP id D9D6E37B416 for ; Sat, 24 Nov 2001 19:38:28 -0800 (PST) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id TAA07506; Sat, 24 Nov 2001 19:38:26 -0800 Message-ID: <3C0067B3.5090208@owt.com> Date: Sat, 24 Nov 2001 19:38:27 -0800 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: Chris Thomas Cc: freebsd-questions@FreeBSD.ORG Subject: Re: problem compiling kdebase2 from ports References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Chris Thomas wrote: > i just finished upgrading to 4.4-STABLE and cvsupped the latest ports, and > was on my way to good times when i ran into some problems compiling > /usr/ports/x11/kdebase2 > > i'm attaching a script output file because it's a little too long to paste > into the body of the message, though the main errors are as follows: > > cc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. > -I/usr/local/include/libxml2/libxml -I/us > r/local/include/libxml2 -I/usr/include -D_GETOPT_H -D_PTH_H_ > -D_PTH_PTHREAD_H_ -I/u > sr/local/include -I/usr/local/include -I/usr/X11R6/include/qt2 > -D_THREAD_SAFE -I/us > r/local/include -O0 -O -pipe -c templates.c -fPIC -DPIC -o > .libs/templates.o > 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 > `xmlGenericErro > rFunc' > /usr/local/include/libxml2/libxml/globals.h:217: syntax error before > `xmlGenericErr > or' > /usr/local/include/libxml2/libxml/globals.h:217: warning: data definition > has no ty > pe or storage class > gmake[3]: *** [templates.lo] Error 1 > > from this point it totally flunks out.. > > i'm not a coder, so i probably can't fix this, but kde was also being > installed totally from virgin ports, so i'm not sure how i could've messed > things up... you guys will probably need more info, and your wish is my > command. If you had searched the archives like you were supposed to, this would have popped up numerous times. The kde@freebsd.org people were talking about releasing 2.2.2 this weekend. If you want to fix the kdelibs error, you have to move the parser.h include in /usr/local/include/libxml2/libxml/xmlerror.h to just above the ifndef. You can then build kdelibs-2.2.1. You might think about waiting for 2.2.2 to be released. I don't know who long a kde build takes on your system, but the 3 hours it takes on my systems is long enough to make me wait for the next version. Kent > -- Kent Stewart Richland, WA mailto:kbstew99@hotmail.com http://users.owt.com/kstewart/index.html FreeBSD News http://daily.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message