View Single Post
Old 04-08-2009, 12:56 PM   #68
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Quote:
Originally Posted by =X= View Post
I can't get this tool to work with ActivePerl. Is there any work around to get this to work... is there any way to package this as a stand alone application?

=X=
I got it to work with ActiveState Perl on Windows using v5.8.8 after a long ordeal!

Does it fail on the perl Build.pl with a version error? (my solution was to edit Tools.pm and set version to 0.00 instead of 0.74 and then build it. Afterwards, I re-edited Tools.pm to set the version back to 0.74.

Oh, ya, I also needed some other .pm libs installed before I could get it to finish. Below is a list of the errors I received and the modules I had to install over and above what Zed specifies on CPAN:
Code:
D:\EBook-Tools-0.4.4>perl build.pl
Error evaling version line 'BEGIN { q#  Hide from _packages_inside()
    #; package Module::Build::ModuleInfo::_version;
    no strict;

    local $VERSION;
    $VERSION=undef;
      $vsub = sub {
        use version 0.74; our $VERSION = qv("0.4.4");;
        $VERSION
      };
  }' in D:\EBook-Tools-0.4.4\lib\EBook\Tools.pm: version version
0.74 required--this is only version 0 at (eval 19) line 8
BEGIN failed--compilation aborted at (eval 19) line 8, <GEN0> line 6.

failed to build version sub for D:\EBook-Tools-0.4.4\lib\EBook\Tools.pm at C:/Perl/site/lib/Module/Build/ModuleInfo.pm line 309, <GEN0> line 6.


======================================================================
In Tools.pm - changed to: use version 0.0; our $VERSION = qv("0.4.4");
======================================================================


D:\EBook-Tools-0.4.4>perl build.pl
Checking whether your kit is complete...
Looks good

Checking prerequisites...
 - ERROR: Config::IniFiles is not installed
 - ERROR: Bit::Vector is not installed
 - ERROR: version is not installed
 - ERROR: String::CRC32 is not installed
 - ERROR: Data::UUID is not installed
 - ERROR: File::Slurp is not installed

ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
of the modules indicated above before proceeding with this installation

Creating new 'Build' script for 'EBook-Tools' version '0.4.4'

======================================================================
In Tools.pm - changed to: use version 0.74; our $VERSION = qv("0.4.4");
======================================================================
Hope it helps!

Last edited by nrapallo; 04-08-2009 at 03:29 PM.
nrapallo is offline   Reply With Quote