Re: [Pythonmac-SIG] Extension module compile fail, due to isysroot param pointing to sdk without certain headers. Any tips?

2011-05-02 Thread Ronald Oussoren
On 3 May, 2011, at 0:32, Irmen de Jong wrote: > > > I'm comfortable with developing in a unix like environment but the > sysroot/sdk stuff of > OS X is a bit alien to me. Am I supposed to not touch the SDK locations at > all? So > installing custom libraries should always be done into /usr/loc

Re: [Pythonmac-SIG] Extension module compile fail, due to isysroot param pointing to sdk without certain headers. Any tips?

2011-05-02 Thread Ned Deily
In article <4dbf3113.5050...@xs4all.nl>, Irmen de Jong wrote: > I still see a problem when you are not installing by hand, but with PIP or > easy_install. > When you are installing a package with a weird setup script like gevent, > using PIP, you > hit a barrier. Because I cannot tweak the setu

Re: [Pythonmac-SIG] python 2.7 problem with crcmod -- "ImportError: No module named predefined"

2011-05-02 Thread Brendan Simon (eTRIX)
On 3/05/11 6:18 AM, Ronald Oussoren wrote: >> I get the following error when trying to run my app when built with >> py2app and python 2.7. >> >> File "crcmod/__init__.pyc", line 7, in >> ImportError: No module named predefined >> >> >> The app works fine when built with Python 2.5 or

Re: [Pythonmac-SIG] Extension module compile fail, due to isysroot param pointing to sdk without certain headers. Any tips?

2011-05-02 Thread Irmen de Jong
On 2-5-2011 22:22, Ronald Oussoren wrote: > Adding ['-isysroot', '/'] to extra_compile_flags and extra_link_flags for the > extension should work. I wiped everything and started over tonight, and lo and behold, I mananged to get it to work by adding a custom option to the setup.py script that i

Re: [Pythonmac-SIG] Extension module compile fail, due to isysroot param pointing to sdk without certain headers. Any tips?

2011-05-02 Thread Ronald Oussoren
On 1 May, 2011, at 23:26, Irmen de Jong wrote: > Hi, > > I recently ran into a problem installing a module because it needed to > compile an > extension written in C. The compilation failed because the c extension needed > a header > file+lib that gcc could not find. This was caused by the fac

Re: [Pythonmac-SIG] python 2.7 problem with crcmod -- "ImportError: No module named predefined"

2011-05-02 Thread Ronald Oussoren
On 1 May, 2011, at 12:17, Brendan Simon (eTRIX) wrote: > I get the following error when trying to run my app when built with py2app > and python 2.7. > > File "crcmod/__init__.pyc", line 7, in > ImportError: No module named predefined > > The app works fine when built with Python 2.5 or Pyt