[Koha] Re: Koha/Solaris 9 install problem

Tom Metzger tom at incolsa.net
Thu Apr 26 16:52:51 NZST 2007


Chris Cormack wrote:
 >On 26/04/2007, at 4:08 PM, Tom Metzger wrote:

>> Output to that (plus a couple other commands that may help) included 
>> here:
>>
>> cedar:/# perl -e "require MARC::File::XML;"
>> could not find ParserDetails.ini in 
>> /usr/local/lib/perl5/site_perl/5.8.7/XML/SAX
>> Unable to provide required features
>> Compilation failed in require at -e line 1.
>
> Ah ha, so thats why its failing, you might want to true installing 
> XML::SAX again and see if that fixes that error.
> It appears MARC::File::XML is installed, but is in an unusable state, 
> so when the require is called by the installer.pl, it fails. Hence it 
> complaining its not installed
>
> Chris 


OK, Chris' suggestion, while true, didn't solve the problem because when 
I tried to reinstall it automatically via CPAN, it said that it was 
already up-to-date.  However....


Mike Dalgity wrote:
> This might help with your XML::SAX 
> error http://perl-xml.sourceforge.net/faq/#parserdetails.ini   There 
> are known problems with the XML parser included with XML::SAX 0.13 and 
> 0.14.  I've fixed it before by installing XML::SAX::Expat. 
> http://klog.fuzzylab.net/permalink/308600.html
>  
> Mike D.

 Mike's solution triggered what I needed...a MANUAL re-install of 
XML::SAX ...and while it still didn't "ask whether ParserDetails.ini 
should be updated", it put the file out there where it needed to be 
nonetheless.

Now I just have one more (hopefully minor) question:  Is the following 
error/warning (beginning with the word "Subroutine...") anything I need 
to be concerned with before proceeding?  I've done a manual re-install 
of PDF::API2 and the error message still shows up:

.......
Checking perl modules ...
Subroutine PDF::API2::Resource::Font::Postscript::O_RDONLY redefined at 
/usr/local/lib/perl5/5.8.8/Exporter.pm line 65.
 at 
/usr/local/lib/perl5/site_perl/5.8.8/PDF/API2/Resource/Font/Postscript.pm 
line 46


 PERL MODULES AVAILABLE

All required perl modules are installed.

Press <ENTER> to continue:



Chris Cormack wrote:
>
> On 26/04/2007, at 4:08 PM, Tom Metzger wrote:
>
>> Output to that (plus a couple other commands that may help) included 
>> here:
>>
>> cedar:/# perl -e "require MARC::File::XML;"
>> could not find ParserDetails.ini in 
>> /usr/local/lib/perl5/site_perl/5.8.7/XML/SAX
>> Unable to provide required features
>> Compilation failed in require at -e line 1.
>
> Ah ha, so thats why its failing, you might want to true installing 
> XML::SAX again and see if that fixes that error.
> It appears MARC::File::XML is installed, but is in an unusable state, 
> so when the require is called by the installer.pl, it fails. Hence it 
> complaining its not installed
>
> Chris
>
>> cedar:/# which perl
>> /usr/local/bin/perl
>> cedar:/# perl -v
>>
>> This is perl, v5.8.8 built for sun4-solaris
>>
>> Copyright 1987-2006, Larry Wall
>>
>> Perl may be copied only under the terms of either the Artistic 
>> License or the
>> GNU General Public License, which may be found in the Perl 5 source kit.
>>
>> Complete documentation for Perl, including FAQ lists, should be found on
>> this system using "man perl" or "perldoc perl".  If you have access 
>> to the
>> Internet, point your browser at http://www.perl.org/, the Perl Home 
>> Page.
>>
>> cedar:/#
>>
>> Thanks again for your help.
>>
>>
>>
>> Chris Cormack wrote:
>>>
>>> On 26/04/2007, at 1:05 PM, Tom Metzger wrote:
>>>
>>>>>
>>>>>
>>>>> MISSING PERL MODULES
>>>>>
>>>>> You are missing some Perl modules required by Koha. Please run 
>>>>> this again
>>>>> after installing them. They may be installed by finding packages 
>>>>> from your
>>>>> operating system supplier, or running (as root) the following 
>>>>> commands:
>>>>>
>>>>> perl -MCPAN -e 'install "MARC::File::XML"'
>>>>>
>>>>> perl -MCPAN -e 'install "You will need Net::LDAP if you want to 
>>>>> authentify
>>>>> patrons through a LDAP"'
>>>>>
>>>>>
>>>>> cedar:/usr/local/src/koha/koha-2.2.8# perl -MCPAN -e 'install 
>>>>> "MARC::File::XML"'
>>>>> CPAN: Storable loaded ok (v2.13)
>>>>> Going to read /.cpan/Metadata
>>>>>   Database was generated on Mon, 23 Apr 2007 13:09:44 GMT
>>>>> MARC::File::XML is up to date (0.85).
>>>>> cedar:/usr/local/src/koha/koha-2.2.8#
>>>>>
>>>>> The MARC::File::XML, as you can see, is installed and up-to-date, 
>>>>> but the installer continues to warn about it (and die).  Any 
>>>>> suggestions from others who have been there?
>>>>>
>>> Hi Tom
>>>
>>> What happens when you run
>>>
>>>  perl -e "require MARC::File::XML;"
>>>
>>> (Thats essentially what the installer is doing to check the module). 
>>> Does it succeed silently or do you get a Cant Locate message?
>>>
>>> Chris
>>>
>>> -- 
>>> Chris Cormack                            chris.cormack at liblime.com
>>> VP Research and Development                        www.liblime.com
>>> LibLime                                             +64 21 542 131
>>>
>>>
>>
>> -- Tom Metzger INCOLSA Systems Administrator Help Stop Internet Spam! 
>> ---> http://spam.abuse.net Sometimes you have to stride boldly up to 
>> Life, look it straight in the eye, and say "huh?"
>
> -- 
> Chris Cormack                            chris.cormack at liblime.com
> VP Research and Development                        www.liblime.com
> LibLime                                             +64 21 542 131
>
>

-- 
Tom Metzger                                     INCOLSA Systems Administrator
Help Stop Internet Spam! --->                           http://spam.abuse.net
          Sometimes you have to stride boldly up to Life,
            look it straight in the eye, and say "huh?"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20070426/ef54cb6d/attachment.htm


More information about the Koha mailing list