Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

DBD::mysql install problems

by stew (Scribe)
on Jan 23, 2004 at 11:23 UTC ( [id://323511]=perlquestion: print w/replies, xml ) Need Help??

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

Hi,

I am having problems installing DBD:mysql and was wondering if any of my fellow monks could help.

perl Makefile.PL returns 116 lines of this

Unsuccessful stat on filename containing newline at /usr/lib/perl5/5.8 +.0/ExtUtils/Liblist/Kid.pm line 97.

Then this

Note (probably harmless): No library found for -lmysqlclient

Then another 100 lines of this

Unsuccessful stat on filename containing newline at /usr/lib/perl5/5.8 +.0/ExtUtils/Liblist/Kid.pm line 97.

It will make the 'Makefile' but when I run 'make' I get

Makefile:89: *** missing separator. Stop.

Any ideas warmly accepted - Stew

Replies are listed 'Best First'.
Re: DBD::mysql install problems
by stew (Scribe) on Jan 23, 2004 at 11:50 UTC
    Cracked it!

    A simple 'unset LANG' got round a quirk in my version of RH

    Thanks everbody

      What version of RH are you using? Inquiring user(s) want(s) to know.

      xenchu


      The Needs of the World and my Talents run parallel to infinity.
        Sorry, forgot to say I'm using RH9. See item 4) Section 'KNOWN PROBLEMS' of the INSTALL.html that comes with the DBD-mysql-2.9003.tar.gz package. (I couldn't get it to install thru CPAN at all!!)

        Incidentally, I had trouble installing Lingua::Stem.PM thru CPAN again because of malformed UTF-8 characters. UTF-8 seems to be the default on RH8&9
Re: DBD::mysql install problems
by Anonymous Monk on Jan 23, 2004 at 11:29 UTC
    Makefile:89: *** missing separator. Stop.
    If you super search you'll find out that you get this because you're using the wrong make.
Re: DBD::mysql install problems
by Anonymous Monk on Jan 23, 2004 at 11:32 UTC
    Note (probably harmless): No library found for -lmysqlclient
    MakeMaker says probably, but in this case, it's not harmless. You can't compile DBD::mysql without the mysqlclient libraries.
Re: DBD::mysql install problems
by Anonymous Monk on Jan 23, 2004 at 11:31 UTC
    Unsuccessful stat on filename containing newline at /usr/lib/perl5...
    Whatever libs you're passing, they somehow contain newlines (not good). See ExtUtils::Liblist for details.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-19 04:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found