This is a distutils issue, those flags are part of your Python install.    
There's ways to affect what they come out as with environment variables, but in 
my experience installing the OSX build from the Python site (or building a new 
Python from scrtch) is usually the only way to really get native C extensions 
to build - the system python is glitchy.

Of course if you're just on your workstation, the C extensions are not of 
critical importance in any case.


On Jun 24, 2011, at 10:38 AM, Martijn wrote:

> Thanks, but changing is not a real option for now since lots of modules are 
> compiled against this version
> I never had this problem with other versions of sqla though
> 
> It is about time PPC supported by default should be dropped..
> 
> 
> On Jun 24, 2011, at 12:30 , Tony Theodore wrote:
> 
>> On 24 June 2011 18:50, Martijn <mart...@xs4us.nu> wrote:
>>> When installing on OSX the install log shows:
>>> 
>>> building 'sqlalchemy.cprocessors' extension
>>> gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -Os 
>>> -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch ppc -arch x86_64 
>>> -pipe 
>>> -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
>>>  -c lib/sqlalchemy/cextension/processors.c -o 
>>> build/temp.macosx-10.6-universal-2.6/lib/sqlalchemy/cextension/processors.o
>>> /usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as: assembler 
>>> (/usr/bin/../libexec/gcc/darwin/ppc/as or 
>>> /usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc not 
>>> installed
>>> Installed assemblers are:
>>> /usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64
>>> /usr/bin/../libexec/gcc/darwin/i386/as for architecture i386
>>> ***************************************************************************
>>> command 'gcc-4.2' failed with exit status 1
>>> WARNING: The C extension could not be compiled, speedups are not enabled.
>>> Failure information, if any, is above.
>>> Retrying the build without the C extension now.
>>> ***************************************************************************
>>> 
>>> 
>>> 
>>> I am not much of a C guru but I think I do need to remove "-arch ppc" from 
>>> the gcc options....
>>> 
>>> I am up to date with both OS X and Xcode and it seems "universal binary" 
>>> related...
>>> 
>>> I have searched the list but could not find anything related
>> 
>> I don't know too much about C extensions either, but you seem to be
>> using the Apple supplied version of Python. Try using either the
>> python.org or macports versions - you'll generally have less problems
>> with those.
>> 
>> Cheers,
>> 
>> Tony
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "sqlalchemy" group.
>> To post to this group, send email to sqlalchemy@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> sqlalchemy+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/sqlalchemy?hl=en.
>> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sqlalchemy" group.
> To post to this group, send email to sqlalchemy@googlegroups.com.
> To unsubscribe from this group, send email to 
> sqlalchemy+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/sqlalchemy?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to