"install ntop" failed

Andrei Tchijov andrei at tchijov.com
Thu Feb 21 09:21:40 PST 2008

Just did it again with "clean" installation of MacPort (fresh install  
of Leopard).

Downloaded and install latest version of MacPort (as pre-build DMG)

Run following without any problems

	install glib2
	install ImageMagic
	install nmap

Following command fail

	install ntop

--->  Building cgilib with target {}
Error: Target org.macports.build returned: shell command " cd "/opt/ 
.macports.org_release_ports_www_cgilib/work/cgilib-0.5" && make   
CFLAGS="-O3 -fPIC -I." " returned error 2
Command output: O3 -fPIC -I.   -c -o cgi.o cgi.c
make: O3: Command not found
make: [cgi.o] Error 127 (ignored)
O3 -fPIC -I.   -c -o cookies.o cookies.c
make: O3: Command not found
make: [cookies.o] Error 127 (ignored)
ar rc libcgi.a cgi.o cookies.o
ar: cgi.o: No such file or directory
ar: cookies.o: No such file or directory
make: *** [libcgi.a] Error 1

I guess this may help to diagnose the problem

[local/bin] > installed
The following ports are currently installed:
   bzip2 @1.0.4_1 (active)
   expat @2.0.1_0 (active)
   fontconfig @2.5.0_0+macosx (active)
   freetype @2.3.5_1 (active)
   gawk @3.1.6_0 (active)
   gd2 @2.0.35_1 (active)
   gdbm @1.8.3_1 (active)
   gettext @0.17_3 (active)
   glib2 @2.14.6_0+darwin_9 (active)
   ImageMagick @6.3.8-10_0+q16 (active)
   jpeg @6b_2 (active)
   libiconv @1.12_0 (active)
   libpcap @0.9.8_0 (active)
   libpng @1.2.25_0 (active)
   libxml2 @2.6.31_0 (active)
   ncurses @5.6_0 (active)
   ncursesw @5.6_1 (active)
   nmap @4.50_0 (active)
   openssl @0.9.8g_0 (active)
   pcre @7.6_0 (active)
   pkgconfig @0.23_0 (active)
   tiff @3.8.2_1+macosx (active)
   zlib @1.2.3_1 (active)

sh-3.2# uname -a
Darwin buster.local 9.2.0 Darwin Kernel Version 9.2.0: Tue Feb  5  
16:13:22 PST 2008; root:xnu-1228.3.13~1/RELEASE_I386 i386

On Feb 17, 2008, at 03:24 , Ryan Schmidt wrote:

> Uh, sorry, and furthermore, Charlse, your error was with ntop, while
> Andrei's was with cgilib.
> On Feb 17, 2008, at 02:21, Ryan Schmidt wrote:
>> Yes but Charlse, your error with ntop was "libtool: compile: unable
>> to infer tagged configuration" which was in a different thread, "ntop
>> install failure" and for which a ticket was already filed:
>> http://trac.macosforge.org/projects/macports/ticket/14308
>> Whereas Andrei's ntop error is "make: O3: Command not found" and we
>> still need a ticket to be filed for that.
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

More information about the macports-users mailing list