[Koha] Location of Perl libraries/Premature end of script headers

Jeff Huestis huestis at wustl.edu
Tue Jan 13 09:59:35 NZDT 2004


Can anyone tell me how the Koha install process locates the Perl
libraries, and where it stores this information?

I see that the "Premature end of script headers" message has been
discussed here before, but it seems to be such a primitive problem that
it's hard to give a useful response.  

I've just been installing Koha today, on a Solaris box, so I don't know
what I'm doing, but:  The opac error log gives me a pretty concrete
problem that needs fixing.  The log messages below show where Koha
looked for the HTML/Template.pm:

   [Mon Jan 12 14:01:47 2004] [error] [client 128.252.66.103] 
      Premature end of script headers: /usr/streamv/koha/opac/cgi-bin/
         opac-main.pl

   [Mon Jan 12 14:01:47 2004] [error] [client 128.252.66.103] 
      Can't locate HTML/Template.pm in @INC 
      (@INC contains: 	
      /usr/streamv/koha/intranet/modules 
	/usr/perl5/5.00503/sun4-solaris 	
	/usr/perl5/5.00503 
	/usr/perl5/site_perl/5.005/sun4-solaris 	
	/usr/perl5/site_perl/5.005 .) 
      at opac-main.pl line 5.

   [Mon Jan 12 14:01:47 2004] [error] [client 128.252.66.103] 
   BEGIN failed--compilation aborted at opac-main.pl line 5.

However, the following was extracted from the output of the "perl -V"
command:

@INC:
  /usr/local/lib/perl5/5.8.0/sun4-solaris
  /usr/local/lib/perl5/5.8.0
  /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris
  /usr/local/lib/perl5/site_perl/5.8.0
  /usr/local/lib/perl5/site_perl

And, indeed, the Template.pm file is found in that search list.

Regards,
Jeff Huestis

_,=~^~=,_,=~^~=,_,=~^~=,_,=~^~=,_,=~^~=,_,=~^~=,_,=~^~=,_,=~^~=,_,=~^~=,
_

  Jeffrey C. Huestis                  huestis at wustl.edu
  Director, Applications and          http://library.wustl.edu/~huestis
     Information Resource Development

  Washington University Libraries     Voice:  314-935-5951
  Campus Box 1061                     Fax:    314-935-4045
  St. Louis, MO 63130

^~=,_,=~^~=,_,=~^~=,_,=~^~=,_,=~^~=,_,=~^~=,_,=~^~=,_,=~^~=,_,=~^~=,_,=~
^ 




More information about the Koha mailing list