[OPEN-ILS-DEV] Need help with forcing the installation of PG 9.2.x with EG 2.7.5 (Debian Wheezy)

Yamil Suarez ysuarez at berklee.edu
Thu Oct 22 15:52:37 EDT 2015


Hello,

I need to build a test server that runs EG 2.7.5 with Postgres 9.2.x, so
that I can load up some production data to try out some authority work. I
am working on a test server running Debian Wheezy.

To try to get this to work I did the following...

1) I updated  Evergreen/Open-ILS/src/extras/install/Makefile.wheezy

<snip>

PGSQL_SERVER_DEBS_91 = \
    $(DEB_PGSQL_COMMON_MODS) \
    postgresql-9.2 \
    postgresql-contrib-9.2 \
    postgresql-plperl-9.2 \
    postgresql-server-dev-9.2

<snip>


2) I created /etc/apt/sources.list.d/pgdg.list and set it with:

deb http://apt.postgresql.org/pub/repos/apt/ wheezy-pgdg main

3) I set up the cert keys to use the apt.postgres.org repository

apt-get install wget ca-certificates
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc |
apt-key add -
apt-get update


4) apt-get update


5) Finally I went through the EG 2.75 install steps, I had already
installed OSRF, and got the following errors when I ran ...

make -f Open-ILS/src/extras/Makefile.install debian-wheezy

<snip>

t/17-data_type.t ...... # Pg connection failed (DBI
connect('dbname=template1','postgres',...) failed: could not connect
to server: No such file or directory

#     Is the server running locally and accepting
#
 connections on Unix domain socket
"/var/run/postgresql/.s.PGSQL.5432"? at /usr/share/perl5/Ima/DBI.pm
line 328

# ). Set env variables DBD_PG_DBNAME,  DBD_PG_USER,
# DBD_PG_PASSWD to enable testing.
t/17-data_type.t ...... skipped: Pg connection failed.

<snip>

checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for libdbi framework... yes: headers in /usr/local/include
checking for MySQL support... no
checking for PostgreSQL support... no
configure: error: Invalid PostgreSQL directory - libraries not found.
make[2]: *** [install_libdbi] Error 1
make[2]: Leaving directory `/home/ysuarez/Evergreen-ILS-2.7.5'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/ysuarez/Evergreen-ILS-2.7.5'
make: *** [debian-wheezy] Error 2

Any suggestions to fix this issue?

Thanks in advance,
Yamil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20151022/c64d235a/attachment.html>


More information about the Open-ils-dev mailing list