[OPEN-ILS-DEV] Evergreen 2.5.2 makefile patch

Paul Hoffman paul at flo.org
Fri Feb 7 03:43:58 EST 2014


I got stuck on a new Evergreen 2.5.2 installation on an Ubuntu 10.04 
server (ubuntu-lucid) and have found what appears to be a bug in 
Open-ILS/src/extras/install/Makefile.ubuntu-lucid.  I was following the 
instructions (http://.../README_2_5.html) and hit an error when running 
./configure as shown in section 4:

# su paul
$ PATH=/openils/bin:$PATH ./configure --prefix=/openils --sysconfdir=/openils/conf
[...]
checking for dlopen in -ldl... yes
checking for dbi_initialize in -ldbi... no
checking for libdbi pgsql driver (dynamic load)... configure: error: in `/usr/local/src/Evergreen-ILS-2.5.2':
configure: error: "pgsql driver not installed?"
See `config.log' for more details

After a certain amount of flailing about -- I'll spare you the 
embarrassing details -- I noticed that Makefile.ubuntu-lucid didn't 
actually attempt to build the install_libdbi target in Makefile.common.  
I added it there and continued the install and that seemed to do the 
trick:

------------ >8 ------------ >8 ------------ >8 ------------ >8 ------------
--- Evergreen-ILS-2.5.2/Open-ILS/src/extras/install/Makefile.ubuntu-lucid       2014-01-16 16:11:29.000000000 -0500
+++ Evergreen-ILS-2.5.2.flo/Open-ILS/src/extras/install/Makefile.ubuntu-lucid   2014-02-07 03:11:22.667919181 -0500
@@ -95,6 +95,7 @@
        make -f $(DIR)/Makefile.common install_cpan_force
        make -f $(DIR)/Makefile.debian install_js_sm
        make -f $(DIR)/Makefile.debian debian_sys_config
+       make -f $(DIR)/Makefile.common install_libdbi
 
 install_yaz:
        if [ ! -d $(YAZ) ]; then wget $(YAZ_HOST)/$(YAZ).tar.gz; fi;
------------ >8 ------------ >8 ------------ >8 ------------ >8 ------------

Naturally, I assume someone else has already found this -- I'm not 
pulling from the git repo yet -- but it gives me a warm feeling 
nonetheless.

Paul.

-- 
Paul Hoffman <paul at flo.org>
Systems Librarian
Fenway Libraries Online
c/o Wentworth Institute of Technology
550 Huntington Ave.
Boston, MA 02115
(617) 442-2384 (FLO main number)


More information about the Open-ils-dev mailing list