I'm running into a problem trying to install Koha on Solaris 9. Here is the output which is torturing me: cedar:/usr/local/src/koha/koha-2.2.8# perl installer.pl WELCOME TO THE KOHA INSTALLER This program will ask some questions and try to install koha for you. You need to know: where most koha files should be stored (you can set the prefix environment variable for this); the username and password of a mysql superuser; and details of your library setup. You may also need to know details of your Apache setup. If you want to install the Koha configuration files somewhere other than /etc (for installing not as root, or to have many Kohas on one system, for example), you should set the etcdir environment variable. Please look at your manuals for details of how to set that. Recommended answers are given in brackets after each question. To accept the default value for any question (indicated by []), simply hit Enter at the prompt. Note that you also can define an auto_install_file, that will answer every question automatically. To use this feature, run ./installer.pl -i /path/to/auto_install_file Are you ready to begin the installation? ([Y]/N): y Great! Continuing... PERL MODULES Checking perl modules ... could not find ParserDetails.ini in /usr/local/lib/perl5/site_perl/ 5.8.7/XML/SAX Subroutine PDF::API2::Resource::Font::Postscript::O_RDONLY redefined at /usr/local/lib/perl5/5.8.7/Exporter.pm line 65. at /usr/local/lib/perl5/site_perl/5.8.7/PDF/API2/Resource/Font/ Postscript.pm line 46 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? Tom Metzger INCOLSA Systems Administrator Sometimes you have to stride boldly up to Life, look it straight in the eye, and say "huh?"
Do questions not get answered on the list unless we pay for support? Tom Metzger wrote:
I'm running into a problem trying to install Koha on Solaris 9. Here is the output which is torturing me:
cedar:/usr/local/src/koha/koha-2.2.8# perl installer.pl
WELCOME TO THE KOHA INSTALLER
This program will ask some questions and try to install koha for you. You need to know: where most koha files should be stored (you can set the prefix environment variable for this); the username and password of a mysql superuser; and details of your library setup. You may also need to know details of your Apache setup.
If you want to install the Koha configuration files somewhere other than /etc (for installing not as root, or to have many Kohas on one system, for example), you should set the etcdir environment variable. Please look at your manuals for details of how to set that.
Recommended answers are given in brackets after each question. To accept the default value for any question (indicated by []), simply hit Enter at the prompt.
Note that you also can define an auto_install_file, that will answer every question automatically. To use this feature, run ./installer.pl -i /path/to/auto_install_file
Are you ready to begin the installation? ([Y]/N): y Great! Continuing...
PERL MODULES
Checking perl modules ... could not find ParserDetails.ini in /usr/local/lib/perl5/site_perl/5.8.7/XML/SAX Subroutine PDF::API2::Resource::Font::Postscript::O_RDONLY redefined at /usr/local/lib/perl5/5.8.7/Exporter.pm line 65. at /usr/local/lib/perl5/site_perl/5.8.7/PDF/API2/Resource/Font/Postscript.pm line 46
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?
Tom Metzger INCOLSA Systems Administrator Sometimes you have to stride boldly up to Life, look it straight in the eye, and say "huh?"
-- 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?"
On 26/04/2007, at 1:05 PM, Tom Metzger wrote:
Do questions not get answered on the list unless we pay for support?
Hi Tom Im not sure if you have noticed, but I have been answering, and so have lots of other people been, questions on the list. All the questions I have answered are all from people who havent paid me for support. Questions get answered if people know the answers. I suspect no one else on the lists has run into this problem (or in my case has a spare solaris machine to test on) I hope that you were just asking a genuine question above, not attacking people who give considerable amounts of their spare time to work on Koha. On my lunch break I will go look at the install.pm file and see if I can spot what might be causing the issue. Chris -- Chris Cormack chris.cormack@liblime.com VP Research and Development www.liblime.com LibLime +64 21 542 131
Chris, Thank you, it really was a genuine question. I noticed questions being answered and I'm on a time schedule from my boss for getting this installed so I wanted to know if I was wasting my time waiting for an answer that might not come. I realize Solaris isn't used by alot of people with Koha but I was hoping that someone would have run into my problem and would be able to point me in the right direction. Thanks for the response. Tom Chris Cormack wrote:
On 26/04/2007, at 1:05 PM, Tom Metzger wrote:
Do questions not get answered on the list unless we pay for support?
Hi Tom
Im not sure if you have noticed, but I have been answering, and so have lots of other people been, questions on the list. All the questions I have answered are all from people who havent paid me for support.
Questions get answered if people know the answers.
I suspect no one else on the lists has run into this problem (or in my case has a spare solaris machine to test on)
I hope that you were just asking a genuine question above, not attacking people who give considerable amounts of their spare time to work on Koha.
On my lunch break I will go look at the install.pm file and see if I can spot what might be causing the issue.
Chris
-- Chris Cormack chris.cormack@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?"
On 26/04/2007, at 4:06 PM, Tom Metzger wrote:
Chris, Thank you, it really was a genuine question. I noticed questions being answered and I'm on a time schedule from my boss for getting this installed so I wanted to know if I was wasting my time waiting for an answer that might not come. I realize Solaris isn't used by alot of people with Koha but I was hoping that someone would have run into my problem and would be able to point me in the right direction.
Cool in that case, ignore any grumpiness in my reply and chalk it up to NZ losing to Sri Lanka in the cricket world cup semi finals :) Chris -- Chris Cormack chris.cormack@liblime.com VP Research and Development www.liblime.com LibLime +64 21 542 131
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@liblime.com VP Research and Development www.liblime.com LibLime +64 21 542 131
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. 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@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?"
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@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@liblime.com VP Research and Development www.liblime.com LibLime +64 21 542 131
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@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@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?"
On 26/04/2007, at 4:52 PM, Tom Metzger wrote:
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
Hi again Tom Yeah I think you can safely ignore that error. Chris -- Chris Cormack chris.cormack@liblime.com VP Research and Development www.liblime.com LibLime +64 21 542 131
Thanks again Chris and Mike. Chris Cormack wrote:
On 26/04/2007, at 4:52 PM, Tom Metzger wrote:
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
Hi again Tom
Yeah I think you can safely ignore that error.
Chris -- Chris Cormack chris.cormack@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?"
participants (2)
-
Chris Cormack -
Tom Metzger