[Plone-Users] Unified Installer 4.1.4 breaks after the Python-Installation

40 views
Skip to first unread message

Andreas Mantke

unread,
Mar 22, 2012, 5:22:10 PM3/22/12
to plone...@lists.sourceforge.net
Hi,

I try to use the Unified-Installer 4.1.4 to create a working Python
environment on my newly installed openSUSE 12.1-x64-machine, but the
installation stops after compiling and creating the Python folder and
files. I used the following command (in my home):
./install.sh --target=/home/andi/plone/ploneuniversal/ zeo

I get the following messages in the shell:

ZEO Cluster Install selected

Detailed installation log being written to
/home/andi/plone/downloadploneuni/Plone-4.1.4-UnifiedInstaller/install.log

Rootless install method chosen. Will install for use by system user andi

Installing Plone 4.1.4 at /home/andi/plone/ploneuniversal/

Skipping libjpeg build
Skipping zlib build
Skipping readline build
Installing Python 2.6.7. This takes a while...
Patching for thread size
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Traceback (most recent call last):
File "<string>", line 1, in <module>
LookupError: unknown encoding: zip
Python zlib support is missing; something went wrong in the zlib or
python build.

Installation has failed.
See the detailed installation log at
/home/andi/plone/downloadploneuni/Plone-4.1.4-UnifiedInstaller/install.log
to determine the cause.

I looked into the install.log, but I don't see anything specific to this
error message in the shell. I can't see such an error message there.
Here are the last lines of the log:

changing mode of
/home/andi/plone/ploneuniversal/Python-2.6/lib64/python2.6/lib-dynload/_multiprocessing.so
to 755
changing mode of
/home/andi/plone/ploneuniversal/Python-2.6/lib64/python2.6/lib-dynload/
to 755
running install_scripts
copying build/scripts-2.6/2to3 ->
/home/andi/plone/ploneuniversal/Python-2.6/bin
copying build/scripts-2.6/pydoc ->
/home/andi/plone/ploneuniversal/Python-2.6/bin
copying build/scripts-2.6/idle ->
/home/andi/plone/ploneuniversal/Python-2.6/bin
copying build/scripts-2.6/smtpd.py ->
/home/andi/plone/ploneuniversal/Python-2.6/bin
changing mode of /home/andi/plone/ploneuniversal/Python-2.6/bin/2to3 to 755
changing mode of /home/andi/plone/ploneuniversal/Python-2.6/bin/pydoc to 755
changing mode of /home/andi/plone/ploneuniversal/Python-2.6/bin/idle to 755
changing mode of /home/andi/plone/ploneuniversal/Python-2.6/bin/smtpd.py
to 755
running install_egg_info
Writing
/home/andi/plone/ploneuniversal/Python-2.6/lib64/python2.6/lib-dynload/Python-2.6.7-py2.6.egg-info
if test -f /home/andi/plone/ploneuniversal/Python-2.6/bin/python -o -h
/home/andi/plone/ploneuniversal/Python-2.6/bin/python; \
then rm -f /home/andi/plone/ploneuniversal/Python-2.6/bin/python; \
else true; \
fi
(cd /home/andi/plone/ploneuniversal/Python-2.6/bin; ln python2.6 python)
rm -f /home/andi/plone/ploneuniversal/Python-2.6/bin/python-config
(cd /home/andi/plone/ploneuniversal/Python-2.6/bin; ln -s
python2.6-config python-config)
Creating directory /home/andi/plone/ploneuniversal/Python-2.6/share/man
Creating directory /home/andi/plone/ploneuniversal/Python-2.6/share/man/man1
/usr/bin/install -c -m 644 ./Misc/python.man \
/home/andi/plone/ploneuniversal/Python-2.6/share/man/man1/python.1

---------------------------------------

Thanks for any hint.

Best regards,
Andreas


--
## Developer LibreOffice
## Freie Office-Suite für Linux, Mac, Windows
## http://LibreOffice.org
## Support the Document Foundation (http://documentfoundation.org)
## Meine Seite: http://www.amantke.de


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Plone-Users mailing list
Plone...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plone-users

Raphael Ritz

unread,
Mar 23, 2012, 4:48:04 AM3/23/12
to plone...@lists.sourceforge.net
On 3/22/12 10:22 PM, Andreas Mantke wrote:
> Hi,
>
> I try to use the Unified-Installer 4.1.4 to create a working Python
> environment on my newly installed openSUSE 12.1-x64-machine, but the
> installation stops after compiling and creating the Python folder and
> files. I used the following command (in my home):
> ./install.sh --target=/home/andi/plone/ploneuniversal/ zeo
>
> I get the following messages in the shell:
>
> ZEO Cluster Install selected
>
> Detailed installation log being written to
> /home/andi/plone/downloadploneuni/Plone-4.1.4-UnifiedInstaller/install.log
>
> Rootless install method chosen. Will install for use by system user andi
>
> Installing Plone 4.1.4 at /home/andi/plone/ploneuniversal/
>
> Skipping libjpeg build
> Skipping zlib build
> Skipping readline build
> Installing Python 2.6.7. This takes a while...
> Patching for thread size
> Could not find platform dependent libraries<exec_prefix>
> Consider setting $PYTHONHOME to<prefix>[:<exec_prefix>]
> Traceback (most recent call last):
> File "<string>", line 1, in<module>
> LookupError: unknown encoding: zip
> Python zlib support is missing; something went wrong in the zlib or

This is suspicious.

Whatever the equivalent of libbz2-dev (or similar) is on SUSE -
It's either missing or not found.

Does that give a clue?

Raphael

------------------------------------------------------------------------------

Andreas Mantke

unread,
Mar 24, 2012, 4:48:11 AM3/24/12
to Dieter Maurer, plone...@lists.sourceforge.net
Hello Dieter,

Am 24.03.2012 09:19, schrieb Dieter Maurer:


> Andreas Mantke wrote at 2012-3-22 22:22 +0100:
>> I try to use the Unified-Installer 4.1.4 to create a working Python
>> environment on my newly installed openSUSE 12.1-x64-machine, but the
>> installation stops after compiling and creating the Python folder and
>> files. I used the following command (in my home):
>> ./install.sh --target=/home/andi/plone/ploneuniversal/ zeo
>>
>> I get the following messages in the shell:
>>
>> ZEO Cluster Install selected
>>
>> Detailed installation log being written to
>> /home/andi/plone/downloadploneuni/Plone-4.1.4-UnifiedInstaller/install.log
>>
>> Rootless install method chosen. Will install for use by system user andi
>>
>> Installing Plone 4.1.4 at /home/andi/plone/ploneuniversal/
>>

>> ...


>> Skipping libjpeg build
>> Skipping zlib build
>> Skipping readline build
>> Installing Python 2.6.7. This takes a while...
>> Patching for thread size
>> Could not find platform dependent libraries<exec_prefix>
>> Consider setting $PYTHONHOME to<prefix>[:<exec_prefix>]
>> Traceback (most recent call last):
>> File "<string>", line 1, in<module>
>> LookupError: unknown encoding: zip
>> Python zlib support is missing; something went wrong in the zlib or
>> python build.
>>
>> Installation has failed.

> This looks like http://bugs.python.org/issue11715
> a bug with Python's installation process for operating
> system installations with "multi architecture" support.
> This bug is fixed in Python 2.7 but not in Python 2.6.
>
> A workaround is to tell the Python installation process
> where the library files for the relevant architecture can be found.
> The debian/ubuntu fix may however not directly apply to OpenSUSE
> (as it may use a debian specific command to determine the architecture).
>
thanks for your answer. I got a direct mail from Steve McMahon, that I
should create a new bug for the Unified Installer and did so:
https://dev.plone.org/ticket/12797

Regards,

Reply all
Reply to author
Forward
0 new messages