On Sep 23, 2011, at 3:36 AM, Chris Withers wrote:

> I just tried zope.interface 3.8.0 on MacOS X Lion and got:
> 
> Getting distribution for 'zope.interface'.
> unable to execute gcc-4.0: No such file or directory
> ********************************************************************************
> WARNING:
> 
>         An optional code optimization (C extension) could not be compiled.
> 
>         Optimizations for this package will not be available!
> 
> command 'gcc-4.0' failed with exit status 1
> ********************************************************************************
> 
> Not seen that before, definitely got gcc:
> 
> $ which gcc
> /usr/bin/gcc
> 
> $ gcc --version
> i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 
> 5658) (LLVM build 2335.15.00)
> Copyright (C) 2007 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> ...not sure why it wants gcc-4.0 specifically, any ideas?

Probably because your Python executable was built with it.
Distutils tries to build with the same flags, architecture, etc.

Did you build your python (used to build zope.interface) on Lion,
or before you upgraded to Lion?
Did you install a 32-bit version of python perhaps?
Did you upgrade XCode when you upgraded to Lion.

Those are just some possible causes, not necessarily what's really happening on 
your machine.  Also, I'm just guessing from experience with previous upgrades 
on Mac, I'm not running Lion yet.

        Zvezdan

_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )

Reply via email to