[Zope] building Zope on AIX

Paulo Eduardo Neves neves@inf.puc-rio.br
Mon, 19 Apr 1999 20:25:16 -0300


Keith Rohrer wrote:
> 
> Does anyone have any experience attempting this?  I'm not asking for support
> for Zope on AIX, just for support for the build system. ;-)
> 

I've built Zope in AIX. I'm posting an email that I've already sent to
the list. Here it is:


I've compiled Zope in AIX, the process to do it is really a little
dirty. If you don't want to use your own python, I believe you'd be able
to compile it statically just by removing the line "*shared*" from the
Setup files. There are them:

find . -name "Setup" -exec grep "*shared*" /dev/null {} \;
./lib/python/Setup:*shared*
./lib/python/BoboPOS/Setup:*shared*
./lib/python/DocumentTemplate/Setup:*shared*
./lib/python/Products/MailHost/Setup:*shared*
./lib/python/Products/MailHost/sample/Setup:*shared*
./lib/python/Products/ZMySQLDA/src/Setup:*shared*
./lib/Components/ExtensionClass/Setup:*shared*
./lib/Components/cPickle/Setup:*shared*
./lib/Components/zlib/Setup:*shared*

Here's how I've compiled with my own python:
1)Download, compile, and install your own python from
http://www.python.org . I believe you have to uncomment 
the *shared* line in the Setup file, before compiling.
2)Get the source Zope 
3)You'll have to copy(link) from the python/Modules dir the files
ld_so_aix, makexp_aix, and python.exp to the dirs:
find . -name "ld_so_aix" -print
./ld_so_aix
./lib/python/BoboPOS/ld_so_aix
./lib/python/DocumentTemplate/ld_so_aix
./lib/python/ld_so_aix
./lib/Components/ExtensionClass/ld_so_aix

Now compile Zope and it should work.

hope this helps,
-- 
Paulo Eduardo Neves
PUC-Rio de Janeiro 
Pager: Central: 292-4499 cod. 213 99 64
ou use a URL:  http://www.learn.fplf.org.br/neves/mensagempager.html