[Pythonmac-SIG] Pysqlite build problem
Ronald Oussoren
ronaldoussoren at mac.com
Mon Oct 16 07:57:16 CEST 2006
On Oct 15, 2006, at 11:43 PM, skip at pobox.com wrote:
> I'm trying to get pysqlite 2.3.2 built on my Mac (OSX 10.4.8, gcc-4.0,
> Python 2.4.4c1). Sqlite built and installed into /usr/local just
> fine. I
> adjusted setup.cfg appropriately:
>
> [build_ext]
> define=
> include_dirs=/usr/local/include:/usr/include
> library_dirs=/usr/local/lib:/usr/lib
> libraries=sqlite3
Why do you add /usr/include and /usr/lib to include_dirs and
library_dirs? Those shouldn't be necessary. The default compiler
flags include '-isysroot ...' which picks up the system includes from
an SDK, I wouldn't be surprised if mixing -isysroot with -I/usr/
include causes problems.
Ronald
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3562 bytes
Desc: not available
Url : http://mail.python.org/pipermail/pythonmac-sig/attachments/20061016/4137fd25/attachment.bin
More information about the Pythonmac-SIG
mailing list