mxcl/homebrew — Issue #10693: Subversion --universal fails if sqlite was not --universal 
Author: tlecomte
Created: 2012-03-05 12:34:15+00:00
State: open

Hi,

I was trying to install subversion today, with the '--universal --java' flags so that the java bindings are built and usable from Eclipse built either as 32 or 64 bits.

The './configure' step failed on sqlite with the following output :

checking for sqlite3_close in -lsqlite3... no
configure: WARNING: no suitable sqlite found in /usr/local

An appropriate version of sqlite could not be found. We recommmend
3.7.6.3, but require at least 3.6.18.
Please either install a newer sqlite on this system

or

get the sqlite 3.7.6.3 amalgamation from:
http://www.sqlite.org/sqlite-amalgamation-3.7.6.3.tar.gz
unpack the archive using tar/gunzip and copy sqlite3.c from the
resulting directory to:
/private/tmp/homebrew-subversion-1.7.3-hmWE/subversion-1.7.3/sqlite-amalgamation/sqlite3.c

configure: error: Subversion requires SQLite

It turned out that I had sqlite installed previously, but without the '--universal' flag. I had to reinstall it with 'brew install --force --universal sqlite',a nd then the subversion installation worked. I had to guess that solution, but I wish Homebrew had done it by itself or had given me some directions...