i'm working on a port for openbsd: as ntop required libtool >=1.4, i update libtool port to 1.5.2 (was 1.3.x) and submitted to maintainer. but i encounter some problems. until now, i was using a home-made script to build ntop cvs/release with a local temp libtool 1.4.2, for now my port failed in building on this:

cd . &&  /bin/sh ./missing --run echo --gnu  Makefile
--gnu Makefile
source='address.c' object='address.lo' libtool=yes \
depfile='.deps/address.Plo' tmpdepfile='.deps/address.TPlo' \
depmode=gcc3 /bin/sh ./depcomp \
/usr/local/bin/libtool  --mode=compile /usr/local/bin/egcc
-DHAVE_CONFIG_H -I. -I. -I.  -I. -I/usr/local/include/libpng
-I/export/tmp/ports-obj/ntop-3.0pre1/ntop-3.0pre1/myrrd  -DOPENBSD
-I/usr/local/include -I/usr/local/include/libpng
-I/export/tmp/ports-obj/ntop-3.0pre1/ntop-3.0pre1/myrrd -g -O2
-I/usr/local/include -g -Wshadow -Wpointer-arith -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs  -fPIC -g -O2
-I/usr/local/include -g -Wshadow -Wpointer-arith -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs  -fPIC -c -o address.lo `test -f
'address.c' || echo './'`address.c
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
*** Error code 1

Stop in /export/tmp/ports-obj/ntop-3.0pre1/ntop-3.0pre1.
*** Error code 1

Stop in /export/tmp/ports-obj/ntop-3.0pre1/ntop-3.0pre1 (line 814 of
Makefile).
*** Error code 1

Stop in /export/tmp/ports-obj/ntop-3.0pre1/ntop-3.0pre1 (line 366 of
Makefile).
*** Error code 1

Stop in /export/tmp/ntop-port (line 1671 of
/usr/ports/infrastructure/mk/bsd.port.mk).
# libtool --version
ltmain.sh (GNU libtool) 1.5.2 (1.1220.2.60 2004/01/25 12:25:08)


when i check this point with my script (which build fine):


source='address.c' object='address.lo' libtool=yes \
depfile='.deps/address.Plo' tmpdepfile='.deps/address.TPlo' \
depmode=gcc3 /bin/sh ./depcomp \
/bin/sh ./libtool --mode=compile /usr/local/bin/egcc -DHAVE_CONFIG_H -I.
-I. -I. -I. -I/usr/local/include -I/usr/local/include/libpng
-I/export/tmp/ntop/ntop-3.0pre1/myrrd   -DOPENBSD -I/usr/local/include
-I/usr/local/include -I/usr/local/include/libpng
-I/export/tmp/ntop/ntop-3.0pre1/myrrd -g -I/usr/include/glib-1.2
-I/usr/local/include -g -Wshadow -Wpointer-arith -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs  -fPIC -g
-I/usr/include/glib-1.2  -I/usr/local/include -g -Wshadow
-Wpointer-arith -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs  -fPIC -c -o address.lo `test -f 'address.c' || echo
'./'`address.c

=> ./libtool instead of /usr/local/bin/libtool
./libtool --version

ltmain.sh (GNU libtool) 1.4.2 (1.922.2.54 2001/09/11 03:33:37)

so it seems ntop has also a local/?partial libtool

in config log from my openbsd port
    188 configure:4219: result: ranlib
    189 configure:4278: checking for libtool
    190 configure:4280: result:
    191 configure:4360: checking for ld used by GCC

    217 configure:4805: checking for libtool
    218 configure:4831: result: $(SHELL) $(top_builddir)/libtool
    219 configure:4999: checking for autoheader
    220 configure:5015: found /usr/local/bin/autoheader

same for the one from my script

ideas ?

Regards

                Julien
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to