koha-win32
[Top][All Lists]
Advanced

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

[Koha-win32] Re: Instructions for installing additional Active Perl Modu


From: Carol Ku
Subject: [Koha-win32] Re: Instructions for installing additional Active Perl Modules in Koha W32
Date: Tue, 31 Oct 2006 13:41:24 -0800 (PST)

Rob Weir kindly sent me the following info for getting additional perl modules.  I followed his instructions after using the preliminary v.2.2.6 installation package, and it worked fine.  Yes, he is just a volunteer helping us Window users, so he needs time to finalize the package.
 
Carol

Rob Weir <address@hidden> wrote:
Hi Carol,
If your Koha server has an internet connection, there is a fairly simple way to install additional perl modules without having to manually download any files. Doing it this way will also insure that you get the latest version of the module and it will also install any required dependencies. This method was tested with Activeperl 5.8.7 Build 813.

To install a module this way:

1. Open a command prompt window (Start -> Programs -> Accessories -> Command Prompt)
2. Type ppm.bat and hit enter. This should start the Programmer's Package Manager and the prompt should change to ppm>
3. Type rep and hit enter. This should list available repositories for perl modules.
4. Type install module replacing "module" with the name of the module you want to install and hit enter. For example install marc-xml
5. The latest version of the requested module should download and install automatically along with any dependencies (other modules that it needs to work properly).
6. Repeat steps 4 and 5 for any additional modules that you need.
7. Type q and hit enter to quit ppm
8. Type exit and hit enter to close the command prompt window

A screen capture of what this process actually looks like is included at the end of this email.

I haven't tested koha 2.2.6 at all yet, but looking at the linux installer script, it looks like you may also need the following additional modules:

* MARC-XML (as already mentioned)
* GD-BARCODE
* DATA-RANDOM
* PDF-REUSE-BARCODE
* DATE-CALC
* MARC-CHARSET
CLASS-ACCESSOR

The installer script also mentions LWP:Simple and ZOOM, but I don't think these are available in the active state repositories. In fact, I'm not sure zoom is available at all for windows. I think zoom is used for the Z3950 retrieval, which has never worked on windows.

I hope this helps. If you don't have an internet connection to the koha server, let me know and I can give you some other instructions for doing it manually.

Let me know how this works for you, and if it does, I will post these instructions to the list.

Rob

SCREEN CAPTURE:

C:\>ppm.bat
PPM - Programmer's Package Manager version 3.2.
Copyright (c) 2001 ActiveState Corp. All Rights Reserved.
ActiveState is a division of Sophos.

Entering interactive shell. Using Term::ReadLine::Perl as readline library.

Type 'help' to get started.

ppm> rep
Repositories:
[1] ActiveState PPM2 Repository
[2] ActiveState Package Repository
ppm> install marc-xml
====================
Install 'XML-NamespaceSupport' version 1.09 in ActivePerl 5.8.7.813.
====================
Downloaded 6702 bytes.
Extracting 5/5: blib/arch/auto/XML/NamespaceSupport/.exists
Installing C:\usr\html\site\lib\XML\NamespaceSupport.html
Installing C:\usr\site\lib\XML\NamespaceSupport.pm
Successfully installed XML-NamespaceSupport version 1.09 in ActivePerl 5.8.7.813
.
====================
Install 'XML-SAX' version 0.14 in ActivePerl 5.8.7.813.
====================
Downloaded 53198 bytes.
Extracting 37/37: blib/arch/auto/XML/SAX/Base/.exists
Installing C:\usr\html\site\lib\XML\SAX.html
Installing C:\usr\html\site\lib\XML\SAX\Base.html
Installing C:\usr\html\site\lib\XML\SAX\DocumentLocator.html
Installing C:\usr\html\site\lib\XML\SAX\Exception.html
Installing C:\usr\html\site\lib\XML\SAX\Intro.html
Installing C:\usr\html\site\lib\XML\SAX\ParserFactory.html
Installing C:\usr\html\site\lib\XML\SAX\PurePerl.html
Installing C:\usr\html\site\lib\XML\SAX\PurePerl\Reader.html
Installing C:\usr\site\lib\XML\SAX.pm
Installing C:\usr\site\lib\XML\SAX\Base.pm
Installing C:\usr\site\lib\XML\SAX\DocumentLocator.pm
Installing C:\usr\site\lib\XML\SAX\Exception.pm
Installing C:\usr\site\lib\XML\SAX\Intro.pod
Installing C:\usr\site\lib\XML\SAX\ParserFactory.pm
Installing C:\usr\site\lib\XML\SAX\placeholder.pl
Installing C:\usr\site\lib\XML\SAX\PurePerl.pm
Installing C:\usr\site\lib\XML\SAX\PurePerl\DebugHandler.pm
Installing C:\usr\site\lib\XML\SAX\PurePerl\DocType.pm
Installing C:\usr\site\lib\XML\SAX\PurePerl\DTDDecls.pm
Installing C:\usr\site\lib\XML\SAX\PurePerl\EncodingDetect.pm
Installing C:\usr\site\lib\XML\SAX\PurePerl\Exception.pm
Installing C:\usr\site\lib\XML\SAX\PurePerl\NoUnicodeExt.pm
Installing C:\usr\site\lib\XML\SAX\PurePerl\Productions.pm
Installing C:\usr\site\lib\XML\SAX\PurePerl\Reader.pm
Installing C:\usr\site\lib\XML\SAX\PurePerl\UnicodeExt.pm
Installing C:\usr\site\lib\XML\SAX\PurePerl\XMLDecl.pm
Installing C:\usr\site\lib\XML\SAX\PurePerl\Reader\NoUnicodeExt.pm
Installing C:\usr\site\lib\XML\SAX\PurePerl\Reader\Stream.pm
Installing C:\usr\site\lib\XML\SAX\PurePerl\Reader\String.pm
Installing C:\usr\site\lib\XML\SAX\PurePerl\Reader\UnicodeExt.pm
Installing C:\usr\site\lib\XML\SAX\PurePerl\Reader\URI.pm
Successfully installed XML-SAX version 0.14 in ActivePerl 5.8.7.813.
could not find ParserDetails.ini in C:/usr/site/lib/XML/SAX
Unable to recognise encoding of this document at C:/usr/site/lib/XML/SAX/PurePer
l/EncodingDetect.pm line 96, <$__ANONIO__> line 69.
Unable to recognise encoding of this document at C:/usr/site/lib/XML/SAX/PurePer
l/EncodingDetect.pm line 96, <$__ANONIO__> line 69.
====================
Install 'marc-xml' version 0.7 in ActivePerl 5.8.7.813.
====================
Downloaded 6606 bytes.
Extracting 13/13: blib/arch/auto/MARC-XML/.exists
could not find ParserDetails.ini in C:/usr/site/lib/XML/SAX
Unable to recognise encoding of this document at C:/usr/site/lib/XML/SAX/PurePer
l/EncodingDetect.pm line 96, line 77.
Installing C:\usr\html\bin\marc2xml.html
Installing C:\usr\html\bin\xml2marc.html
Installing C:\usr\html\site\lib\MARC\File\XML.html
Installing C:\usr\site\lib\MARC\File\SAX.pm
Installing C:\usr\site\lib\MARC\File\XML.pm
Installing C:\usr\bin\marc2xml
Installing C:\usr\bin\marc2xml.bat
Installing C:\usr\bin\xml2marc
Installing C:\usr\bin\xml2marc.bat
Successfully installed marc-xml version 0.7 in ActivePerl 5.8.7.813.
ppm> q

C:\>exit



We have the perfect Group for you. Check out the handy changes to Yahoo! Groups.
reply via email to

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