On Mar 18, 2008, at 14:35, Shawn Protsman wrote:
Just moved to Leopard (10.5.2) and now I'm getting my port installed when I ran into this problem. Any ideas on what can be done?
$ sudo port install subversion apr-util sqlite3 neon openssl Password: ---> 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.7" && gnumake all " returned error 2 Command output: sort -n -b -k 3 opcodes.h | -f ./mkopcodec.awk
opcodes.c /bin/sh: -f: command not found
I just upgraded to sqlite3 3.5.7 on Tiger (10.4.11) and the relevant line of output should be: sort -n -b -k 3 opcodes.h | /opt/local/bin/gawk -f ./mkopcodec.awk
opcodes.c
So on your system it can't find awk/gawk. This is a common problem on Leopard to which I don't know the solution. Some say simply retrying the install will work. (Just do "sudo port install sqlite3" again.) That's a workaround of course, not a permanent solution...