koha-3.00.00 make fails
Hi all, I have downloaded http://download.koha.org/koha-3.00.00.tar.gz and began installing it on Debian/etch (in a Linux vserver environment). 0. FINE: cd koha-3.00.00 1. FINE: perl Makefile.PL 2. FAIL: make : : : Manifying blib/man3/C4::UploadedFile.3pm Manifying blib/man3/C4::BackgroundJob.3pm Manifying blib/man3/opac::opac-dictionary.3pm Manifying blib/man3/serials::member-search.3pm /usr/bin/perl "-Iblib/arch" "-Iblib/lib" fix-perl-path.PL blib /usr/bin/perl "-Iblib/arch" "-Iblib/lib" rewrite-config.PL blib/KOHA_CONF_DIR/koha-conf.xml Bad arg length for Socket::inet_ntoa, length is 0, should be 4 at rewrite-config.PL line 67. make: *** [blib/KOHA_CONF_DIR/koha-conf.xml] Error 255 Any ideas what went wrong and how to fix? Aside: there were a couple of other problems with this "out of the box" debian based install of Koha 3.0 which had to be fixed along the way, e.g. seven missing perl modules and libgd not found. I'll report on the entire process from unpacking to a running Koha/3.00.00 once I get to the end. cheers rickw -- ________________________________________________________________ Rick Welykochy || Praxis Services || Internet Driving Instructor The manual said Windows XP/SP2 or better so I installed Linux.
On Sat, Aug 16, 2008 at 3:07 AM, Rick Welykochy <rick@praxis.com.au> wrote:
Hi all,
I have downloaded http://download.koha.org/koha-3.00.00.tar.gz and began installing it on Debian/etch (in a Linux vserver environment).
0. FINE: cd koha-3.00.00
1. FINE: perl Makefile.PL
2. FAIL: make
: : : Manifying blib/man3/C4::UploadedFile.3pm Manifying blib/man3/C4::BackgroundJob.3pm Manifying blib/man3/opac::opac-dictionary.3pm Manifying blib/man3/serials::member-search.3pm /usr/bin/perl "-Iblib/arch" "-Iblib/lib" fix-perl-path.PL blib /usr/bin/perl "-Iblib/arch" "-Iblib/lib" rewrite-config.PL blib/KOHA_CONF_DIR/koha-conf.xml Bad arg length for Socket::inet_ntoa, length is 0, should be 4 at rewrite-config.PL line 67. make: *** [blib/KOHA_CONF_DIR/koha-conf.xml] Error 255
Any ideas what went wrong and how to fix?
Aside: there were a couple of other problems with this "out of the box" debian based install of Koha 3.0 which had to be fixed along the way, e.g. seven missing perl modules and libgd not found.
I'll report on the entire process from unpacking to a running Koha/3.00.00 once I get to the end.
cheers rickw http://lists.koha.org/mailman/listinfo/koha-devel
It sounds like there might be problems with DNS (/etc/hosts not having your hostname); could you report on the result of this command? $ perl -e 'use Sys::Hostname; use Socket; print hostname() . "\n"; print gethostbyname(hostname()) ? "dns good\n" : "dns bad\n";'
Jesse Weaver wrote:
It sounds like there might be problems with DNS (/etc/hosts not having your hostname); could you report on the result of this command?
$ perl -e 'use Sys::Hostname; use Socket; print hostname() . "\n"; print gethostbyname(hostname()) ? "dns good\n" : "dns bad\n";'
Thanks so much, Jesse. Yup, I did not have an entry for the local guest host in this virtual machine partition (vserver). Now "make" completes without error. And "make test" runs through to completion sans error. I am now proceeding to "make install". cheers rickw -- ________________________________________________________________ Rick Welykochy || Praxis Services || Internet Driving Instructor The manual said Windows XP/SP2 or better so I installed Linux.
Hi, I am facing a similar problem. What did you add to your host entries that helped you solve the above problem? (I am on a Mac machine and the script provided by Jesse does give me output as dns bad) Your inputs will be highly appreciated. Thanks. -- View this message in context: http://koha.1045719.n5.nabble.com/koha-3-00-00-make-fails-tp3066793p5782363.... Sent from the Koha-devel mailing list archive at Nabble.com.
Problem solved. Added host entry for my system in /etc/hosts file. -- View this message in context: http://koha.1045719.n5.nabble.com/koha-3-00-00-make-fails-tp3066793p5782366.... Sent from the Koha-devel mailing list archive at Nabble.com.
On Sat, Aug 16, 2008 at 9:31 AM, Jesse Weaver <jesse.weaver@liblime.com> wrote:
It sounds like there might be problems with DNS (/etc/hosts not having your hostname); could you report on the result of this command?
$ perl -e 'use Sys::Hostname; use Socket; print hostname() . "\n"; print gethostbyname(hostname()) ? "dns good\n" : "dns bad\n";'
Hey Jesse - We should have a check for that condition and give a better error message. I opened up bug 2528 <http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=2528> for that. If you have any thoughts on it, or if it's a duplicate or something, please feel free to edit the bug. I can get to it eventually if no one else beats me to it. Thanks, -Andy
participants (4)
-
Andrew Moore -
Jesse Weaver -
Nazneen -
Rick Welykochy