Building sqlite3 from MacPorts
Getting this error?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
gnumake: *** [opcodes.c] Error 127
Do this:
export NAWK=/opt/local/bin/gawk
sudo port clean sqlite3
sudo port install sqlite3
The Makefile isn't looking in the right place for awk. The Macports trac page thinks this problem doesn't still exist… I'm not so sure!
Posted at 2008-03-23 00:43:20 by Richard • Link to Building sqlite3 f…
Comments, trackbacks.
