Ok, next time please trust me when I say that this is unrelated to python
version...

I get the exact same issue with:
+ Zope 2.9.4
+ Python 2.4.3

make
"/opt/pperegri/F2BUILDS/F2.15/opt/Python-2.4.3/bin/python"
"/opt/pperegri/F2BUILDS/F2.15/src/Zope-2.9.4-final/setup.py" \
            build 
--build-base="/opt/pperegri/F2BUILDS/F2.15/build/Zope-2.9.4-final/build-base
/python-2.4" 
--build-lib="/opt/pperegri/F2BUILDS/F2.15/build/Zope-2.9.4-final/build-base/
python-2.4/build-lib"
--build-scripts="/opt/pperegri/F2BUILDS/F2.15/build/Zope-2.9.4-final/build-b
ase/python-2.4/build-scripts"
--build-temp="/opt/pperegri/F2BUILDS/F2.15/build/Zope-2.9.4-final/build-base
/python-2.4/build-temp"
Traceback (most recent call last):
  File "/opt/pperegri/F2BUILDS/F2.15/src/Zope-2.9.4-final/setup.py", line
53, in ?
    import versions
ImportError: No module named versions
make: *** [build] Error 1

And my exact same hack as initially described works there too.
The faulty code does not look very "clean" anyway (playing with the sys.path
just to import the versions module)

Thanks.

Pascal

> De : Andreas Jung <[EMAIL PROTECTED]>
> Répondre à : Andreas Jung <[EMAIL PROTECTED]>
> Date : Thu, 21 Sep 2006 11:20:16 +0200
> À : Pascal Peregrina <[EMAIL PROTECTED]>, <zope@zope.org>
> Objet : Re: [Zope] Zope 2.10b2 build issue
> 
> 
> 
> --On 21. September 2006 11:06:36 +0200 Pascal Peregrina
> <[EMAIL PROTECTED]> wrote:
> 
>> Hi,
>> 
>> Just to let you know that if you use a temporary build directory to build
>> Zope 2.10, the setup.py script fails.
>> 
>> I know, I am using python 2.5 (making some tests) but this issue is
>> unrelated.
>> 
>> Below, "build" is an empty directory and "src" is the untared Zope source.
>> 
>> STEP 1
>> 
>> cd build/Zope-2.10.0-b2 &&
>> /opt/pperegri/F2BUILDS/F2.15/src/Zope-2.10.0-b2/configure
>> --prefix=/opt/pperegri/F2BUILDS/F2.15/opt/Zope-2.10.0-b2
>> --optimize
>> --with-python=/opt/pperegri/F2BUILDS/F2.15/opt/Python-2.5/bin/python
>> 
> 
> The documentation states *clearly* that Python 2.4.X is required.
> 
> -aj



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

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

Reply via email to