Zope 3.2 install

Posted by Graham Stratton Fri, 20 Jan 2006 11:10:00 GMT

Installed Zope3 3.2 this morning, as a replacement to 3.1c3 which I’d been running before. The major change, which should be transparent, is that 3.2 is based on Twisted instead of Zope’s own Zserver.

Apparently there’s also a test browser built in, so I’ll have to have a look at that.

I thought the install would be trivial. Then I discovered that Ubuntu doesn’t even contain make as part of its default installation. I seem to spend a lot of time installing things which aren’t part of the default Ubuntu, but which were included in Knoppix.

Then I got
unable to execute gcc: no such file or directory
Excellent. Now, gcc-4.0 is installed, so do I symlink to that, or do I install 3.4? Or 3.3? I go for the symlink. I try to run make. I get a stream of errors resembling the Mississippi in flood, starting with something about not being able to find limits.h Now, I guess that’s either a kernel header or a python header. Let’s try installing python-dev. Nope, still drowning in error messages. There’s also stdlib.h and assert.h missing, so I retract my earlier statement, and try installing libc-dev. I’m getting more nervous every time I type make now.

This time I get lots of

warning: pointer targets in passing argument 1 of 'PyString_FromStringAndSize' differ in signedness

I read it a few times, but it still doesn’t make any sense to me. I decide to ignore it and continue. ‘make install’, and all seems fine. Now what do I do? I think I have to ‘mkzopeinstance’ using the new Zope, and then copy the bits I’d developed (and hopefully the existing ZODB) into the new instance.

I start Zope3.2. It takes a little longer than 3.1 had. It also seems to use 63MB of memory. Now 63MB per instance seems rather excessive to me. Especially since my virtual server only has 128MB RAM.

Posted in  | no comments

Comments

(leave url/email »)

   Comment Markup Help Preview comment