koha-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-devel] Web installer, database, Darwin (maybe other BSDs?), qx(),


From: MJ Ray
Subject: [Koha-devel] Web installer, database, Darwin (maybe other BSDs?), qx(), mysql
Date: Thu, 10 Jan 2008 23:49:51 +0000
User-agent: Heirloom mailx 12.2 01/07/07

This is just a short note to let the list know that I've found a
couple of problems with the installation process which affect at
least Darwin, MacOS X installations and I wouldn't be surprised
if other BSD-like systems had similar problems.  Anyone managed to
install successfully on one?

1. MARC::File::XML won't install under sudo perl -MCPAN.  The make test
step fails.  Running as root works.  Not sure why this is and I've no
plans to debug it further.  This had me mystified for far too long.

2. the web installer can't invoke the mysql command-line client. The
error is like "sh: line 1: -u: command not found" and appears once for
each SQL file.  I think this is the portability problem described in
man perlop under the qx subheading.  It's very similar to a problem in
the 2.x installer.

Galen has offered a few possible solutions (IPC::Open3, IPC::Cmd), I
think I know some other possibles (DBIx modules and so on) and there's
the solution I put in place last July that hdl rejected (pure DBI) if
we get really stuck. I'll work through them until one works (starting
with open3) unless anyone has a quick fix or sees a fatal flaw in any
of them.  I should have something coded in about 12 hours' time.

Hope that helps someone,
-- 
MJ Ray http://mjr.towers.org.uk/email.html tel:+44-844-4437-237 -
Webmaster-developer, statistician, sysadmin, online shop builder,
consumer and workers co-operative member http://www.ttllp.co.uk/ -
Writing on koha, debian, sat TV, Kewstoke http://mjr.towers.org.uk/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]