Error while installing odbc.pm

Error while installing odbc.pm

am 07.07.2007 02:14:17 von rtirumale

Got an error while running make. Here is the log.

E:\Perl\DBD-ODBC-1.13>perl makefile.pl
Useless use of private variable in void context at
makefile.pl line 431.

Configuring DBD::ODBC ...

>>> Remember to actually *READ* the README file!
And re-read it if you have any problems.

Using DBI 1.52 (for perl 5.008008 on
MSWin32-x86-multi-thread) installed in C:/Perl/lib/au
to/DBI/

Using DBI 1.52 (for perl 5.008008 on
MSWin32-x86-multi-thread) installed in C:/Perl/lib/au
to/DBI/
Writing Makefile for DBD::ODBC

The DBD::ODBC tests will use these values for the
database connection:
DBI_DSN=dbi:ODBC:TDM_Default_DSN e.g.
dbi:ODBC:demo
DBI_USER=super.super
DBI_PASS=abc


E:\Perl\DBD-ODBC-1.13>make
make: makefile: line 518: Warning -- Duplicate entry
[ODBC.pm] in prerequisite list
C:Perlbinperl.exe: not found
make: Error code 127

E:\Perl\DBD-ODBC-1.13>perl -version

This is perl, v5.8.8 built for
MSWin32-x86-multi-thread
(with 33 registered patches, see perl -V for more
detail)

Copyright 1987-2006, Larry Wall

Binary build 819 [267479] provided by ActiveState
http://www.ActiveState.com
Built Aug 29 2006 12:42:41

Perl may be copied only under the terms of either the
Artistic License or the
GNU General Public License, which may be found in the
Perl 5 source kit.

Complete documentation for Perl, including FAQ lists,
should be found on
this system using "man perl" or "perldoc perl". If
you have access to the
Internet, point your browser at http://www.perl.org/,
the Perl Home Page.








____________________________________________________________ ________________________
No need to miss a message. Get email on-the-go
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail

Re: Error while installing odbc.pm

am 08.07.2007 02:32:18 von ron

Rohini Krishnan wrote:

Hi Rohini

> E:\Perl\DBD-ODBC-1.13>perl makefile.pl

Ahh, Windows.

> E:\Perl\DBD-ODBC-1.13>make

Err, you have to use nmake or dmake under Windows, right?


--
Ron Savage
ron@savage.net.au
http://savage.net.au/

Re: Error while installing odbc.pm

am 08.07.2007 22:20:16 von cos

On Sun, 8 Jul 2007, Ron Savage wrote:
> Rohini Krishnan wrote:
>
> Hi Rohini
>
> > E:\Perl\DBD-ODBC-1.13>perl makefile.pl
>
> Ahh, Windows.

Ahh, yes.

> > E:\Perl\DBD-ODBC-1.13>make
>
> Err, you have to use nmake or dmake under Windows, right?

Probably. There is GNU Make for Windows,
, though it isn't apparent what
version the OP is using. There's also unixutils, from
. However, these seem to support
forward and backward slashes.

ActiveState properly generates a Makefile, at least with regard to the
"PERL =" and "FULLPERL =" paramters, listing perl at C:\Perl\bin\perl.exe
(ActiveState 5.8.8 on Windows XP SP 2 in my case).