> I’ve got a RedHat 9 box with perl-5.8.0 and apache httpd-2.0.43 
> installed, and I’m trying to install RT from bestpractical. To satisfy 
> the many perl dependencies, I’ve tried running perl 
> sbin/rt-test-dependencies --with-mysql --with-modperl2, which tells me 
> that I have the following unsatisfied dependencies:
> <>DBD::mysql 2.1018...MISSING
> WWW::Mechanize ...MISSING
> Time::HiRes ...MISSING
> Digest::MD5 2.27...MISSING
> Apache::Session 1.53...MISSING
> Storable 2.08...MISSING
> Storable version 2.08 required--this is only version 2.06 at (eval 34) 
> line 2.
> Digest::MD5 2.27...MISSING
> Digest::MD5 version 2.27 required--this is only version 2.20 at (eval 
> 32) line 2.
> Storable 2.08...MISSING
> Storable version 2.08 required--this is only version 2.06 at (eval 34) 
> line 2.
> Apache::Session 1.53...MISSING
> 
> There is a switch for the above command that should download and install 
> all these modules from CPAN automatically. The problem I’ve run into is 
> that when it tries to install DBD::mysql, it gives me a strange error. 
> Any ideas on what’s going wrong? I’ve tried installing this module 
> manually, and get the same error. Below is the full log:
> 
> perl -MCPAN -e 'install DBD::mysql'
[snip]

> Removing previously used /root/.cpan/build/DBD-mysql-2.9003
> CPAN.pm: Going to build R/RU/RUDY/DBD-mysql-2.9003.tar.gz
> 
> I will use the following settings for compiling and testing:
> 
> cflags (mysql_config) = -I/usr/include/mysql -mcpu=i486 
> -fno-strength-reduce
> libs (mysql_config) = -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl 
> -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv
> nocatchstderr (default ) = 0
> nofoundrows (default ) = 0
> ssl (guessed ) = 0
> testdb (default ) = test
> testhost (default ) =
> testpassword (default ) =
> testuser (default ) =
> 
> To change these settings, see 'perl Makefile.PL --help' and
> 'perldoc INSTALL'.
> 
> Checking if your kit is complete...
> Looks good
> Unsuccessful stat on filename containing newline at 
> /usr/lib/perl5/5.8.0/ExtUtils/Liblist/Kid.pm line 97.

[big snip]

> Using DBI 1.42 (for perl 5.008 on i386-linux-thread-multi) installed in 
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI
> Writing Makefile for DBD::mysql
> Makefile:89: *** missing separator. Stop.
> /usr/bin/make -- NOT OK
> Running make test
> Can't test without successful make
> Running make install
> make had returned bad status, install seems impossible
> 

Google is your friend,

http://lists.mysql.com/perl/2183
http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=Unsuccessful+stat+on+filename+containing+newline+at+&btnG=Google+Search

Helps?

http://danconia.org



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to