Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: DBD::mysql fail

by hauntedbyshadow (Initiate)
on Aug 14, 2014 at 16:57 UTC ( [id://1097451]=note: print w/replies, xml ) Need Help??


in reply to DBD::mysql fail

That is what I would assume but if I run instmodsh it's not there, as well i'm getting this on the page i'm using it. Can't locate Mysql/Statement.pm in @INC (@INC contains: /usr/local/lib64/perl5

Replies are listed 'Best First'.
Re^2: DBD::mysql fail
by aitap (Curate) on Aug 14, 2014 at 18:08 UTC

    /usr/local/? It seems that there is a non-system Perl installation running, while yum installs modules only for system perl (the one in /usr/bin/perl, not /usr/local/...). Unless there is something valuable in /usr/local/ that you installed yourself, it might be reasonable to move /usr/local/* somewhere and try running with CentOS-provided /usr/bin/perl.

    [root@server DBD-mysql-4.028-Ba4U9q]# perl Makefile.PL && make make: *** [dbdimp.o] Error 1
    Well, on my system `make` in DBD-mysql-4.028 prints some the commands being executed (and their output) by default. And Makefile.PL is very verbose by itself. Sorry, I can't explain this behaviour. Maybe if you run perl Makefile.PL verbose && make NOECHO=""? It still does not explain where the output of your compiler goes. Is there, by any chance, a log file in the directory DBD-mysql-4.028-Ba4U9q?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2024-04-18 07:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found