Problem with MacPorts on OS X Leopard

Unnsse Khan untzkhan at gmail.com
Sun Aug 3 18:13:36 PDT 2008


Yes, that worked...

Thank you

On Aug 3, 2008, at 5:23 PM, Rainer Müller wrote:

> Unnsse Khan wrote:
>> sudo install subversion
>> I received this error message:
>> --->  Building sqlite3 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_databases_sqlite3/work/sqlite-3.5.9"  
>> &&  gnumake all " returned error 2
>> Command output: sed -e s/--VERS--/3.5.9/ ./src/sqlite.h.in | \
>> 	sed -e s/--VERSION-NUMBER--/3005009/ >sqlite3.h
>> /usr/bin/gcc-4.0 -O2 -o mkkeywordhash  ./tool/mkkeywordhash.c
>> ./mkkeywordhash >keywordhash.h
>> /usr/bin/gcc-4.0 -O2 -o lemon ./tool/lemon.c
>> cp ./tool/lempar.c .
>> cp ./src/parse.y .
>> ./lemon  parse.y
>> mv parse.h parse.h.temp
>> f ./addopcodes.awk parse.h.temp >parse.h
>> /bin/sh: f: command not found
>> gnumake: [parse.c] Error 127 (ignored)
>> cat parse.h ./src/vdbe.c |  -f ./mkopcodeh.awk >opcodes.h
>> /bin/sh: -f: command not found
>> cat: stdout: Broken pipe
>> gnumake: *** [opcodes.h] Error 127
>> Error: The following dependencies failed to build: apr-util  
>> sqlite3  cyrus-sasl2 neon serf
>> Error: Status 1 encountered during processing.
>
> This is a bug in Tcl on Leopard.
> See <http://trac.macports.org/wiki/LeopardProblems#environmentvariablesbecomeblankbetweenconfigureandbuildphases 
> >
>
> Workaround in this case:
>  sudo port clean --work sqlite3
>  sudo port install subversion
>
> Rainer



More information about the macports-users mailing list