Can't install DBI.pm in cygwin under Windows 2003 Server
- From: "orangebomber77" <orangebomber77@xxxxxxxxx>
- Date: 21 Jun 2005 14:04:18 -0700
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
.
- Prev by Date: Cannot find DBD-Oracle.ppd
- Next by Date: Perl, Postgres stored procedure returning refcursor, transaction, etc
- Previous by thread: bind_param question
- Next by thread: Perl, Postgres stored procedure returning refcursor, transaction, etc
- Index(es):
Relevant Pages
|
|