Re: Using PPM to install MARC-XML?

2006-01-11 Thread Ed Summers
On 1/11/06, Sperr, Edwin [EMAIL PROTECTED] wrote:
 Well this is odd:

 C:\Documents and Settings\esperrppm install marc-xml
 Installing package 'marc-xml'...
 Error installing package 'marc-xml': Read a PPD for 'marc-xml', but it
 is not in
 tended for this build of Perl (MSWin32-x86-multi-thread)

 Would bumping up a version help? (I'm on Active State 5.6)

Upgrading is probably a good idea. I have a feeling your multi-thread
build is somehow preventing you from installing marc-xml -- but I
really don't know.

An alternative to upgrading might be installing the module manually
using Windows nmake. nmake is essentially make for windows and would
allow you to download a package directly from CPAN, unpack it, and
install it with.

perl Makefile.PL
nmake
nmake test
nmake install

The only disadvantage to this is that you'll need to grab the
dependencies yourself...but you might be able to use ppm for them. The
advantage is you don't have to wait for ActiveState to create a
ppm...and can get stuff hot of the presses (if you're that sort of
person).

John Bokma has some good instructions for using nmake on Windows with
CPAN modules [1].

//Ed

[1] http://johnbokma.com/perl/make-for-windows.html


Re: Using PPM to install MARC-XML?

2006-01-11 Thread Saiful Amin
On 1/11/06, Ed Summers [EMAIL PROTECTED] wrote:
 On 1/11/06, Sperr, Edwin [EMAIL PROTECTED] wrote:
  Well this is odd:
 
  C:\Documents and Settings\esperrppm install marc-xml
  Installing package 'marc-xml'...
  Error installing package 'marc-xml': Read a PPD for 'marc-xml', but it
  is not in
  tended for this build of Perl (MSWin32-x86-multi-thread)
 
  Would bumping up a version help? (I'm on Active State 5.6)

 Upgrading is probably a good idea. I have a feeling your multi-thread
 build is somehow preventing you from installing marc-xml -- but I
 really don't know.

Well, I'm using perl, v5.8.6 built for MSWin32-x86-multi-thread on
WinXP SP2. No problem in re-installing the same.

 ppm uninstall marc-xml
 
 Remove 'marc-xml' version 0.7 from ActivePerl 5.8.6.811.
 
 unlink C:\Perl\bin\marc2xml
 unlink C:\Perl\bin\marc2xml.bat
 unlink C:\Perl\bin\xml2marc
 unlink C:\Perl\bin\xml2marc.bat
 unlink C:\Perl\html\bin\marc2xml.html
 unlink C:\Perl\html\bin\xml2marc.html
 unlink C:\Perl\html\site\lib\MARC\File\XML.html
 unlink C:\Perl\site\lib\MARC\File\SAX.pm
 unlink C:\Perl\site\lib\MARC\File\XML.pm
 unlink C:\Perl\site\lib\auto\MARC\XML\.packlist
 Successfully removed marc-xml version 0.7 from ActivePerl 5.8.6.811.
 ppm install marc-xml
 
 Install 'marc-xml' version 0.7 in ActivePerl 5.8.6.811.
 
 Downloaded 6606 bytes.
 Extracting 13/13: blib/arch/auto/MARC-XML/.exists
 Installing C:\Perl\html\bin\marc2xml.html
 Installing C:\Perl\html\bin\xml2marc.html
 Installing C:\Perl\html\site\lib\MARC\File\XML.html
 Installing C:\Perl\site\lib\MARC\File\SAX.pm
 Installing C:\Perl\site\lib\MARC\File\XML.pm
 Installing C:\Perl\bin\marc2xml
 Installing C:\Perl\bin\marc2xml.bat
 Installing C:\Perl\bin\xml2marc
 Installing C:\Perl\bin\xml2marc.bat
 Successfully installed marc-xml version 0.7 in ActivePerl 5.8.6.811.
 ppm


Regards,
Saiful