Thank you for your detail explanation . I will try to install Invenio on SL6.x 
x86_64

Lanxin
________________________________
From: Robert Atkinson
Sent: 10 June 2014 18:57
To: project-invenio-general (Invenio users)
Subject: Re: invenio based SL6.x

with a clean machine, go here:

http://invenio-software.org/wiki/Installation/Kickstart

install git and clone the git invenio-devscript repository as shown on the web 
page.

run the kickstart script as root.  It will bomb out but you have to run it to 
get some stuff done.  Then you can fix the problems and run it again:

you have to enable some repositories if they are not enabled already.  check 
/etc/yum.repos.d/

try grep "enabled=1" /etc/yum.repos.d/*.repo

or if you have puppet, grep "enabled=1" /etc/yum-puppet.repos.d/*.repo

CERN as a lot enabled but in other locations that may not be the case.

Here's what they have:

 $ grep "enabled=1" /etc/yum-puppet.repos.d/*.repo
/etc/yum-puppet.repos.d/ai6.repo:enabled=1
/etc/yum-puppet.repos.d/epel.repo:enabled=1
/etc/yum-puppet.repos.d/hardware-tools.repo:enabled=1
/etc/yum-puppet.repos.d/hw6.repo:enabled=1
/etc/yum-puppet.repos.d/lemon6.repo:enabled=1
/etc/yum-puppet.repos.d/lemon.repo:enabled=1
/etc/yum-puppet.repos.d/slc6-cernonly.repo:enabled=1
/etc/yum-puppet.repos.d/slc6-extras.repo:enabled=1
/etc/yum-puppet.repos.d/slc6-os.repo:enabled=1
/etc/yum-puppet.repos.d/slc6-scl.repo:enabled=1
/etc/yum-puppet.repos.d/slc6-updates.repo:enabled=1

you will at least need to enable epel

you may have to do:

#yum install hdf-devel?

or download and instal  hdf5-1.8.7-1.el6.rf.x86_64.rpm  from  
http://pkgs.repoforge.org/hdf5/ and download 
hdf5-devel-1.8.7-1.el6.rf.x86_64.rpm from same

you may run into:

Making install in po
/bin/sh: line 17: cd: po: No such file or directory
make[1]: *** [install-recursive] Error 1
make: *** [install] Error 2

that problem has to do with the script executing commands as apache.

apache's shell may be /bin/nologin

change it to /bin/bash

edit /etc/passwd to change apache’s shell from /bin/nologin to /bin/bash

also try going into /<your path to repository>/src/invenio/po and change the 
file permissions to ugo+x for everything.

another problem you may run into is if you do not have python 2.7.

iPython requires that.  If you don't want or need ipython  you can comment out 
the installation instruction for it to get past the py 2.7 requirement.
Commented Ipython out from /<path to your git 
repo>/src/invenio/requirements-extra.txt

I think I have covered all the "gotchas" with the kickstart script that we ran 
into at Fermilab.

The kickstart script is the only possible way to get invenio with scientific 
linux unless you have someone set it up for you.

Rob


On 06/10/2014 02:39 AM, Samuele Kaplun wrote:> Hi Lanxin,
>
> In data martedì 10 giugno 2014 04:33:24, Lanxin Ma ha scritto:
>> Can Invenio be installed / run on SL6.x X86_64 ?
>>
>> Does any body have experince on this ?
>
> at CERN we use SLC6.x X86_64 (derived from SL6.x) for our production server.
> Latest Invenio releases work perfectly there.
>
> Best regards,
>     Samuele
>

Reply via email to