On Sep 30, 2007, at 04:24, Christoph Ludwig wrote:
my attempts to upgrade sqlite3 on a MacBook Pro (Intel, Mac OS X 10.4.10) failed with the error message below. Is this a known problem? Does anyone have a fix for it?
Regards
Christoph
=== console output === castellio:~ cludwig$ sudo port -v -n -f upgrade sqlite3 ---> Building sqlite3 with target all ./libtool --mode=compile --tag=CC /usr/bin/gcc-4.0 -O2 -I/opt/local/ include -DSQLITE_ENABLE_LOCKING_STYLE=1 -DHAVE_READLINE=1 -I. -I./ src -DNDEBUG -DTHREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 - DSQLITE_ENABLE_LOCKING_STYLE=1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -c ./ src/alter.c /usr/bin/gcc-4.0 -O2 -I/opt/local/include - DSQLITE_ENABLE_LOCKING_STYLE=1 -DHAVE_READLINE=1 -I. -I./src - DNDEBUG -DTHREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 - DSQLITE_ENABLE_LOCKING_STYLE=1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -c ./ src/alter.c -fno-common -DPIC -o .libs/alter.o In file included from ./src/alter.c:17: ./src/sqliteInt.h:1950: error: syntax error before 'void' gnumake: *** [alter.lo] Error 1 Error: Target org.macports.build returned: shell command " cd "/opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_datab ases_sqlite3/work/sqlite-3.4.2" && gnumake all " returned error 2 Command output: ./libtool --mode=compile --tag=CC /usr/bin/gcc-4.0 - O2 -I/opt/local/include -DSQLITE_ENABLE_LOCKING_STYLE=1 - DHAVE_READLINE=1 -I. -I./src -DNDEBUG -DTHREADSAFE=1 - DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_ENABLE_LOCKING_STYLE=1 - DSQLITE_OMIT_LOAD_EXTENSION=1 -c ./src/alter.c /usr/bin/gcc-4.0 -O2 -I/opt/local/include - DSQLITE_ENABLE_LOCKING_STYLE=1 -DHAVE_READLINE=1 -I. -I./src - DNDEBUG -DTHREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 - DSQLITE_ENABLE_LOCKING_STYLE=1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -c ./ src/alter.c -fno-common -DPIC -o .libs/alter.o In file included from ./src/alter.c:17: ./src/sqliteInt.h:1950: error: syntax error before 'void' gnumake: *** [alter.lo] Error 1 === end of console output ===
That would be this bug: http://trac.macports.org/projects/macports/ticket/12790 You can add yourself to the bug's Cc list if you would like to be informed of the bug's progress.