[rt-users] Installation Help - Perl module purgatory

Luker, Joseph lukerj at spawar.navy.mil
Mon Jan 12 19:39:36 EST 2004


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 at 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 at Kidd rt-3-0-8]#


Here's the blowback from DBD::mysql

[root at 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<dir>
 
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 at 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 at 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 at Kidd rt-3-0-8]#


Any help most appreciated.  thanks, Joe



More information about the rt-users mailing list