touble building liferea-1.0.12

Pav Lucistnik pav at FreeBSD.org
Sat May 20 08:53:28 UTC 2006


Keith Beattie píše v so 20. 05. 2006 v 01:23 -0700:
> On 5/16/06, Pav Lucistnik <pav at freebsd.org> wrote:
> > Keith Beattie píše v út 16. 05. 2006 v 11:38 -0700:
> > > When building port liferea-1.0.12, I get:
> > >
> > > zlib_interface.c: In function `jg_gzip_uncompress':
> > > zlib_interface.c:180: error: syntax error before "xlen"
> > >
> > > line 180 is:
> > >   ssize_t xlen = (data_start[1] << 8) | data_start[0];
> > >
> > > if I change it to size_t, it builds but I'm hesitent to install it
> > > that way as on other machines the port builds and installs properly.
> > >
> > > Any thoughts on what might be wrong on this one machine?
> >
> > What system do you have? uname -a
> 
> FreeBSD nodename.clip.ped 5.4-RELEASE-p3 FreeBSD 5.4-RELEASE-p3 #4:
> Thu Jun 30 15:48:09 PDT 2005     root@:/usr/obj/usr/src/sys/MINE  i386
> 
> Same compile problem with liferea 1.0.13.
> 
> In looking at my other 5.4 p3 machine, I see that I've never installed
> the gnome2-fifth-toe port (which is brining in liferea).  Trying now,
> I see it doesn't build there either (compile issues with rdesktop,
> different error but perhaps related...)  It does build on my 6.0
> machine, though.

Try adding 

#include <sys/types.h>

somewhere in the top of zlib_interface.c

-- 
Pav Lucistnik <pav at oook.cz>
              <pav at FreeBSD.org>

It also explains why paper clips just lie there while you look at them,
but as soon as you turn your back, they run away, giggling wildly,
and transform themselves into coat hangers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Toto je =?iso-8859-2?Q?digit=E1ln=EC?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?=
	=?ISO-8859-1?Q?_zpr=E1vy?=
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060520/43c95bc3/attachment.pgp


More information about the freebsd-ports mailing list