Installation Help - Perl module purgatory

Can somebody help me interpret all this? I’m new to Perl. I’ve got the
dependencies test happy now with all but two of the modules:

[root@Kidd rt-3-0-8]# perl ./sbin/rt-test-dependencies --with-mysql
–with-modperl1 | grep MISS
Apache::Request …MISSING
DBD::mysql 2.1018…MISSING
[root@Kidd rt-3-0-8]#

Here’s the blowback from DBD::mysql

[root@Kidd rt-3-0-8]# perl -MCPAN -e 'install DBD::mysql’
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Sun, 11 Jan 2004 23:58:58 GMT
Running install for module DBD::mysql
Running make for R/RU/RUDY/DBD-mysql-2.9003.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for
/root/.cpan/sources/authors/id/R/RU/RUDY/DBD-mysql-2.9003.tar.gz okScanning
cache /root/.cpan/build for sizes
Deleting from cache: /root/.cpan/build/libapreq-1.3 (11.0>10.0 MB)
DBD-mysql-2.9003/
DBD-mysql-2.9003/t/
DBD-mysql-2.9003/t/mysql2.t

…bla bla bla

DBD-mysql-2.9003/dbdimp.c

…bla bla bla

DBD-mysql-2.9003/INSTALL.html
DBD-mysql-2.9003/Makefile.PL
DBD-mysql-2.9003/ChangeLog
DBD-mysql-2.9003/constants.h
DBD-mysql-2.9003/TODO
Removing previously used /root/.cpan/build/DBD-mysql-2.9003

CPAN.pm: Going to build R/RU/RUDY/DBD-mysql-2.9003.tar.gz

Can’t exec “mysql_config”: No such file or directory at Makefile.PL line
174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Can’t exec “mysql_config”: No such file or directory at Makefile.PL line
174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Can’t exec “mysql_config”: No such file or directory at Makefile.PL line
174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Can’t exec “mysql_config”: No such file or directory at Makefile.PL line
174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Can’t exec “mysql_config”: No such file or directory at Makefile.PL line
174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Failed to determine directory of mysql.h. Use

perl Makefile.PL --cflags=-I

to set this directory. For details see the INSTALL.html file,
section “C Compiler flags” or type

perl Makefile.PL --help
Running make test
Make had some problems, maybe interrupted? Won’t test
Running make install
Make had some problems, maybe interrupted? Won’t install
[root@Kidd rt-3-0-8]#

There’s no mysql_config or mysql.h on my system (RPM install) ???

Base is RedHat 9 Professional
Perl 5.8.0
MySQL 4.0.17
RT 3.0.8
httpd 2.0.40
mod_perl 1.99

And here’s the blowback from Apache::Request

[root@Kidd rt-3-0-8]# perl -MCPAN -e 'install Apache::Request’
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Sun, 11 Jan 2004 23:58:58 GMT
Running install for module Apache::Request
Running make for J/JO/JOESUF/libapreq-1.3.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for /root/.cpan/sources/authors/id/J/JO/JOESUF/libapreq-1.3.tar.gz
ok
Scanning cache /root/.cpan/build for sizes
libapreq-1.3/
libapreq-1.3/c/
libapreq-1.3/c/apache_request.c

…bla bla compiler gack…

libapreq-1.3/MANIFEST

CPAN.pm: Going to build J/JO/JOESUF/libapreq-1.3.tar.gz

mod_perl 1.x ( < 1.99) is required at Makefile.PL line 29.
BEGIN failed–compilation aborted at Makefile.PL line 31.
Running make test
Make had some problems, maybe interrupted? Won’t test
Running make install
Make had some problems, maybe interrupted? Won’t install
[root@Kidd rt-3-0-8]#

Any help most appreciated. thanks, Joe

At 07:39 PM 1/12/2004, Luker, Joseph wrote:
[snip happens]

Base is RedHat 9 Professional
Perl 5.8.0
MySQL 4.0.17

Make sure you have the MySQL-devel and MySQL-shared packages installed. The
former you definitely need and the latter is probably needed.

RT 3.0.8
httpd 2.0.40
mod_perl 1.99

mod_perl 1.99 is really mod_perl 2. It’s still in beta technically. Be
careful with Redhat built RPMs of mod_perl 2. Many are severely broken. You
may want to grab an SRPM from Fedora or one from
http://httpd.apache.org/~gozer/mp2/.

Michael

Michael S. Liebman m-liebman@northwestern.edu
http://msl521.freeshell.org/
“I have vision and the rest of the world wears bifocals.”
-Paul Newman in “Butch Cassidy & the Sundance Kid”

No luck so far. Anybody have any other ideas???

have added -devel and -shared packages for MySQL

also
have dropped back to building Apache 1.3.29 statically with mod_perl
and using 1.29 on mod_perl

still can’t get a make/install on these two modules?
Apache::Request …MISSING
DBD::mysql 2.1018…MISSING

rt 3.0.8
mysql 4.0.17
RedHat 9 baseFrom: Michael S. Liebman
To: Luker, Joseph; 'users, rt ’
Sent: 1/13/04 3:44 AM
Subject: Re: [rt-users] Installation Help - Perl module purgatory

At 07:39 PM 1/12/2004, Luker, Joseph wrote:
[snip happens]

Base is RedHat 9 Professional
Perl 5.8.0
MySQL 4.0.17

Make sure you have the MySQL-devel and MySQL-shared packages installed.
The
former you definitely need and the latter is probably needed.

RT 3.0.8
httpd 2.0.40
mod_perl 1.99

mod_perl 1.99 is really mod_perl 2. It’s still in beta technically. Be
careful with Redhat built RPMs of mod_perl 2. Many are severely broken.
You
may want to grab an SRPM from Fedora or one from
http://httpd.apache.org/~gozer/mp2/.

Michael

Michael S. Liebman m-liebman@northwestern.edu
http://msl521.freeshell.org/
“I have vision and the rest of the world wears bifocals.”
-Paul Newman in “Butch Cassidy & the Sundance Kid”