Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Mar 2002 21:47:20 +0100 (MET)
From:      Thomas Schuerger <schuerge@wjpserver.CS.Uni-SB.DE>
To:        Kent Stewart <kstewart@owt.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Problem with port editors/koffice (libz)
Message-ID:  <200203052047.g25KlKb13273@wjpserver.cs.uni-sb.de>
In-Reply-To: <3C852249.2000400@owt.com> from Kent Stewart at "Mar 5, 2002 11:53:45 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> > Hi!
> > 
> > I tried to compile the port editors/koffice and I get the following
> > error messages (4.5-RELEASE):
> > 
> > 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(...)'
> > ----------------
> > 
> > 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.

You were right. I had a very old version of the files zlib.h and
zconf.h in /usr/local/include (zlib 1.0.4). The current header files
for the library were in /usr/include, but editors/koffice puts
/usr/local/include in the include path first.  I removed both ancient
files from /usr/local/include and it worked. :) Thanks!


Greetings,
Thomas.

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?200203052047.g25KlKb13273>