Plone 4.0.5 unified installer with Ubuntu 11.04 (natty) error with zip / zlib error

I am new to Plone and trying to install Plone 4.0.5 on Ubuntu 11.04 Natty using the Unified Installer.

I unzip the installer and run ./install.sh zeoas root, and I get the following error:

ZEO Cluster Install selected

Detailed installation log being written to /tmp/Plone-4.0.5-UnifiedInstaller/install.log

Root install method chosen. Will install for use by system user plone

Installing Plone 4.0.5 at / usr / local / Plone

User 'plone' already exists. No need to create it.
Skipping libjpeg build
Skipping zlib build
Skipping readline build
Installing Python 2.6.6. This takes a while ...
Traceback (most recent call last):
  File "", line 1, in 
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 /tmp/Plone-4.0.5-UnifiedInstaller/install.log
to determine the cause.

I also installed these ubuntu packages:

apt-get install zlib1g zlib1g-dev zlibc libghc6-zlib-dev zlibc

Install.log is pretty big - I just include the zlib mentions here:

Starting at Tue May 17 14:12:46 SAST 2011
configure: WARNING: unrecognized options: --with-readline, --with-zlib, --disable-tk, --with-cxx
...
Failed to find the necessary bits to build these modules:
_bsddb _sqlite3 _tkinter        
bsddb185 dbm gdbm            
sunaudiodev zlib                               
To find the necessary bits, look in setup.py in detect_modules () for the module name.


Failed to build these modules:
crypt              nis          
...

setup.py .

, ?

.

+5
5

Python disutils multilib natty. , sqlite Python, .

setup.py

http://bugs.python.org/issue9762

Edit:

, lib_dirs python setup.py( 408) ( x86_64):

lib_dirs = self.compiler.library_dirs + [
    '/lib64', '/usr/lib64',
    '/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu',
    ]

(/usr/lib/x86_64-linux-gnu)

+9

- Plone .

this setup.py

- :

, ( ) diff... . . , /tmp/patch.txt

Unified Installer :

cd packages
tar xjf Python-2.6.6.tar.bz2
rm Python-2.6.6.tar.bz2
cd Python-2.6.6
patch < /tmp/patch.txt

, :

patching file setup.py
Hunk #1 succeeded at 354 (offset 15 lines).

tar bzip2 Python:

cd ..
tar cjf Python-2.6.6.tar.bz2 Python-2.6.6
rm -r Python-2.6.6

, , python2.6, Unified Installer.

+2

Unified Installer zlib-: ./install.sh --libz=yes zeo

+2

, Python ( ), "--with-python =/path/to/Python-2.6" install.sh.

+1

- maverick, natty.

Prereqs, , :

zlib1g-dev (which you have)
python-gdbm
libgdbm3
libsqlite3-0 (hard to imagine you would not have that)
python-tk

bsddb sunaudio python2.6 - (aptitude install python2.6, )

0

All Articles