[Zope] Problem Building 2.10.x

Tres Seaver tseaver at palladion.com
Wed Mar 24 10:13:56 EDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Susan Day wrote:
> On Wed, Mar 24, 2010 at 9:12 AM, Tres Seaver <tseaver at palladion.com> wrote:
> 
>> You should be able to override the "allowed" versions of Python:
>>
>>  $ cd /path/to/Zope-2.10.11
>>  $ ./configure --with-python=/usr/bin/python && make inplace
>>
> 
> I tried just that and got the following error:
> 
> error: command 'gcc' failed with exit status 1
> make: *** [build] Error 1
> 
> So I did this:
> 
> [root at Zope-2.10.9-final]# yum install gcc
> 
> and got this at the end:
> 
> Updated:
>   gcc.x86_64
> 0:4.1.2-46.el5_4.2
> 
> 
> Dependency Updated:
>   cpp.x86_64 0:4.1.2-46.el5_4.2          gcc-c++.x86_64
> 0:4.1.2-46.el5_4.2        libgcc.i386 0:4.1.2-46.el5_4.2
> libgcc.x86_64 0:4.1.2-46.el5_4.2
>   libstdc++.i386 0:4.1.2-46.el5_4.2      libstdc++.x86_64
> 0:4.1.2-46.el5_4.2      libstdc++-devel.x86_64 0:4.1.2-46.el5_4.2
> 
> Complete!
> 
> So I tried Zope again and again got this:
> 
> error: command 'gcc' failed with exit status 1
> make: *** [build] Error 1

You need to show us the lines above that.  You almost certainly need to
have the python-dev (or python-devel) RPM installed too:  it has the
header files for Python.

> [root at Zope-2.10.9-final]# gcc -V
> gcc: '-V' option must have argument
> # Whatever. At least it recognized gcc

Try:

  $ gcc --version

> So what up? I also tried installing Python 2.4.6 on my Mac and got a gcc
> error!? What do?

The system Python supplied by Apple is built *very* strangely, and is
likely not to be satisfactory.  My Mac-wielding partners recommend
installing the Xcode (?) tools first, then building Python from source
before building Zope.  Some folks use the compiler / Python from fink or
MacPorts, as well.


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkuqHh0ACgkQ+gerLs4ltQ6WLACfWE0hPKm/3ywTryQ1KwMDOaa9
UeoAn2PENpG7DQP+R/zkPbYvp0lpdrvi
=KSoJ
-----END PGP SIGNATURE-----


More information about the Zope mailing list