sqlite3 install fails [was Re: "sudo port install git-core +svn" fails]
Ryan Schmidt
ryandesign at macports.org
Mon Sep 8 01:38:47 PDT 2008
On Sep 6, 2008, at 6:21 AM, Kieran Kelleher wrote:
> sqlite3 seems to be the problem install ... here is debug output when
> trying to install that ...... any comments on how to resolve this?
>
> kieranmacpro:~ kieran$ sudo port -d install sqlite3
[snip]
> sqlite3.c:55116: error: 'TK_SPACE' undeclared (first use in this
> function)
> sqlite3.c:55116: warning: comparison between pointer and integer
> sqlite3.c:55118: error: 'TK_LP' undeclared (first use in this
> function)
> sqlite3.c:55118: warning: comparison between pointer and integer
> sqlite3.c:55118: error: 'TK_USING' undeclared (first use in this
> function)
> sqlite3.c:55118: warning: comparison between pointer and integer
[snip]
Tthis is a version of the Leopard environment variable bug. On
Leopard, Tcl does not properly clear environment variables when
MacPorts tells it to. This manifests itself in countless different
ways, including the problem you observed. This particular
manifestation of the problem is this ticket:
http://trac.macports.org/wiki/howto
The workaround for the Leopard environment variable bug is always to
clean the work area of the affected port and try again.
sudo port clean --work sqlite3
sudo port install sqlite3
The fix which will cause such workarounds to no longer be required
has been committed to MacPorts base in trunk, but a new release of
MacPorts containing this fix has not yet been made. MacPorts 1.7.0
will include the fix.
More information about the macports-users
mailing list