EPrints Technical Mailing List Archive

Message: #06457


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] Installing ePrints 3.3.15 on CentOS7 error


Hi Mathieu,

I've been looking at the exact same issue - when trying to provision a Vagrant machine on CentOS 7.

 

In the past, EPrints services have hosted some required packages at http://rpm.eprints.org/, but this doesn't seem to have been updated for a while [EPrints/Southampton - any comment on this?]

 

You can install this package from CPAN, but I wanted to do this via yum too.  The solution I came up with was to use 'fpm' (https://github.com/jordansissel/fpm) to package the CPAN module as an RPM.

 

Attached is the resulting file - which may be of use to you.

 

If you are migrating an existing repository, be aware of any differences between Apache 2.2 and 2.4 (the default with CentOS 7), and check your config files against the most recent - especially <eprints_root>/archives/<archive>/cfg/cfg.d/security.pl.

This is good to know about: https://github.com/eprints/eprints/blob/392474eec1b8125a66ed2d3e12b02aeb67dc07c4/perl_lib/EPrints/Repository.pm#L428-L468

 

And these are useful background to Apache2.4:

https://github.com/eprints/eprints/issues/322

https://github.com/eprints/eprints/issues/214

https://github.com/eprints/eprints/issues/237

https://github.com/eprints/eprints/issues/236

 

I'm still part-way through my CentOS7 / EPrints / Vagrant / Puppet journey - will write it up when I reach my destination!

 

Cheers,

John

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Mathieu Perron
Sent: 13 April 2017 21:21
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Installing ePrints 3.3.15 on CentOS7 error

 

Hello World,

 

I’m trying to setup a new server for our ePrints repository (the current repository is running on obsolete CentOS5).  I installed all dependencies as stated in the wiki but when I run “yum install eprints” I get the following error:

 

Error: Package: eprints-3.3.15-1.el6.noarch (rpm-eprints-org)

           Requires: perl(Apache::DBI)

 

I’ve googled the package perl-apache-dbi and it was available via the EPEL repository but has been removed because it wasn’t maintained.  I tried running  “yum install eprints –skip-broken” but there’s a bunch of stuff not installed because there are missing dependencies.

 

Is there a better way to install ePrints via YUM?  Is there a tutorial somewhere with all I need to install to make ePrints work on CentOS7?

 

Thank you for your kindness and usual help!

 

Mathieu Perron
Chargé de projet informatique et technologique


Service des technologies de l'information 
Université du Québec à Chicoutimi
555, boul. de l'Université
Chicoutimi (Québec) G7H 2B1


Mathieu_Perron@uqac.ca

 

Attachment: perl-Apache-DBI-1.12-1.noarch.rpm
Description: perl-Apache-DBI-1.12-1.noarch.rpm