sqlite3

William Davis frstan at bellsouth.net
Thu Nov 1 21:07:31 PDT 2007


On Nov 1, 2007, at 11:58 PM, Barry Wilson wrote:

>
> After upgrading to Leopard
>
> sudo port selfupdate
>
> then
>
> sudo port upgrade outdated
>
> I get this. Can anyone tell me what is going on or how to fix this?
>
> --->  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.1" &&  
> gnumake all " returned error 2
> Command output: ./libtool --mode=compile --tag=CC /usr/bin/gcc-4.0 - 
> O2 -I. -I./src -DNDEBUG   -DSQLITE_THREADSAFE=1 - 
> DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -c ./ 
> src/alter.c
> /usr/bin/gcc-4.0 -O2 -I. -I./src -DNDEBUG -DSQLITE_THREADSAFE=1 - 
> DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -c ./ 
> src/alter.c  -fno-common -DPIC -o .libs/alter.o
> ./src/alter.c: In function 'renameTableFunc':
> ./src/alter.c:77: error: 'TK_SPACE' undeclared (first use in this  
> function)
> ./src/alter.c:77: error: (Each undeclared identifier is reported  
> only once
> ./src/alter.c:77: error: for each function it appears in.)
> ./src/alter.c:79: error: 'TK_LP' undeclared (first use in this  
> function)
> ./src/alter.c:79: error: 'TK_USING' undeclared (first use in this  
> function)
> ./src/alter.c: In function 'renameTriggerFunc':
> ./src/alter.c:135: error: 'TK_SPACE' undeclared (first use in this  
> function)
> ./src/alter.c:148: error: 'TK_DOT' undeclared (first use in this  
> function)
> ./src/alter.c:148: error: 'TK_ON' undeclared (first use in this  
> function)
> ./src/alter.c:151: error: 'TK_WHEN' undeclared (first use in this  
> function)
> ./src/alter.c:151: error: 'TK_FOR' undeclared (first use in this  
> function)
> ./src/alter.c:151: error: 'TK_BEGIN' undeclared (first use in this  
> function)
> ./src/alter.c: In function 'reloadTableSchema':
> ./src/alter.c:246: error: 'OP_DropTrigger' undeclared (first use in  
> this function)
> ./src/alter.c:251: error: 'OP_DropTable' undeclared (first use in  
> this function)
> ./src/alter.c:256: error: 'OP_ParseSchema' undeclared (first use in  
> this function)
> ./src/alter.c: In function 'sqlite3AlterRenameTable':
> ./src/alter.c:358: error: 'OP_String8' undeclared (first use in this  
> function)
> ./src/alter.c:359: error: 'OP_VRename' undeclared (first use in this  
> function)
> ./src/alter.c: In function 'sqlite3AlterFinishAddColumn':
> ./src/alter.c:471: error: 'TK_NULL' undeclared (first use in this  
> function)
> gnumake: *** [alter.lo] Error 1
>
> Error: Unable to upgrade port: 1
>
do sudo port clean --all sqlite3
and then do port -du upgrade sqlite3
this will show the debug mesgs for the earlier phases . copy and post  
that please.


More information about the macports-users mailing list