Hello Ferran:

On Wed, 20 May 2009, Ferran Jorba wrote:
> for reasons that are beyond me, I must install two different
> production Invenios in a single server.
> [...]
> there is the system-wide /usr/local/lib/python2.5/site-packages/
> symlink to $HOME/lib/python/invenio

I have touched this question on this mailing list on 21 Apr 2009.  (Yes,
the mailing list archive web page is not up to date, and you'd have to
go to <https://mmm.cern.ch/public/archive-list/p/project-cdsware-users/>
to see the recent archives currently.)  Here is the recipe:

You will have to be careful in order not to use the same `invenio'
Python module name for the two Invenio instances, in order to avoid
mutual clash.  So you will have to install your second Invenio instance
under a different software name -- say `testsite' -- roughly like this:

   $ tar xvfz cds-invenio-0.99.1.tar.gz
   $ mv cds-invenio-0.99.1 testsite-0.99.1
   $ cd testsite-0.99.1
   $ find . -type f -exec perl -pi -e 's,invenio,testsite,g' {} \;
   $ mv po/cds-invenio.pot po/testsite.pot
   $ configure --prefix=/opt/testsite
   [...]

This will make two or more Invenio instances co-exist without problems
on the same machine, even for production purposes.

Best regards
-- 
Tibor Simko ** CERN Document Server ** <http://cds.cern.ch/>

Reply via email to