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.

Reply via email to