Subject: Re: Building NTOP 3.1 fails
To: Gilles Gravier <Gilles@gravier.org>
From: Chavdar Ivanov <ci4ic4@gmail.com>
List: netbsd-users
Date: 10/11/2005 14:21:31
I got the same, made libz.la manually - copied one of the existing .la
files (libpng.la), edited it with the obvious values and then created
the four necessary links to the libraries in /usr/lib. It is currently
compiling. I have no idea why this was in the first place.

2005/10/11, Gilles Gravier <Gilles@gravier.org>:
> Hi!
>
> Just tried to compile ntop 3.1... and it fails with the following errors =
:
>
>  cc -DHAVE_CONFIG_H -I. -I..
> -I/usr/pkgsrc/net/ntop/work/.buildlink/include
> -I/usr/pkgsrc/net/ntop/work/.buildlink/include/freetype2 -DNETBSD -g -O2
> -g -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations
> -Wnested-externs -fPIC -MT dummy.lo -MD -MP -MF .deps/dummy.Tpo -c
> dummy.c -o dummy.o >/dev/null 2>&1 /bin/sh ../libtool --mode=3Dlink cc  -=
g
> -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include
> -I/usr/local/include -g -Wshadow -Wpointer-arith -Wmissing-prototypes
> -Wmissing-declarations -Wnested-externs  -fPIC  -L/usr/pkg/lib
> -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/local/lib
> -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/lib
> -L/usr/lib -o libmyrrd.la -rpath /usr/pkg/lib -shared -release  3.1
> gdlucidab10.lo gdlucidab12l2.lo gdlucidan10.lo gdlucidan12.lo gdpng.lo
> parsetime.lo rrd_create.lo rrd_fetch.lo rrd_open.lo gdlucidab12.lo
> gdlucidab14.lo gdlucidan10l2.lo gdlucidan14.lo gifsize.lo pngsize.lo
> rrd_error.lo rrd_graph.lo rrd_update.lo rrd_format.lo rrd_last.lo
> rrd_diff.lo dummy.lo  -lgdome -lxml2 -lpthread -lresolv -lc -lssl
> -lcrypto -lpcap -lgdbm -lgd -lpng -lz
> grep: /usr/pkgsrc/net/ntop/work/.buildlink/lib/libz.la: No such file or
> directory
> sed: /usr/pkgsrc/net/ntop/work/.buildlink/lib/libz.la: No such file or
> directory
> libtool: link: `/usr/pkgsrc/net/ntop/work/.buildlink/lib/libz.la' is not
> a valid libtool archive
> gmake[3]: *** [libmyrrd.la] Error 1
> gmake[3]: Leaving directory `/usr/pkgsrc/net/ntop/work/ntop/myrrd'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory `/usr/pkgsrc/net/ntop/work/ntop/myrrd'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/pkgsrc/net/ntop/work/ntop'
> gmake: *** [all] Error 2
> *** Error code 2
> Stop.
> make: stopped in /usr/pkgsrc/net/ntop
>
>
> Any idea?
>
> Gilles.
> --
> /*Gilles Gravier*/ *=3D* *Gilles@Gravier.org* <mailto:Gilles@Gravier.org>
> *=3D* *http://www.gravier.org/*
> ICQ : *77488526*
> <http://www.icq.com/whitepages/about_me.php?Uin=3D77488526> * || *MSN
> Messenger : Gilles@Gravier.org <http://members.msn.com/Gilles@Gravier.org=
>*
> *Skype : ggravier <callto://ggravier>* || *Y! : ggravier
> <http://profiles.yahoo.com/ggravier> || AOL : gillesgravier
> <aim:goim?screenname=3Dgillesgravier>
> PGP Key ID : *0x8DE6D026*
> <http://pgp.mit.edu:11371/pks/lookup?search=3D0x8DE6D026&op=3Dindex>
> "Chastity is its own punishment." (/Solomon Short/) [/David Gerrold/]
> "De toutes les aberrations sexuelles, la chastet=E9 est la plus
> aberrante." [Anatole France]
>
>
>
>