[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pythonmac-sig
Subject:    Re: [Pythonmac-SIG] Pysqlite build problem
From:       Ronald Oussoren <ronaldoussoren () mac ! com>
Date:       2006-10-19 13:26:03
Message-ID: 0D299C44-103A-4C90-88F7-704EB01E2EF9 () mac ! com
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Oct 15, 2006, at 11:43 PM, skip@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
>
> and tried building:
[... snip build trac]
>     stdarg.h: No such file or directory/usr/include/stdarg.h:4:25:
>      error: stdarg.h: No such file or directory
>     lipo: can't figure out the architecture type of: /var/tmp// 
> ccofOA40.out
>     error: command 'gcc' failed with exit status 1
>
> It seems the compile is failing on the
>
>     #include_next <stdarg.h>
>
> line in /usr/include/stdarg.h.  Running find against /usr indicates  
> that
> there are several 4.0 versions of stdarg.h:
>
>     /usr/include/gcc/darwin/3.3/stdarg.h
>     /usr/include/stdarg.h
>     /usr/lib/gcc/i686-apple-darwin8/4.0.0/include/stdarg.h
>     /usr/lib/gcc/i686-apple-darwin8/4.0.0/install-tools/include/ 
> stdarg.h
>     /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/include/stdarg.h
>     /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/install-tools/include/ 
> stdarg.h
>
> I tried reinstalling XCode 2 from the install disk, but I still  
> don't see a
> gcc 4.0 version of stdarg.h.  /usr/bin/gcc is a symlink to /usr/bin/ 
> gcc-4.0.
> Software Update says my machine is up-to-date.
>
> I must be missing something, but what?

The 10.4u SDK. You have to install the MacOSX10.4u SDK. The easiest  
way to do that is to reinstall Xcode and make sure you select 10.4  
universal SDK on the 'customize...' page.

Ronald

>
> Thx,
>
> Skip
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig


["smime.p7s" (application/pkcs7-signature)]

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic