I was able to resolve my instance of this problem by following the instructions on the MacPorts trac ticket (see the bottom post for workaround)
https://trac.macports.org/ticket/16571 brent1a wrote: > > I've been trying to get sqlite3 to build on my Mac under macports for > ages. Any help would be appreciated-- > > client-6x-1xx-17-x14:~ brent1a$ sudo port install sqlite3 > ---> 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.2" > && gnumake all " returned error 2 > Command output: sqlite3.c:80990: error: 'TK_LSHIFT' undeclared (first use > in this function) > sqlite3.c:80993: error: 'TK_LT' undeclared (first use in this function) > sqlite3.c:80999: error: 'TK_GE' undeclared (first use in this function) > sqlite3.c:81002: error: 'TK_RSHIFT' undeclared (first use in this > function) > sqlite3.c:81005: error: 'TK_GT' undeclared (first use in this function) > sqlite3.c:81011: error: 'TK_ILLEGAL' undeclared (first use in this > function) > sqlite3.c:81020: error: 'TK_BITOR' undeclared (first use in this function) > sqlite3.c:81023: error: 'TK_CONCAT' undeclared (first use in this > function) > sqlite3.c:81028: error: 'TK_COMMA' undeclared (first use in this function) > sqlite3.c:81032: error: 'TK_BITAND' undeclared (first use in this > function) > sqlite3.c:81036: error: 'TK_BITNOT' undeclared (first use in this > function) > sqlite3.c:81053: error: 'TK_STRING' undeclared (first use in this > function) > sqlite3.c:81056: error: 'TK_ID' undeclared (first use in this function) > sqlite3.c:81068: error: 'TK_DOT' undeclared (first use in this function) > sqlite3.c:81076: error: 'TK_INTEGER' undeclared (first use in this > function) > sqlite3.c:81082: error: 'TK_FLOAT' undeclared (first use in this function) > sqlite3.c:81102: warning: assignment makes integer from pointer without a > cast > sqlite3.c:81106: error: 'TK_VARIABLE' undeclared (first use in this > function) > sqlite3.c:81115: error: 'TK_REGISTER' undeclared (first use in this > function) > sqlite3.c:81155: error: 'TK_BLOB' undeclared (first use in this function) > sqlite3.c: In function 'sqlite3RunParser': > sqlite3.c:81227: error: 'TK_SPACE' undeclared (first use in this function) > sqlite3.c:81227: warning: case label value exceeds maximum value for type > sqlite3.c:81235: error: 'TK_ILLEGAL' undeclared (first use in this > function) > sqlite3.c:81235: warning: case label value exceeds maximum value for type > sqlite3.c:81242: error: 'TK_SEMI' undeclared (first use in this function) > sqlite3.c:81242: warning: case label value exceeds maximum value for type > sqlite3.c:81258: warning: comparison between pointer and integer > sqlite3.c:81259: warning: passing argument 2 of 'sqlite3Parser' makes > integer from pointer without a cast > gnumake: *** [sqlite3.lo] Error 1 > > Error: Status 1 encountered during processing. > > > > > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > > -- View this message in context: http://www.nabble.com/-sqlite3--Macports-Build-Failed-tp20109344p20349037.html Sent from the SQLite mailing list archive at Nabble.com. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users