Ryan Schmidt ryandesign at macports.org
Wed Jul 16 14:35:51 PDT 2008


On Jul 16, 2008, at 07:44, Frank Carlton wrote:

> I am installing MAMP (http://trac.macports.org/wiki/howto/MAMP) and  
> what I get when Macports is building sqlite3 :
>
> Error: Target org.macports.build returned: shell command " cd "/opt/ 
> local/var/ma
> cports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_da
> tabases_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  
> openssl pcre
> Error: Status 1 encountered during processing.
> bash-3.2$

This is the Leopard environment variable issue.

http://trac.macports.org/wiki/LeopardProblems

Clean sqlite3 and try again.

sudo port clean --work sqlite3



More information about the macports-users mailing list