Trouble with perl Makefile.PL

Trouble with perl Makefile.PL

am 15.10.2003 15:43:36 von Carol Andrejak

Hello list,

It has now been two weeks of dealing with this
problem. My situation so far:

After finally getting MySQL reinstalled and working it
is now time to try to get the perl mysql module
installed. As anticipated, I am having problems right
from the start. I have downloaded the
Msql-Mysql-modules-1.2219.tar.gz into the tmp folder.
(I'm running RedHat 8.0, Apache 2.0 and MySQL 4.0.15).
I untarred the file and then typed the perl
Makefile.PL command from within the module folder.
This is what I got:

$ perl Makefile.PL
Can't locate ExtUtils/PerlPP.pm in @INC (@INC
contains: lib
/usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl .) at Makefile.PL line 18.
BEGIN failed--compilation aborted at Makefile.PL line
18.

Evidently I'm missing something. Would it have
anything to do with the DBI module? I'd already
installed that but it was before I uninstalled and
reinstalled MySQL. The DBI module installed ok with no
problems before so I elected not to do it again. Was
this the wrong choice? Can you folks guide me on what
to try next? Thanks.

=====

Carol Andrejak
Webmaster
Delaware State University
Grossley Hall Rm. 1
302-857-7045




--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

RE: Trouble with perl Makefile.PL

am 15.10.2003 16:00:11 von michael.watson

OK so perl is looking for a module, ExtUtils::PerlPP.pm

First off, see if you have this module installed by either searching for it or by doing something like:

perldoc ExtUtils::PerlPP

Either way, if you have it, then you need to find it and add it to the @INC array in MakeFile.PL. Something like 'use lib "path/to/ExtUtils/PerlPP";' at the top should do it.

More likely is that you don't have this installed. If not, go get it from:

http://search.cpan.org/~jwied/Msql-Mysql-modules-1.2219/lib/ ExtUtils/PerlPP.pm

-----Original Message-----
From: Carol Andrejak [mailto:dsu_webmaster@yahoo.com]
Sent: 15 October 2003 14:44
To: perl
Subject: Trouble with perl Makefile.PL


Hello list,

It has now been two weeks of dealing with this
problem. My situation so far:

After finally getting MySQL reinstalled and working it
is now time to try to get the perl mysql module
installed. As anticipated, I am having problems right
from the start. I have downloaded the
Msql-Mysql-modules-1.2219.tar.gz into the tmp folder.
(I'm running RedHat 8.0, Apache 2.0 and MySQL 4.0.15).
I untarred the file and then typed the perl
Makefile.PL command from within the module folder.
This is what I got:

$ perl Makefile.PL
Can't locate ExtUtils/PerlPP.pm in @INC (@INC
contains: lib
/usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl .) at Makefile.PL line 18.
BEGIN failed--compilation aborted at Makefile.PL line
18.

Evidently I'm missing something. Would it have
anything to do with the DBI module? I'd already
installed that but it was before I uninstalled and
reinstalled MySQL. The DBI module installed ok with no
problems before so I elected not to do it again. Was
this the wrong choice? Can you folks guide me on what
to try next? Thanks.

=====

Carol Andrejak
Webmaster
Delaware State University
Grossley Hall Rm. 1
302-857-7045




--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=michael.watson@bbsrc.ac.uk

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

RE: Trouble with perl Makefile.PL

am 15.10.2003 16:00:11 von michael.watson

OK so perl is looking for a module, ExtUtils::PerlPP.pm

First off, see if you have this module installed by either searching for it or by doing something like:

perldoc ExtUtils::PerlPP

Either way, if you have it, then you need to find it and add it to the @INC array in MakeFile.PL. Something like 'use lib "path/to/ExtUtils/PerlPP";' at the top should do it.

More likely is that you don't have this installed. If not, go get it from:

http://search.cpan.org/~jwied/Msql-Mysql-modules-1.2219/lib/ ExtUtils/PerlPP.pm

-----Original Message-----
From: Carol Andrejak [mailto:dsu_webmaster@yahoo.com]
Sent: 15 October 2003 14:44
To: perl
Subject: Trouble with perl Makefile.PL


Hello list,

It has now been two weeks of dealing with this
problem. My situation so far:

After finally getting MySQL reinstalled and working it
is now time to try to get the perl mysql module
installed. As anticipated, I am having problems right
from the start. I have downloaded the
Msql-Mysql-modules-1.2219.tar.gz into the tmp folder.
(I'm running RedHat 8.0, Apache 2.0 and MySQL 4.0.15).
I untarred the file and then typed the perl
Makefile.PL command from within the module folder.
This is what I got:

$ perl Makefile.PL
Can't locate ExtUtils/PerlPP.pm in @INC (@INC
contains: lib
/usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl .) at Makefile.PL line 18.
BEGIN failed--compilation aborted at Makefile.PL line
18.

Evidently I'm missing something. Would it have
anything to do with the DBI module? I'd already
installed that but it was before I uninstalled and
reinstalled MySQL. The DBI module installed ok with no
problems before so I elected not to do it again. Was
this the wrong choice? Can you folks guide me on what
to try next? Thanks.

=====

Carol Andrejak
Webmaster
Delaware State University
Grossley Hall Rm. 1
302-857-7045




--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=michael.watson@bbsrc.ac.uk

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: Trouble with perl Makefile.PL

am 16.10.2003 17:53:08 von Rudy Lippan

On Wed, 15 Oct 2003, Carol Andrejak wrote:

> After finally getting MySQL reinstalled and working it
> is now time to try to get the perl mysql module
> installed. As anticipated, I am having problems right
> from the start. I have downloaded the
> Msql-Mysql-modules-1.2219.tar.gz into the tmp folder.

This is a very old version of DBD::mysql

Try using DBD-mysql-2.9002 which is the latest release version.


Rudy


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: Trouble with perl Makefile.PL

am 16.10.2003 17:53:08 von Rudy Lippan

On Wed, 15 Oct 2003, Carol Andrejak wrote:

> After finally getting MySQL reinstalled and working it
> is now time to try to get the perl mysql module
> installed. As anticipated, I am having problems right
> from the start. I have downloaded the
> Msql-Mysql-modules-1.2219.tar.gz into the tmp folder.

This is a very old version of DBD::mysql

Try using DBD-mysql-2.9002 which is the latest release version.


Rudy


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org