Thread: [Pyobjc-dev] pyobjc with vanilla py2.6 doesn't compile
Brought to you by:
ronaldoussoren
From: Diez B. R. <de...@we...> - 2010-07-19 23:01:54
|
I just installed a vanilla python2.6 on my brand new mac book pro (os x 10.6.3), and it complained like this: .... Running pyobjc-framework-SystemConfiguration-2.2b1/setup.py -q bdist_egg --dist-dir /var/folders/P4/P4526I2LGtKkYHJFKsUo2++++TI/-Tmp-/easy_install-CeFX1Q/pyobjc-framework-SystemConfiguration-2.2b1/egg-dist-tmp-ZeeOUm <built-in>:0: warning: Mac OS X version 10.5 or later is needed for use of the new objc abi Modules/_manual.m: In function 'mod_SCDynamicStoreCreate': Modules/_manual.m:228: error: Mac OS X version 10.5 or later is needed for zerocost-exceptions error: Setup script exited with error: command 'gcc' failed with exit status 1 Hm. I've got 10.5 or later, don't I? Any suggestions more than welcome. Diez |
From: Martin K. <mar...@gm...> - 2010-07-19 23:10:24
|
This can happen when trying to build a 64-bit version of PyObjC. Try exporting MACOSX_DEPLOYMENT_TARGET=10.5 before you install it. On Tue, Jul 20, 2010 at 01:01, Diez B. Roggisch <de...@we...> wrote: > I just installed a vanilla python2.6 on my brand new mac book pro (os x 10.6.3), and it complained like this: > > .... > Running pyobjc-framework-SystemConfiguration-2.2b1/setup.py -q bdist_egg --dist-dir /var/folders/P4/P4526I2LGtKkYHJFKsUo2++++TI/-Tmp-/easy_install-CeFX1Q/pyobjc-framework-SystemConfiguration-2.2b1/egg-dist-tmp-ZeeOUm > <built-in>:0: warning: Mac OS X version 10.5 or later is needed for use of the new objc abi > Modules/_manual.m: In function 'mod_SCDynamicStoreCreate': > Modules/_manual.m:228: error: Mac OS X version 10.5 or later is needed for zerocost-exceptions > error: Setup script exited with error: command 'gcc' failed with exit status 1 > > Hm. I've got 10.5 or later, don't I? Any suggestions more than welcome. > > Diez > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Pyobjc-dev mailing list > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyobjc-dev > |
From: Diez B. R. <de...@we...> - 2010-07-19 23:18:41
|
On Jul 20, 2010, at 1:09 AM, Martin Kühl wrote: > This can happen when trying to build a 64-bit version of PyObjC. > Try exporting MACOSX_DEPLOYMENT_TARGET=10.5 before you install it. Worked slightly better - but now this happens: Downloading http://pypi.python.org/packages/source/p/pyobjc-core/pyobjc-core-2.2b1.tar.gz#md5=a4cacd7c11cacbe8de9bd2f8fd9e3b75 Processing pyobjc-core-2.2b1.tar.gz Running pyobjc-core-2.2b1/setup.py -q bdist_egg --dist-dir /var/folders/P4/P4526I2LGtKkYHJFKsUo2++++TI/-Tmp-/easy_install-F2mLbI/pyobjc-core-2.2b1/egg-dist-tmp-IJEYZT warning: no previously-included files matching '.DS_Store' found anywhere in distribution warning: no previously-included files matching '*.pbxuser' found anywhere in distribution warning: no previously-included files matching '*.so' found anywhere in distribution cc1: error: unrecognized command line option "-Wno-long-double" Diez |
From: Ronald O. <ron...@ma...> - 2010-07-20 16:45:04
Attachments:
smime.p7s
|
On 20 Jul, 2010, at 0:01, Diez B. Roggisch wrote: > I just installed a vanilla python2.6 on my brand new mac book pro (os x 10.6.3), and it complained like this: > > .... > Running pyobjc-framework-SystemConfiguration-2.2b1/setup.py -q bdist_egg --dist-dir /var/folders/P4/P4526I2LGtKkYHJFKsUo2++++TI/-Tmp-/easy_install-CeFX1Q/pyobjc-framework-SystemConfiguration-2.2b1/egg-dist-tmp-ZeeOUm > <built-in>:0: warning: Mac OS X version 10.5 or later is needed for use of the new objc abi > Modules/_manual.m: In function 'mod_SCDynamicStoreCreate': > Modules/_manual.m:228: error: Mac OS X version 10.5 or later is needed for zerocost-exceptions > error: Setup script exited with error: command 'gcc' failed with exit status 1 > > Hm. I've got 10.5 or later, don't I? Any suggestions more than welcome. I just noticed this as well, I'll fix this once I have time to debug. The problem is that the python.org installers are compiled with a OSX 10.3 as the deployment target and pyobjc tries to use an ObjC feature that isn't available there. Ronald > > Diez > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Pyobjc-dev mailing list > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyobjc-dev |
From: Ronald O. <ron...@ma...> - 2010-07-20 17:43:43
Attachments:
smime.p7s
|
On 20 Jul, 2010, at 0:18, Diez B. Roggisch wrote: > > On Jul 20, 2010, at 1:09 AM, Martin Kühl wrote: > >> This can happen when trying to build a 64-bit version of PyObjC. >> Try exporting MACOSX_DEPLOYMENT_TARGET=10.5 before you install it. > > > Worked slightly better - but now this happens: > > Downloading http://pypi.python.org/packages/source/p/pyobjc-core/pyobjc-core-2.2b1.tar.gz#md5=a4cacd7c11cacbe8de9bd2f8fd9e3b75 > Processing pyobjc-core-2.2b1.tar.gz > Running pyobjc-core-2.2b1/setup.py -q bdist_egg --dist-dir /var/folders/P4/P4526I2LGtKkYHJFKsUo2++++TI/-Tmp-/easy_install-F2mLbI/pyobjc-core-2.2b1/egg-dist-tmp-IJEYZT > warning: no previously-included files matching '.DS_Store' found anywhere in distribution > warning: no previously-included files matching '*.pbxuser' found anywhere in distribution > warning: no previously-included files matching '*.so' found anywhere in distribution > cc1: error: unrecognized command line option "-Wno-long-double" That's odd, all Apple compilers should support -Wno-long-double. Which OSX version are you on, which version of Xcode and which compiler are you using? Ronald |
From: Diez B. R. <de...@we...> - 2010-07-21 21:21:25
|
On Jul 20, 2010, at 6:46 PM, Ronald Oussoren wrote: > > On 20 Jul, 2010, at 0:18, Diez B. Roggisch wrote: > >> >> On Jul 20, 2010, at 1:09 AM, Martin Kühl wrote: >> >>> This can happen when trying to build a 64-bit version of PyObjC. >>> Try exporting MACOSX_DEPLOYMENT_TARGET=10.5 before you install it. >> >> >> Worked slightly better - but now this happens: >> >> Downloading http://pypi.python.org/packages/source/p/pyobjc-core/pyobjc-core-2.2b1.tar.gz#md5=a4cacd7c11cacbe8de9bd2f8fd9e3b75 >> Processing pyobjc-core-2.2b1.tar.gz >> Running pyobjc-core-2.2b1/setup.py -q bdist_egg --dist-dir /var/folders/P4/P4526I2LGtKkYHJFKsUo2++++TI/-Tmp-/easy_install-F2mLbI/pyobjc-core-2.2b1/egg-dist-tmp-IJEYZT >> warning: no previously-included files matching '.DS_Store' found anywhere in distribution >> warning: no previously-included files matching '*.pbxuser' found anywhere in distribution >> warning: no previously-included files matching '*.so' found anywhere in distribution >> cc1: error: unrecognized command line option "-Wno-long-double" > > That's odd, all Apple compilers should support -Wno-long-double. Which OSX version are you on, which version of Xcode and which compiler are you using? snow leopard, 10.6.3, latest xcode,comes with this GCC: deets$ gcc --version i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5659) Diez |