Can't install DBI.pm in cygwin under Windows 2003 Server



I am attempting to establish a connection to a MySQL server
running on a remote Linux box through perl via cygwin on a
Windows 2003 server. I have been able to get this to work
without any trouble on Windows XP Pro.

The problem seems to be that I cannot get the DBI.pm module
to install on the Windows machine. Here is what I am doing:

Install cygwin with these options:
- gcc (devel)
- make (devel)
- binutils (devel)
- Perl 5.8.6 (interpreters)
- Perl win32 API (libs)
- PostgreSQL (database)

And I am installing DBI-1.48.tar.gz (latest version from CPAN)
as follows:
- Unpack the kit into /usr/src (c:\cygwin\usr\src)
- Open a cygwin shell and cd to /usr/src/DBI-1.48
- perl Makefile.PL
- make
- make test
- make install

The problem occurs right when I run "perl Makefile.PL". It seems
that no matter what I do, I get this error:

"Can't locate loadable object for module DBI in @INC".

I have tried building my own MySQL under cygwin as well (which
seems to be necessary to use DBD:MySQL) but this does nothing
for DBI.pm. This issue does not occur on XP and seems to be
2003 Server specific.

Has anyone else had similar experiences or know of a way around
this issue? I believe you see this same issue on XP if you have
not installed PostgreSQL previously. That is not the case here.

Anyway advice offered would be useful!
Thanks,
Mark

.



Relevant Pages

  • Re: VNC on XP and dtterm on Solaris 8
    ... in Xwindows the PC is serving the windows up for the sun windows ... I'm sure it will become clear when I receive the config files. ... Is Cygwin considered a security hole, or is there some other reason I ... If you install cygwin - which ...
    (comp.unix.solaris)
  • Re: NDBM module for ActiveState/Winxx?
    ... Hmmmmm...from a generic install of ActiveState Perl 5.8.4 on Windows XP sp2: ... For large files (where tied hashes to DBM-type ...
    (comp.lang.perl.misc)
  • Re: GNAT on a multiboot computer
    ... > you can't assume that for any software installed on windows, and cygwin ... > and native software under windows: path incompatibilities, ... > make install PolyORB. ...
    (comp.lang.ada)
  • Re: About blackdown
    ... >> for Linux, OSX, and Windows, with all executable and library files in one ... >> or a few directories on an install CD, ... Then I saw "Learning Perl" on special for $7 at a store. ... But Java has worked well and I like Perl. ...
    (Debian-User)
  • Re: Need help installing WWW-Search-Ebay-2.193 Module...
    ... One of the O'Reilly Books has a script that calls this ... perl Makefile.PL ... you may need to find and install command-line versions of tar and gzip ... > ActivePerl for Linux under Cygwin ...
    (comp.lang.perl.misc)