Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Can't install DBD::mysql on redhat 9

by Anonymous Monk
on Apr 22, 2004 at 18:01 UTC ( #347439=perlquestion: print w/replies, xml ) Need Help??

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks, I have read the install documentation for DBD::mysql and there is nothing about this error ...
perl Makefile.PL I will use the following settings for compiling and testing: cflags (mysql_config) = -I/usr/local/mysql/include -mcpu=pent +iumpro libs (mysql_config) = -L/usr/local/mysql/lib -lmysqlclient +-lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_fi +les -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'. Unsuccessful stat on filename containing newline at /usr/lib/perl5/5.8 +.0/ExtUtils/Liblist/ line 97.
Does anyone here know what I am doing wrong?

Replies are listed 'Best First'.
Re: Can't install DBD::mysql on redhat 9
by vroom (His Eminence) on Apr 22, 2004 at 18:23 UTC
    Looks like the LANG problem on RedHat 9. Setting LANG=C should fix the problem.

    Some links related to your specific problem: The problem and The response

    More general information on RedHat 9's problems with LANG and Perl module installation. Here and on Perl 5 porters

      That did the trick! Thanks much!
Re: Can't install DBD::mysql on redhat 9
by ScooterQ (Pilgrim) on Apr 22, 2004 at 18:19 UTC
    /me scurries off and finds where he's answered this question before.... cut... paste...
    RH9 caused more than a few problems for me with a number of modules until I edited my /etc/sysconfig/i18n file. Here's mine:
    #LANG="en_US.UTF-8" LANG="en_US" SUPPORTED="en_US.UTF-8:en_US:en" SYSFONT="latarcyrheb-sun16"
    It looks like some modules (like CPAN!) don't like that UTF-8. If you don't want to monkey with your system-wide locale setting, just type "export LANG=en_US" and then try your install again.
Re: Can't install DBD::mysql on redhat 9
by leriksen (Curate) on Apr 23, 2004 at 04:36 UTC
    This issue also causes Tk to abort but in a different way, whilst generating the C bindings.

    See this bug report for more details of RH and Perls UTF8 issues

    use warnings;use strict;use brain;

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://347439]
Approved by Ovid
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2023-06-01 11:23 GMT
Find Nodes?
    Voting Booth?

    No recent polls found