From owner-freebsd-questions Tue Mar 5 11:54:11 2002 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 543CF37B416 for ; Tue, 5 Mar 2002 11:53:58 -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 LAA05665; Tue, 5 Mar 2002 11:53:53 -0800 Message-ID: <3C852249.2000400@owt.com> Date: Tue, 05 Mar 2002 11:53:45 -0800 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 X-Accept-Language: en-us, es-mx MIME-Version: 1.0 To: Thomas Schuerger Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Problem with port editors/koffice (libz) References: <200203051929.g25JTMZ10811@wjpserver.cs.uni-sb.de> 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 Thomas Schuerger wrote: > Hi! > > I tried to compile the port editors/koffice and I get the following > error messages (4.5-RELEASE): > > ----------- > > /bin/sh ../../../libtool --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I. -I../../../lib/kofficeui -I../../../lib/kofficeui -I../../../lib/kofficecore -I../../../lib/kofficecore -I../../../lib/store -I../../../lib/store -I../../../lib/kwmf -I../../../lib/kwmf -I/usr/local/include -I/usr/X11R6/include/qt2 -I/usr/X11R6/include -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 -DNDEBUG -O2 -O2 -march=pentiumpro -pipe -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -c kqiodevicegzip.cc > c++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I. -I../../../lib/kofficeui -I../../../lib/kofficeui -I../../../lib/kofficecore -I../../../lib/kofficecore -I../../../lib/store -I../../../lib/store -I../../../lib/kwmf -I../.. /../lib/kwmf -I/usr/local/include -I/usr/X11R6/include/qt2 -I/usr/X11R6/include -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 -DNDEBUG -O2 -O2 -march=pentiumpro -pipe -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -Wp,-MD,.deps/kqiodevicegzip.pp -c kqiodevicegzip.cc -fPIC -DPIC -o .libs/kqiodevicegzip.o > kqiodevicegzip.cc: In method `int KQIODeviceGZip::at() const': > kqiodevicegzip.cc:93: implicit declaration of function `int gztell(...)' > kqiodevicegzip.cc: In method `bool KQIODeviceGZip::at(int)': > kqiodevicegzip.cc:100: implicit declaration of function `int gzseek(...)' > kqiodevicegzip.cc: In method `bool KQIODeviceGZip::atEnd() const': > kqiodevicegzip.cc:107: implicit declaration of function `int gzeof(...)' > kqiodevicegzip.cc: In method `bool KQIODeviceGZip::reset()': > kqiodevicegzip.cc:114: implicit declaration of function `int gzrewind(...)' > kqiodevicegzip.cc: In method `int KQIODeviceGZip::getch()': > kqiodevicegzip.cc:148: implicit declaration of function `int gzgetc(...)' > kqiodevicegzip.cc: In method `int KQIODeviceGZip::putch(int)': > kqiodevicegzip.cc:155: implicit declaration of function `int gzputc(...)' > gmake[4]: *** [kqiodevicegzip.lo] Error 1 > gmake[4]: Leaving directory `/new/data3/ports/editors/koffice/work/koffice-1.1.1/filters/kword/abiword' > gmake[3]: *** [all-recursive] Error 1 > gmake[3]: Leaving directory `/new/data3/ports/editors/koffice/work/koffice-1.1.1/filters/kword' > gmake[2]: *** [all-recursive] Error 1 > gmake[2]: Leaving directory `/new/data3/ports/editors/koffice/work/koffice-1.1.1/filters' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory `/new/data3/ports/editors/koffice/work/koffice-1.1.1' > gmake: *** [all-recursive-am] Error 2 > *** Error code 2 > > Stop in /new/data3/ports/editors/koffice. > *** Error code 1 > > Stop in /new/data3/ports/editors/koffice. > *** Error code 1 > > Stop in /new/data3/ports/editors/koffice. > Exit 1 > > ---------------- > > I also tried to reinstall /usr/src/lib/libz, but that didn't make > a difference. What am I doing wrong? What is missing on my system? Something is probably out of date, i.e., port tree or dependancy ports. I cvsuped ports-all, rebuilt the INDEXs, and then rebuilt all of kde-2.2.2 on 4 Mar and didn't have any problems building koffice. There were some dependancy ports that had been updated such as libxml2. I "pkg_delete -rf" deleted them. The -rf force removes ports that depend on them and then I rebuilt kde-2.2.2 from scratch. You only get one chance to build kde-2 right. It really doesn't allow alternatives. One thing that you are doing different is saving the ports in an alternate location. If I were to do that, I would create a /usr/ports mount point and then mount it in /etc/fstab. I don't think this has anything to do with your build problem. I do this with /usr/obj and /usr/src. It is the only way I can do fast buildworlds. Kent > > Any help is appreciated! > > > Greetings, > Thomas. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > . > > -- Kent Stewart Richland, WA mailto:kbstew99@hotmail.com http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message