[OPEN-ILS-GENERAL] Installation question / comments

Bob Neeper neeperro at oplin.org
Thu Jul 10 15:57:54 EDT 2014


Community Library Director / Evergreen Oversight Board member, Chauncey 
Montgomery, wanted a test Evergreen to work on.
We (COOL) are on Evergreen hosted by Equinox.

There is a long story about the last 2-3 weeks which led to Remington's doc post.

Anyway
I Installed Ubuntu 12.04 (Desktop) on our VMware ESXi server
Using Blakes' guide for openSRF-2.1.0 and Evergreen-2.2.0 I got openSRF to 
provide the answer 4 even though had Failed To Fetch Errors.
Ubuntu also really struggled with normal updates.
Very hard time getting apache installed because of Failed To Fetch errors.
Finally got past it and able to see the Evergreen web page via a local and 
remote browser.
Could not get the database and schema created and in general had so many 
problems decided to do it all again.
With the guides and my notes it should be smoother.

New install of Ubuntu 12.04 still was not updating correctly.
Tried different repositories without success.
Skipped to the openSRF install but still getting Hash Sum Mismatch errors.

Your thought may be our system, network etc. But I don't believe it is.
Our ESXi server runs 11 virtual machines ( 5 openSUSE, freenas, Untangle, IPcop, 
Windows 7, Windows 2008 server, ZoneCd) and is still loafing.
We have 5.0Mbps Fiber by Time Warner

Decided to try Ubunto 14.04 desktop, which installed easily and did updates 
correctly.
Also decided to install the latest openSRF & Evergreen using the official guides.

Evergreen instructions seem to indicate you first  install openSRF and gave 
these exact instructions.
2. Installing prerequisites
OpenSRF has a number of prerequisite packages that must be installed before you 
can successfully configure, compile, and install OpenSRF.
On Debian and Ubuntu, the easiest way to install these prerequisites is to use 
the Makefile.install prerequisite installer.

Issue the following commands as the root user to install prerequisites using the 
Makefile.install prerequisite installer, substituting your operating system 
identifier for <osname> below:

apt-get install make
make -f src/extras/Makefile.install <osname>

But I had to change the instructions to.

sudo su
wget http://open-ils.org/downloads/opensrf-2.3.0.tar.gz
tar xzf opensrf-2.3.0.tar.gz
apt-get install aptitude
apt-get install make
cd opensrf-2.3.0
make -f src/extras/Makefile.install trusty
    That instruction failed of course as trusty is not in the install file.
    Substituting precise looked as if it might have worked.

Next step seemed to be.
4. Configuration and compilation instructions

Use the configure command to configure OpenSRF, and the make command to build 
OpenSRF. The default installation prefix (PREFIX) for OpenSRF is /opensrf/.

If you are building OpenSRF for Evergreen, issue the following commands as the 
user Linux account to configure and build OpenSRF:

./configure --prefix=/openils --sysconfdir=/openils/conf
make

I did this instead.
[exit]
[cd opensrf-2.3.0]
[./configure --prefix=/openils --sysconfdir=/openils/conf]
[make]

It stopped with:
./configure: line 11572 /usr/bin/: Is a directory
configure: error: "could not determine apache version number"


My comments and questions. Bear in mind I'm not a linux expert.

1) Without Blake's guides I would not gotten past step 2 Installing Prerequisites.
  Step by step commands are very helpful.

2) Any idea why Ubuntu 12.04 gave so many problems ?

3) Did the 'precise' substitution work ?
Will (or should) the install file have 'trusty' added ?

4) Why is a file looking for the apache version when, I think, apache is really 
installed with evergreen ?
     Or did the precise substitution cause this ?

5) Any suggestions?

Thanks for your support

-- 
R. W. (Bob) Neeper
Community Library <http://sunbury.cool-cat.org>
44 Burrer Dr.  Map <http://maps.google.com/maps?q=40.243961,+-82.863007>
Sunbury, Oh 43074
Tel:  (740)-965-3901

cool-cat.org <http://info.cool-cat.org>


More information about the Open-ils-general mailing list