[Koha] Koha 1.2.3 installation problem

Miguel Koren OBrien de Lacy miguelk at konsultex.com.br
Mon May 5 15:08:28 NZST 2003


I've followd the procedure in the INSTALL text to the point of having a virtual server
opac.konsultex.com.br and have copied the files to the right places, apparently. But
something is still missing from my setup.

This is the server error log:

Can't locate HTML/Template.pm in @INC (@INC contains: /opt/koha/includes
/usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0
/usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl .) at /opt/koha/includes/C4/Output.pm line 30.
BEGIN failed--compilation aborted at /opt/koha/includes/C4/Output.pm line 30.
Compilation failed in require at /opt/koha/includes/C4/Auth.pm line 27.
BEGIN failed--compilation aborted at /opt/koha/includes/C4/Auth.pm line 27.
Compilation failed in require at /opt/koha/opac/cgi-bin/opac-main.pl line 6.
BEGIN failed--compilation aborted at /opt/koha/opac/cgi-bin/opac-main.pl line 6.
[Sun May  4 23:34:22 2003] [error] [client 200.162.230.250] Premature end of script
headers: /opt/koha/opac/cgi-bin/opac-main.pl

This is my koha.conf which the httpd.conf includes:

<VirtualHost opac.konsultex.com.br>
  ServerAdmin webmaster at konsultex.com.br
  DocumentRoot /opt/koha/opac/htdocs
  ScriptAlias  /cgi-bin/koha/ /opt/koha/opac/cgi-bin/
  ServerName opac.konsultex.com.br
</VirtualHost>

SetEnv PERL5LIB "/opt/koha/includes"

This is my /etc/koha.conf:

database=xxxmy_koha_databasexxx
hostname=localhost
user=xxxmy_koha_userxxxx
pass=xxxmy_koha_passwordxxxx
includes=/opt/koha/includes

Template.pm is in fact in /usr/lib/perl5/site_perl/5.6.0/i386-linux but where does
Koha get the HTML/ from? I tried making a directory /opt/koha/includes/HTML and making
a symbolic link to Template.pm. That works up to a point but since Template* has a
whole lot more things I believe it's not the right solution.

Any ideas of what I'm missing?

Thanks.

Miguel

--
Konsultex Informatica (http://www.konsultex.com.br)



More information about the Koha mailing list