Building subversion : "f: command not found"

Rainer Müller raimue at macports.org
Wed Aug 13 13:58:00 PDT 2008


Charles Brossollet wrote:
> Hello,
> 
> A "port install subversion" failed with the following message:
> 
> config: Leopard 10.5.4, Mac mini Intel, MacPorts 1.6
> 
> --->  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.6.1"
> && gnumake all " returned error 2
> Command output: sed -e s/--VERS--/3.6.1/ ./src/sqlite.h.in | \
> 	sed -e s/--VERSION-NUMBER--/3006001/ >sqlite3.h
> /usr/bin/gcc-4.0  -O2 -o mkkeywordhash  -DSQLITE_OMIT_LOAD_EXTENSION=1
> ./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  -DSQLITE_OMIT_LOAD_EXTENSION=1 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

This is a known problem with Tcl on Leopard:
Please see 
<http://trac.macports.org/wiki/LeopardProblems#environmentvariablesbecomeblankbetweenconfigureandbuildphases>

Workaround:
   sudo port clean sqlite3
   sudo port install subversion

Rainer


More information about the macports-users mailing list