"install ntop" failed

Charlse Darwin macports.users at gmail.com
Sat Feb 16 22:33:15 PST 2008


Xcode Version 2.5

$ uname -amnpsrv
Darwin Mac 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00  
PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc
$ system_profiler | head
Hardware:

     Hardware Overview:

       Machine Name: iBook G4
       Machine Model: PowerBook6,5
       CPU Type: PowerPC G4  (1.1)
       Number Of CPUs: 1
       CPU Speed: 1.2 GHz
       L2 Cache (per CPU): 512 KB
$ system_profiler | grep "System Version"
       System Version: Mac OS X 10.4.11 (8S165)
$ port -v
MacPorts 1.700


On Feb 16, 2008, at 9:23 PM, Ryan Schmidt wrote:

> On Feb 16, 2008, at 07:52, Andrei Tchijov wrote:
>
>> On Feb 16, 2008, at 3:37 AM, William Davis wrote:
>>
>>> On Feb 16, 2008, at 2:18 AM, Andrei Tchijov wrote:
>>>
>>>> [Downloads/ntop-3.3] > install ntop
>>>> <snip>
>>>> --->  Fetching cgilib
>>>> --->  Attempting to fetch cgilib-0.5.tar.gz from http://
>>>> www.infodrom.org/projects/cgilib/download/
>>>> --->  Verifying checksum(s) for cgilib
>>>> --->  Extracting cgilib
>>>> --->  Applying patches to cgilib
>>>> --->  Configuring cgilib
>>>> --->  Building cgilib with target {}
>>>> Error: Target org.macports.build returned: shell command " cd "/ 
>>>> opt/
>>>> local/var/macports/build/
>>>> _opt_local_var_macports_sources_rsync
>>>> .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
>>>>
>>>> Error: The following dependencies failed to build: rrdtool cgilib
>>>> libart_lgpl perl5.8 tcl
>>>> Error: Status 1 encountered during processing.
>>>
>>> cgilib installed just fine for me. try
>>> sudo port -d clean cgilib
>>> sudo port -dn install cgilib
>>
>> Same result pretty much :(  Looks like it thinks "-O3" is the name of
>> command (instead of one of CFLAGS)
>>
>>
>> [Downloads/ntop-3.3] > cleanup cgilib
>> Unrecognized action "cleanup"
>> [Downloads/ntop-3.3] > clean cgilib
>> --->  Cleaning cgilib
>> [Downloads/ntop-3.3] > install cgilib
>> --->  Fetching cgilib
>> --->  Attempting to fetch cgilib-0.5.tar.gz from http://
>> www.infodrom.org/projects/cgilib/download/
>> --->  Verifying checksum(s) for cgilib
>> --->  Extracting cgilib
>> --->  Applying patches to cgilib
>> --->  Configuring cgilib
>> --->  Building cgilib with target {}
>> Error: Target org.macports.build returned: shell command " cd "/opt/
>> local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .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
>>
>> Error: Status 1 encountered during processing.
>> [Downloads/ntop-3.3] >
>
> It works for me on 10.4.11 Intel with Xcode 2.4.1.
>
> William Davis said it works for him on 10.5.1 Intel with presumably
> Xcode 3.0.
>
> What version of Mac OS X, Xcode, and MacPorts do you have, on what
> kind of computer?
>
>
> _______________________________________________
> 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