Date: Tue, 05 Mar 2002 11:53:45 -0800 From: Kent Stewart <kstewart@owt.com> To: Thomas Schuerger <schuerge@wjpserver.CS.Uni-SB.DE> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Problem with port editors/koffice (libz) Message-ID: <3C852249.2000400@owt.com> References: <200203051929.g25JTMZ10811@wjpserver.cs.uni-sb.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C852249.2000400>