Re: [Zope] Zope 2.8.4 install on Suse

2005-12-09 Thread Luca Olivetti

En/na Jens Vagelpohl ha escrit:

Whaat you really need to do is *ditch* those OS-supplied Python packages 
and compile it yourself for Zope. It's easy and quick. Get the 2.3.5 
tarball from python.org and after that it's a matter of 
configure/make/make install.


unless you're on x86_64

Bye
--
Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004  Fax +34 93 5883007
___
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 )


[Zope] Zope 2.8.4 install on Suse

2005-12-08 Thread Harry Forster
Thanks to all for the very quick response to my request for help.  This is the 
backbone of the open source community.

I have been using Zope 2.6 on windows for years and wanted to update and move 
to a Suse 9.0 machine. I downloaded Zope 2.8.4-final tgz.

I originally had Python 2.4 but switched to Python 2.3.5 after reading the 
Zope notes. When I did the configure, make, install for Zope I got the 
message:

The Python interpreter you are using does not appear to have the 'zlib'
library module installed.  For Zope to be able to run, you must install a
Python interpreter which includes the zlib module, or install the zlib library
into your Python interpreter manually.  The file which represents the library
is named 'zlib.so' (UNIX) or 'zlib.dll' (Windows) and is typically located in
the 'lib-dynload' directory of your Python's library directory.  Some
Python packagers ship the zlib module as a separate installable binary. If you
are using a system-provided Python installation, you may want to look for
a 'python-zlib' package (or something like it) and install it to make the
Python zlib module available to Zope.

This lead me to believe that I needed to install zlib which I did.  This lead 
to the same message.  I then found that what I may need is zlib-devel.  I had 
Python-zlib_2.2. I could not find a zlib-devel to match it nor a zlib to 
match the zlib to match the zlib-devels that I could find.  

I decided that the problem really lay with Python so I changed to 
ActivePython-2.4.2-248.  Same message.  There appears to be a disconnect 
between Python, Zope, and Suse.

I have Zope 2.6.0 running on the same machine but this is what I have on 
windows.  I am very content to stay with 2.6.0 and get off of windows and 
onto Linux but feel it is time to upgrade.  Maybe I should just be happy with 
the exit from Windows.

___
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 )


Re: [Zope] Zope 2.8.4 install on Suse

2005-12-08 Thread Harry Forster
Jens I am sorry to say that I have compiled all software on this machine.  I 
have done so so that I would not have confusion due to different compilers.  
I think that there is a problem with the manner in which I compile Python or 
compile usingPython.  Python has a zlib.so in its distribution but somehow it 
is not getting through to the compilation of Zope.  There must be something 
about compiling Python or compiling using Python that I do not understand.  I 
think it has something to do with the zlib module.  Either the zlib module 
should be made a part of Python at the time I compile Python or the  compiler 
should be told to use the zlib module at the time I compile Zope.

The zlib module is included in the Zope 2.6 distribution which is the reason 
that I have no trouble installing and using 2.6.

___
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 )


Re: [Zope] Zope 2.8.4 install on Suse

2005-12-08 Thread Jens Vagelpohl


On 8 Dec 2005, at 18:46, Harry Forster wrote:

Jens I am sorry to say that I have compiled all software on this  
machine.  I
have done so so that I would not have confusion due to different  
compilers.
I think that there is a problem with the manner in which I compile  
Python or
compile usingPython.  Python has a zlib.so in its distribution but  
somehow it
is not getting through to the compilation of Zope.  There must be  
something
about compiling Python or compiling using Python that I do not  
understand.  I
think it has something to do with the zlib module.  Either the zlib  
module
should be made a part of Python at the time I compile Python or  
the  compiler

should be told to use the zlib module at the time I compile Zope.

The zlib module is included in the Zope 2.6 distribution which is  
the reason

that I have no trouble installing and using 2.6.


Python will compile its zlib if it finds the suitable headers and  
libraries on the hosts system. Check to see if you have all zlib and  
zlib-devel packages installed. There is no magic flag to set, just  
configure/make/make install will pick up on and use zlib. The only  
other thing I could think of would be if you're not using the  
interpreter you think you are using.


jens

___
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 )