Opened 19 years ago

Closed 19 years ago

#3092 closed defect (fixed)

BUG: Ntop 3.1 fails to build on a clean install of OS X 10.4/Xcode 2/DarwinPorts 1.0.1/

Reported by: mark.duling@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

Ntop 3.1 fails to build on a clean install of OS X 10.4/Xcode 2/DarwinPorts 1.0.1/ with the following output. I have updated DP with the latest ports. All prerequisites installed with no errors. This has been confirmed (with the same error) on another OS X 10.4 Mac.

---> Fetching ntop ---> Attempting to fetch ntop-3.1.tgz from http://voxel.dl.sourceforge.net/ntop ---> Attempting to fetch ntop-3.1.tgz from http://kent.dl.sourceforge.net/ntop ---> Verifying checksum(s) for ntop ---> Extracting ntop ---> Configuring ntop ---> Building ntop with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_net_ntop/work/ ntop" && gnumake all" returned error 2 Command output: from rrd_last.c:9: /opt/local/include/gd.h:129: warning: declaration of 'y1' shadows a global declaration /opt/local/include/gd.h:132: warning: declaration of 'y1' shadows a global declaration /opt/local/include/gd.h:135: warning: declaration of 'y1' shadows a global declaration /opt/local/include/gd.h:137: warning: declaration of 'y1' shadows a global declaration

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/local/include -DDARWIN -I/usr/local/include -g -no-

cpp-precomp -I/opt/local/include -I/usr/local/include -g -Wshadow -Wpointer-arith -Wmissing- prototypes -Wmissing-declarations -Wnested-externs -MT rrd_last.lo -MD -MP -MF .deps/rrd_last.Tpo -c rrd_last.c -o rrd_last.o >/dev/null 2>&1 if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/local/include -DDARWIN -I/usr/local/include -g -no-cpp-precomp -I/opt/local/include -I/usr/local/include -g -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -MT rrd_diff.lo -MD -MP -MF ".deps/rrd_diff.Tpo" -c -o rrd_diff.lo rrd_diff.c; \ then mv -f ".deps/rrd_diff.Tpo" ".deps/rrd_diff.Plo"; else rm -f ".deps/rrd_diff.Tpo"; exit 1; fi

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/local/include -DDARWIN -I/usr/local/include -g -no-

cpp-precomp -I/opt/local/include -I/usr/local/include -g -Wshadow -Wpointer-arith -Wmissing- prototypes -Wmissing-declarations -Wnested-externs -MT rrd_diff.lo -MD -MP -MF .deps/rrd_diff.Tpo -c rrd_diff.c -fno-common -DPIC -o .libs/rrd_diff.o In file included from rrd_tool.h:135,

from rrd_diff.c:30:

/opt/local/include/gd.h:129: warning: declaration of 'y1' shadows a global declaration /opt/local/include/gd.h:132: warning: declaration of 'y1' shadows a global declaration /opt/local/include/gd.h:135: warning: declaration of 'y1' shadows a global declaration /opt/local/include/gd.h:137: warning: declaration of 'y1' shadows a global declaration

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/local/include -DDARWIN -I/usr/local/include -g -no-

cpp-precomp -I/opt/local/include -I/usr/local/include -g -Wshadow -Wpointer-arith -Wmissing- prototypes -Wmissing-declarations -Wnested-externs -MT rrd_diff.lo -MD -MP -MF .deps/rrd_diff.Tpo -c rrd_diff.c -o rrd_diff.o >/dev/null 2>&1 if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/local/include -DDARWIN -I/usr/local/include -g -no-cpp-precomp -I/opt/local/include -I/usr/local/include -g -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -MT dummy.lo -MD -MP -MF ".deps/dummy.Tpo" -c -o dummy.lo dummy.c; \ then mv -f ".deps/dummy.Tpo" ".deps/dummy.Plo"; else rm -f ".deps/dummy.Tpo"; exit 1; fi

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/local/include -DDARWIN -I/usr/local/include -g -no-

cpp-precomp -I/opt/local/include -I/usr/local/include -g -Wshadow -Wpointer-arith -Wmissing- prototypes -Wmissing-declarations -Wnested-externs -MT dummy.lo -MD -MP -MF .deps/dummy.Tpo -c dummy.c -fno-common -DPIC -o .libs/dummy.o dummy.c:1: warning: no previous prototype for 'gdImageGif'

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/local/include -DDARWIN -I/usr/local/include -g -no-

cpp-precomp -I/opt/local/include -I/usr/local/include -g -Wshadow -Wpointer-arith -Wmissing- prototypes -Wmissing-declarations -Wnested-externs -MT dummy.lo -MD -MP -MF .deps/dummy.Tpo -c dummy.c -o dummy.o >/dev/null 2>&1 /bin/sh ../libtool --mode=link gcc -g -no-cpp-precomp -I/opt/local/include -I/usr/local/include -g -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -L/opt/ local/lib -L/usr/local/lib -o libmyrrd.la -rpath /opt/local/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 -lxml2 -lpthread -lresolv -lc -lssl -lcrypto -lpcap -lgdbm -lgd -lpng -lz gcc -dynamiclib -undefined dynamic_lookup -o .libs/libmyrrd-3.1.dylib .libs/gdlucidab10.o .libs/ gdlucidab12l2.o .libs/gdlucidan10.o .libs/gdlucidan12.o .libs/gdpng.o .libs/parsetime.o .libs/ rrd_create.o .libs/rrd_fetch.o .libs/rrd_open.o .libs/gdlucidab12.o .libs/gdlucidab14.o .libs/ gdlucidan10l2.o .libs/gdlucidan14.o .libs/gifsize.o .libs/pngsize.o .libs/rrd_error.o .libs/rrd_graph.o .libs/rrd_update.o .libs/rrd_format.o .libs/rrd_last.o .libs/rrd_diff.o .libs/dummy.o /usr/lib/libm.dylib /usr/lib/libiconv.dylib /opt/local/lib/libz.dylib /usr/lib/libpthread.dylib -L/opt/local/lib -L/usr/local/ lib /usr/lib/libxml2.dylib -lpthread -lresolv -lc -lssl -lcrypto -lpcap /opt/local/lib/libgdbm.dylib -lgd -lpng -lz -install_name /opt/local/lib/libmyrrd-3.1.dylib ld: warning -L: directory name (/usr/local/lib) does not exist ld: flag: -undefined dynamic_lookup can't be used with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1 /usr/bin/libtool: internal link edit command failed gnumake[3]: * [libmyrrd.la] Error 1 gnumake[2]: * [all-recursive] Error 1 gnumake[1]: * [all-recursive] Error 1 gnumake: * [all] Error 2

Change History (4)

comment:1 Changed 19 years ago by toby@…

severity: criticalnormal

comment:2 Changed 19 years ago by mww@…

Owner: changed from darwinports-bugs@… to mww@…

comment:3 Changed 19 years ago by mww@…

Summary: Ntop 3.1 fails to build on a clean install of OS X 10.4/Xcode 2/DarwinPorts 1.0.1/BUG: Ntop 3.1 fails to build on a clean install of OS X 10.4/Xcode 2/DarwinPorts 1.0.1/

comment:4 Changed 19 years ago by mww@…

Resolution: fixed
Status: newclosed

fixed the Portfile!

Note: See TracTickets for help on using tickets.