Op 29-03-11 01:25, Noe Misael Nieto Arroyo schreef:
I'm trying to rebuild a not-so-old Plone 3.3.1 site on a Debian 5.0.6.
With a custom Python installation.

Python install is in: /opt/Python2.4/

The python bootstrap is a copy of this one:
http://svn.zope.org/repos/main/zc.buildout/branches/1.4/bootstrap/bootstrap.py
gcc version 4.3.2 (Debian 4.3.2-1.1)

When I try to run buildout, I get into this error:

$ bin/buildout
Upgraded:
   zc.buildout version 1.4.2,
   setuptools version 0.6c9;
restarting.
Generated script '/home/darier/apps/darier/bin/buildout'.
Develop: '/home/darier/apps/darier/src/eduintelligent.courses'
Develop: '/home/darier/apps/darier/src/eduintelligent.messages'
Develop: '/home/darier/apps/darier/src/eduintelligent.loginhistory'
Develop: '/home/darier/apps/darier/src/eduintelligent.database'
Develop: '/home/darier/apps/darier/src/eduintelligent.evaluation'
Develop: '/home/darier/apps/darier/src/eduintelligent.sco'
Develop: '/home/darier/apps/darier/src/eduintelligent.zipcontent'
Develop: '/home/darier/apps/darier/src/eduintelligent.policy'
Develop: '/home/darier/apps/darier/src/plonetheme.notredame-1.2-beta2beta'
Develop: '/home/darier/apps/darier/src/iservicestheme.darierblue'
Develop: '/home/darier/apps/darier/src/eduintelligent.extrastats'
Develop: '/home/darier/apps/darier/src/Products.Collage-1.3.0-b3'
Unused options for buildout: 'puertos'.
Installing zope2.
While:
   Installing zope2.

An internal error occured due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
   File
"/home/darier/apps/darier/eggs/zc.buildout-1.4.2-py2.4.egg/zc/buildout/buildout.py",
line 1660, in main
     getattr(buildout, command)(args)
   File
"/home/darier/apps/darier/eggs/zc.buildout-1.4.2-py2.4.egg/zc/buildout/buildout.py",
line 532, in install
     installed_files = self[part]._call(recipe.install)
   File
"/home/darier/apps/darier/eggs/zc.buildout-1.4.2-py2.4.egg/zc/buildout/buildout.py",
line 1204, in _call
     return f()
   File
"/home/darier/apps/darier/eggs/plone.recipe.zope2install-3.2-py2.4.egg/plone/recipe/zope2install/__init__.py",
line 247, in install
'build_ext', '-i',
AssertionError


Can't figure out what's wrong. Any ideas?

It goes wrong while buildout is calling 'python setup.py build_ext -i' on the unpacked Zope2 archive (tarball). So the C extensions cannot be built. I guess you need to install a few more development packages on this machine, like python development libraries (the python-dev or python2.4-dev package if you would use the standard python packages for Debian).

You can try running buildout more verbosely to see if it gives more info about the exact error: bin/buildout -vvv

Possibly download the Zope2 archive manually (look for zope2-url in your buildout.cfg or other .cfg files), unpack it and run 'python2.4 setup.py build_ext -i' manually in that directory and see if that gives a clear error message (maybe a missing Python.h).


--
Maurits van Rees
Web App Programmer at Zest Software: http://zestsoftware.nl
Personal website: http://maurits.vanrees.org/

_______________________________________________
Setup mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/setup

Reply via email to