On Jan 7, 2008, at 12:49, Jay Chandler wrote:
jay@Singularity~$ sudo port install ntop ---> Building ntop with target all Error: Target org.macports.build returned: shell command " cd "/opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_net_n top/work/ntop-3.3" && gnumake all " returned error 2 Command output: gnumake all-recursive Making all in . /bin/sh ./libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 - DHAVE_CONFIG_H -I. -I. -g -Os -DBUILD=112 - DMACOSX_DEPLOYMENT_TARGET=10.5 -F/System/Library/PrivateFrameworks/ -F/System/Library/Frameworks/ -pipe -Udarwin9 -Ddarwin9=darwin9 -I. -I/usr/local/include -I/opt/local/include -DDARWIN -I/usr/local/ include -g -no-cpp-precomp -O2 -I/opt/local/include -I/usr/local/ include -g -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing- declarations -Wnested-externs -fno-common -DPIC -MT address.lo -MD -MP -MF .deps/address.Tpo -c -o address.lo address.c /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -g -Os -DBUILD=112 - DMACOSX_DEPLOYMENT_TARGET=10.5 -F/System/Library/PrivateFrameworks/ -F/System/Library/Frameworks/ -pipe -Udarwin9 -Ddarwin9=darwin9 -I. -I/usr/local/include -I/opt/local/include -DDARWIN -I/usr/local/ include -g -no-cpp-precomp -O2 -I/opt/local/include -I/usr/local/ include -g -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing- declarations -Wnested-externs -fno-common -DPIC -MT address.lo -MD - MP -MF .deps/address.Tpo -c address.c -fno-common -DPIC -o .libs/ address.o In file included from ntop.h:484, from address.c:21: globals-structtypes.h:103: error: two or more data types in declaration specifiers globals-structtypes.h:103: warning: useless type name in empty declaration gnumake[2]: *** [address.lo] Error 1 gnumake[1]: *** [all-recursive] Error 1 gnumake: *** [all] Error 2
Error: Status 1 encountered during processing.
I see this problem was reported 3 weeks ago but the maintainer hasn't commented on it yet.
[ https://owa016.msoutlookonline.net/owa/redir.aspx?URL=http%3a%2f%2ftrac.maco... ]http://trac.macosforge.org/projects/macports/ticket/13610
I'll add you to the Cc list of that ticket so you're informed of its progress.
I see you're running Mac OS X 10.5. Looks like the reporter of that ticket was too. And do you have Xcode 3? What version of MacPorts do you have, and what architecture is your processor?
I note occurrences of /usr/local in your output above, and also in the filed ticket. What do you have in /usr/local? It can conflict with MacPorts ports, so we recommend not having anything in /usr/ local. Try renaming /usr/local to /usr/local-off and cleaning (sudo port clean --work ntop) and building (sudo port install ntop) ntop again. If it works, you'll know something in /usr/local conflicted, and you should install whatever you need using MacPorts instead of manually installing in /usr/local.
Ntop started failing to build on leopard, and I don't know yet what the solution is. I tried renaming /usr/local just to be sure and it didn't help. I'll ask the ntop support list shortly and leave comments in the ticket later at least to show I've seen it. Mark
participants (1)
-
markd@macports.org