Hello Cornelia,

> Thanks a lot for your detailed explanation of your installations!!!,
> especially for your invenio process management solution and your hint
> to use apache2-mpm-itk. We'll test it in this way.

You are welcome.  Please note that I've exaggerated when I've written
that we've patched each Invenio Python bin and lib.  I got confused when
I've quckly reviewed my patches.  Probably now I'd grep for 'os.system'
and patch only those.  But I was running out of time when I was
debugging my bibconvert script, and I spend also much time figuring out
how to tell Python to search my local ~/lib/python/ in a generic way (it
isn't now, it will be possible in future releases, as I learned).  So I
adopted the classical brute-force approach :-(

In my ~/lib/python I have this symlink:

 ~/lib/python/invenio -> /home/ddd/invenio/lib/python/invenio/

(the same to the other installation, traces).

Please take into account that when making the Invenio build, you'll have
to pass the -k (--keep-going) parameter to make, because it will fail
because of lack of permissions for writing intbitset files in
/usr/lib/python/whatever.  I had to grant some temporarily permissions
(or build intbitset once as root, I don't remember the details) so I got
the intbitset* files, that I manually copied to my local directory.  But
it was mostly following common sense, no rocket science.

This setup also should allow us to migrate both instances at a different
times.  Finger crossed ;-)

Good luck,

Ferran

Reply via email to