[OPEN-ILS-DEV] OpenSRF installation problems

Hennie Rautenbach hennie at sabinet.co.za
Mon May 7 02:36:38 EDT 2007


Dan Scott wrote:
> Have you tried:
>
> ln -sf /etc/apache2/apache2.conf /etc/apache2/httpd.conf
> echo "#LoadModule fake fake" >> /etc/apache2/apache2.conf
>
> ... then running the Evergreen install?
>
> It looks very much like the Evergreen makefile terminates prematurely
> in the OpenSRF section because apxs2 cannot find a LoadModule
> directive in /etc/apache2/httpd.conf; the combination of these two
> commands I've specified above should enable you to get past that
> obstacle and actually install the expected OpenSRF Perl modules.

Cool ! You are right. The errors caused the install to terminate 
prematurely. I didn;t link the file, but created a dummy httpd.conf as 
per the othe rsuggestions.

Install went further as follow:

leo:/usr/local/src/Evergreen-ILS-1.0.5.0# ./make.sh 2>&1 | tee error.log
Installing...
Adding user opensrf to group opensrf

-------------- [ opensrf_all ] -------------------------------------------

install-prep
objson-install
opensrf-install
gateway-install
/usr/share/apache2/build/instdso.sh 
SH_LIBTOOL='/usr/share/apr-1.0/build/libtool     ' osrf_json_gateway.so 
/usr/lib/apache2/modules
/usr/share/apr-1.0/build/libtool --mode=install cp osrf_json_gateway.so 
/usr/lib     /apache2/modules/
cp osrf_json_gateway.so /usr/lib/apache2/modules/osrf_json_gateway.so
Warning!  dlname not found in /usr/lib/apache2/modules/osrf_json_gateway.so.
Assuming installing a .so rather than a libtool archive.
chmod 644 /usr/lib/apache2/modules/osrf_json_gateway.so
[activating module `osrf_json_gateway' in /etc/apache2/httpd.conf]
router-install
srfsh-install
jserver-install
perl-install

-------------- [ openils_all ] -------------------------------------------
<snip>

leo:/openils/lib/perl5/OpenSRF# ls -alF
total 132
drwxr-xr-x 7 opensrf opensrf  4096 2007-05-05 08:35 ./
drwxr-xr-x 5 opensrf opensrf    40 2007-05-05 08:35 ../
drwxr-xr-x 3 opensrf opensrf    32 2007-05-05 08:35 Application/
-rw-r--r-- 1 opensrf opensrf 18371 2007-05-07 08:29 Application.pm
-rw-r--r-- 1 opensrf opensrf 24020 2007-05-07 08:29 AppSession.pm
drwxr-xr-x 3 opensrf opensrf     8 2007-05-05 08:35 DOM/
drwxr-xr-x 2 opensrf opensrf    48 2007-05-05 08:35 DomainObject/
-rw-r--r-- 1 opensrf opensrf   716 2007-05-07 08:29 
DomainObjectCollection.pm
-rw-r--r-- 1 opensrf opensrf  1678 2007-05-07 08:29 DomainObject.pm
-rw-r--r-- 1 opensrf opensrf  7834 2007-05-07 08:29 DOM.pm
-rw-r--r-- 1 opensrf opensrf  5841 2007-05-07 08:29 EX.pm
-rw-r--r-- 1 opensrf opensrf  6133 2007-05-07 08:29 MultiSession.pm
-rw-r--r-- 1 opensrf opensrf 10680 2007-05-07 08:29 System.pm
drwxr-xr-x 4 opensrf opensrf    48 2007-05-05 08:35 Transport/
-rw-r--r-- 1 opensrf opensrf  5466 2007-05-07 08:29 Transport.pm
-rw-r--r-- 1 opensrf opensrf  7800 2007-05-07 08:29 UnixServer.pm
drwxr-xr-x 2 opensrf opensrf    48 2007-05-05 08:35 Utils/
-rw-r--r-- 1 opensrf opensrf 10875 2007-05-07 08:29 Utils.pm

Thanks Dan, appreciate the advice,

Regards,

Hennie


--------------------------------------------------------------------------------

This transmission is for the intended addressee only and is confidential
information. If you have received this transmission in error, please
delete it and notify the sender. The contents of this e-mail are the
opinion of the writer only and are not endorsed by Sabinet Online
Limited unless expressly stated otherwise.
--------------------------------------------------------------------------------


More information about the Open-ils-dev mailing list