lists.katipo.co.nz
Sign In Sign Up
Manage this list Sign In Sign Up

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview
thread

None

None

17 Nov 2005 17 Nov '05
11:48 a.m.
...

From chris@katipo.co.nz Fri Apr 29 11:27:45 2005 Return-Path: <chris@katipo.co.nz> Delivered-To: chris@wilbur.katipo.co.nz Received: (qmail 18942 invoked from network); 28 Apr 2005 23:27:45 -0000 Received: from unknown (HELO shelob.katipo.co.nz) (202.50.109.222) by wilbur.katipo.co.nz with SMTP; 28 Apr 2005 23:27:45 -0000 Received: by shelob.katipo.co.nz (Postfix, from userid 1001) id D9F3184794; Fri, 29 Apr 2005 11:27:45 +1200 (NZST) X-Original-To: chris@katipo.co.nz Delivered-To: chris@katipo.co.nz Received: from localhost (localhost [127.0.0.1]) by shelob.katipo.co.nz (Postfix) with ESMTP id DEDDD84795; Fri, 29 Apr 2005 11:27:37 +1200 (NZST) Received: from shelob.katipo.co.nz ([127.0.0.1]) by localhost (staff.katipo.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 15068-02; Fri, 29 Apr 2005 11:27:37 +1200 (NZST) Received: from daddy-mx.katipo.co.nz (daddy.katipo.co.nz [202.50.109.200]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by shelob.katipo.co.nz (Postfix) with ESMTP; Fri, 29 Apr 2005 11:27:37 +1200 (NZST) Received: from localhost (localhost.katipo.co.nz [127.0.0.1]) by daddy-mx.katipo.co.nz (Postfix) with ESMTP id D4B15E6E8A; Fri, 29 Apr 2005 11:25:28 +1200 (NZST) Received: from daddy-mx.katipo.co.nz ([127.0.0.1]) by localhost (daddy.katipo.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26260-10; Fri, 29 Apr 2005 11:25:27 +1200 (NZST) Received: from localhost.katipo.co.nz (localhost.katipo.co.nz [127.0.0.1]) by daddy-mx.katipo.co.nz (Postfix) with ESMTP; Fri, 29 Apr 2005 11:25:27 +1200 (NZST) Received: from localhost (localhost.katipo.co.nz [127.0.0.1]) by daddy-mx.katipo.co.nz (Postfix) with ESMTP id EFE45E6E83 for <koha@lists.katipo.co.nz>; Fri, 29 Apr 2005 11:25:21 +1200 (NZST) Received: from daddy-mx.katipo.co.nz ([127.0.0.1]) by localhost (daddy.katipo.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25453-09 for <koha@lists.katipo.co.nz>; Fri, 29 Apr 2005 11:25:21 +1200 (NZST) Received: from corinna.its.utas.edu.au (corinna.its.utas.edu.au [131.217.10.51]) by daddy-mx.katipo.co.nz (Postfix) with ESMTP for <koha@lists.katipo.co.nz>; Fri, 29 Apr 2005 11:25:21 +1200 (NZST) Received: from [131.217.29.125] (adsteerlt.antcrc.utas.edu.au [131.217.29.125]) by corinna.its.utas.edu.au (8.12.10+Sun/8.12.10) with ESMTP id j3SNRRVv010030 for <koha@lists.katipo.co.nz>; Fri, 29 Apr 2005 09:27:27 +1000 (EST) Mime-Version: 1.0 (Apple Message framework v622) Content-Transfer-Encoding: 7bit Message-Id: <1bfe5b0fe24abdb0a79545c5ea59a289@adstereo.net> Content-Type: text/plain; charset=US-ASCII; format=flowed To: koha@lists.katipo.co.nz From: adam steer <adam@adstereo.net> Date: Fri, 29 Apr 2005 09:27:26 +1000 X-Mailer: Apple Mail (2.622) X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at katipo.co.nz Subject: [Koha] Incomplete MacOS Koha installation tips... X-BeenThere: koha@lists.katipo.co.nz X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion list for the Koha Library system <koha.lists.katipo.co.nz> List-Unsubscribe: <http://lists.katipo.co.nz/mailman/listinfo/koha>, <mailto:koha-request@lists.katipo.co.nz?subject=unsubscribe> List-Archive: <http://lists.katipo.co.nz/pipermail/koha> List-Post: <mailto:koha@lists.katipo.co.nz> List-Help: <mailto:koha-request@lists.katipo.co.nz?subject=help> List-Subscribe: <http://lists.katipo.co.nz/mailman/listinfo/koha>, <mailto:koha-request@lists.katipo.co.nz?subject=subscribe> Sender: koha-bounces@lists.katipo.co.nz Errors-To: koha-bounces@lists.katipo.co.nz X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at katipo.co.nz X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at katipo.co.nz X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on shelob.katipo.co.nz X-Spam-Level: X-Spam-Status: No, hits=-2.6 required=5.0tests=BAYES_00 autolearn=ham version=3.0.2 Status: RO Content-Length: 4279

Hi all Due to university commitments, I haven't been able to make good my efforts to document koha installation for MacOS 10. For those interested, below is a list of the commands I typed to get Koha installed. *note* updates to Koha and/or MacOS might have made the task easier. Further, your MacOS might not be the same as my MacOS. Please use this as a guide only - not an authoritative document. Hoepfully it is useful, and if nothing else, will serve to highlight any mistakes I made :-) Cheers Adam. MacOS 10.3.7 Koha install ------------------------------------ note: lines beginning with '>' or '#' are commands. Everything else is either output or notes. Lines starting with '#' indicate root or super user privileges.

...

sudo bash [run bash with super user rights - meaning everything you type is done with raised permissions. Be careful - or use root, or type 'sudo' before each command....]

# cd [sourcedir] [insert your Koha source directory above] # perl installer.pl [yes to everything] ..told me that I needed to do: -------------------------------------- perl -MCPAN -e 'install Net::Z3950' perl -MCPAN -e 'install "Date::Manip"' perl -MCPAN -e 'install "DBD::mysql"' perl -MCPAN -e 'install "HTML::Template"' perl -MCPAN -e 'install "MARC::Record"' perl -MCPAN -e 'install "Mail::Sendmail"' perl -MCPAN -e 'install "PDF::API2"' perl -MCPAN -e 'install "Net::LDAP"' perl -MCPAN -e 'install "Event"' perl -MCPAN -e 'install "Net::Z3950"' -------------------------------------- sudo wasn't enough permission, so I did: # su -l root [now I've switched my login shell to root. Exercise extra caution] # perl -MCPAN -e 'install "Date::Manip"' [which failed] # perl -MCPAN -e 'install "DBD::mysql"' [failed again] # perl -MCPAN -e 'install "HTML::Template"' [OK] # perl -MCPAN -e 'install "MARC::Record"' [OK] # perl -MCPAN -e 'install "Mail::Sendmail"' [OK] # perl -MCPAN -e 'install "PDF::API2"' [OK, with prepended Compress::Zlib ] # perl -MCPAN -e 'install "Net::LDAP"' said: - Convert::ASN1 ...missing. (would need 0.07) - Authen::SASL ...missing. (would need 2) - URI::ldap ...missing. (would need 1.1) - IO::Socket::SSL ...missing. (would need 0.81) - XML::SAX::Base ...missing. ...so I installed all of the above, and ran: # perl -MCPAN -e 'install "Net::LDAP"' again. It failed, with the message: Writing Makefile for Net::LDAP make: *** No targets specified and no makefile found. Stop. /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible I tried again, but said no to: - IO::Socket::SSL ...missing. (would need 0.81) ==> Auto-install the 1 optional module(s) from CPAN? [n] n ..and it went OK. # perl -MCPAN -e 'install "Event"' ...returned: Failed 1/24 test scripts, 95.83% okay. 2/126 subtests failed, 98.41% okay. make: *** [test_dynamic] Error 2 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force # perl -MCPAN -e 'install "Net::Z3950"' ...grumbled about no YAZ. So, off to: http://indexdata.dk/yaz/, dowloaded binary, ./configure, make install. However: # perl -MCPAN -e 'install "Net::Z3950"' ..still thinks YAZ is not installed - did I have to put YAZ somewhere unusual? So I went back to back to Date::Manip and DBD::MySQL... For Date::Manip: # cpan

...

force install Date::Manip

....worked Now for DBD::MySQL: I downloaded from CPAN. Once you have the module, unzip it, find the file 'myld', and around line 12, change: ------- my $retval = system @ARGV; to my $retval = system "@ARGV"; ------- [thanks to the eprints2 people for this tip] ..and run: # perl Makefile.PL --libs="`/usr/local/mysql/bin/mysql_config --libs`" --cflags="`/usr/local/mysql/bin/mysql_config --cflags`" [note backticks] # make # make install. Now, head ing back to the Koha source directory and doing: # perl installer.pl Installed Koha with no complaints, minus Net::Z3950. I'm not sure why YAZ wasn't picked up. Finally, back out of root and your sudo'ed shell. _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha

0 0
Reply
Sign in to reply online Use email software

Back to the thread

Back to the list

MailmanLists