Issues Installing CPAN Modules on Win NT - Activestate Perl 5.61



  • 1. perl DBD/DBI to Ingres problem
    I have a perl program to query Ingress database through DBI/DBD and it works fine on command line. However when I use cron job to run the program it complains: install_driver(Ingres) failed: Can't load '/usr/local/lib/perl5/site_perl/5.8.0/alpha- dec_osf/auto/DBD/Ingres/' for module DBD::Ingres: dlopen: cannot load /usr/local/lib/perl5/site_perl/5.8.0/alpha- dec_osf/auto/DBD/Ingres/ at /usr/local/lib/perl5/5.8.0/alpha-dec_osf/ line 229. at (eval 1) line 3 Compilation failed in require at (eval 1) line 3. Perhaps a required shared library or dll isn't installed where expected at /WWW/apache/share/cgi-bin/cgi-perl/ line 27 I tried to fix it by adding more to the PATH in this program but didn't help at all. Wonder what could be the problem? Thanks in advance! Zhiliang

Issues Installing CPAN Modules on Win NT - Activestate Perl 5.61

Postby herders » Sat, 20 Nov 2004 22:52:08 GMT

I am having many difficulties installing Bundle-W3C-Validator-0.6.5
due to  dependencies. I have no problem installing the Activestate ppm
files, but when trying to compile and install the CPAN Modules, they
don't seem to make properly.

The Module I am trying to install is HTML-Parser-3.36.tar.gz

I am using MingW MinGW-3.0.0-1.exe and have tried to use

mingw32-make-3.80.0-1.exe with no success
nmake15 - cannot find specified file or directory U1077 -
nmake /I - makefile completes but nmake test fails
make-3.78.1 - missing separator
dmake - Error - Expecting macro or rule defn, found neither

I'm not sure where to go from here.
Any assistance would be greatly appreciated.

Jack Wayne

Re: Issues Installing CPAN Modules on Win NT - Activestate Perl 5.61

Postby Sisyphus » Sun, 21 Nov 2004 14:45:30 GMT

ActiveState perl comes with HTML-Parser-3.36 already installed - at 
least the latest 5.6.1 build (638) does.

In any case the META.yml file states that you need only version 3.25 or 
later - so unless you have a very old build of perl5.6.1, it should be ok.

To see what version you have, run:
perl -MHTML::Parser -e "print $HTML::Parser::VERSION"

If you can't find a particular ppm, be sure to check the repository at:

Note: I haven't installed this bundle - I don't know what other (if any) 
problems may surface in trying to get it installed on AS perl. If you 
can get all of those prerequisites installed first, then that should 
simplify things quite a bit.

If you want to build modules with MinGW and dmake, then first build perl 
with MinGW and dmake. It's not difficult - just download the perl 5.8.5 
source from CPAN, and follow the instructions in the 'README.win32'.

That particular version of MinGW (ie MinGW-3.0.0-1.exe) will do just fine.


To reply by email u have to take out the u in kalinaubears.

Re: Issues Installing CPAN Modules on Win NT - Activestate Perl 5.61

Postby herders » Tue, 23 Nov 2004 08:42:39 GMT

The HTML::Parser Version is 3.13, I can't remember the version that is
available in the repository but it also doesn't satify the
Config::General is another package that will not install properly.
I haven't got past the Config::general so I don't know of other
dependencies yet.

I will check the repository below, for other versions.
I am guessing that by installing activestate Perl I will not be able
to install modules compiled with MingW as the compiled modules will be

Compiling perl for my use only would suffice although, perl will not
be compiled on the server I work on.

Thanks for Tips

Jack Wayne

Re: Issues Installing CPAN Modules on Win NT - Activestate Perl 5.61

Postby Sisyphus » Tue, 23 Nov 2004 09:03:13 GMT

I could send you HTML::Parser-3.36 if you like. (See below for my 
correct email address.)

The latest version of Config::General should be ok. It's a pure perl 
module so, if you have a properly functioning 'nmake', you could install 
it by grabbing the source from CPAN, extracting the source to some 
folder, 'cd'ing to that folder and running in succession:

perl Makefile.PL
nmake test
nmake install

You could even simply install it by manually copying the '.pm' files to 
the correct location - though that's messy, prone to error, and not 

It's dated 15th June - I thought ActiveState would have a ppm for it by now.

Problems arise when you start compiling modules using a compiler that is 
different to what perl was built with. If perl was built with MSVC++6.0 
(as is the case with ActiveState perl) then the smart thing to do is to 
use MSVC++6.0 to build the modules - otherwise you might (and usually 
do) hit problems.

However, modules built on AS perl using the MSVC++6.0 compiler will work 
perfectly well on a MinGW-built perl (and probably any other perl on 
Win32). And modules built on a MinGW-built perl using the MinGW compiler 
will function equally well on AS perl (and probably any other perl on 

I should point out that trying to mix perl 5.6 and 5.8 binaries won't 
work. So don't go compiling extension modules (ie modules that contain 
an '.xs' file) on perl 5.8, and try to use them on perl 5.6, or vice-versa.


To reply by email u have to take out the u in kalinaubears.

Similar Threads:

1.installing modules to ActiveState Perl from cpan downloads

I just got one of those keychain usb 64mb memory chips today as a gift,
so I put the ActiveState Perl installation file and html version of
perldocs on it.

Suppose I am at a friend's house telling him about how great Perl is
and he wants it installed.  I then try to run one of my programs and a
needed module is missing.  His internet connection is down.  I have the
needed module install files on my memory stick which were downloaded
from cpan.  Do I have to use ppm to install?  Do they have to be in ppm
format?  What if I install them on my machine and then copy my lib
directory and carry that with me?  As far as compilation, I will
probably only be using them on Windows XP machines anyway.



2.libtclperl.dll for tcl4.9 and Perl 5.61


Is someone have libtclperl.dll for Perl 5.61 and tcl4.9

Thank zacky

3.cpan module installation using Activestate perl package manager


How do i install FILE::TAIL using activestate perl
doing a search using perl package manager doesnt show File::Tail module in
its repository


4.Html issue with Module::Build (Win32 ActiveState Perl)

5.ActiveState ppm Installation, Win 98 versus Win XP

I have the ActiveState Perl installation on two computers, one using
Win XP Professional and one using Windows 98 SE.  Both use Perl
version 5.8.0, build 806.  I downloaded the installation file once and
then installed it on both computers, so I know that both use exactly
the same version.

I used the ppm installer to install the Bit-Vector module (available
from the ActiveState site) on the Win 98 computer, but when I try to
install it on the Win XP computer, I get the message, "No suitable
target installation found for package Bit-Vector."  After researching
this message, I came to the conclusion that it was caused by the
module's being written for some versions of Perl but not for others.
But both of my computers use exactly the same Perl version.

Why would it install on one computer but not the other one?  I would
like to be able to use it on both computers.

6. Perl Module Install failing for Activestate 5.8 Win32

7. for installing perl modules - is there a default C compiler on win X64

8. ActiveState Perl for Win XP

Return to PERL


Who is online

Users browsing this forum: No registered users and 79 guest