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

DBD::mysql failed to compile

by 2ge (Scribe)
on Aug 07, 2012 at 15:38 UTC ( #986020=perlquestion: print w/replies, xml ) Need Help??
2ge has asked for the wisdom of the Perl Monks concerning the following question:

Hi guys,

I am trying to install using CPAN DBD::mysql, which I did number of times already, but now I am running to some error, which is quite strange to me. I am using updated Mountain Lion OSX, with latest XCODE.

Here is dump of output and info needed.

I am getting "Segmentation fault: 11", I am not sure, if it is fail of wrong MYSQL installation (in PHP it works fine, also commandline...)...

Thanks for any help.

Replies are listed 'Best First'.
Re: DBD::mysql failed to compile
by stonecolddevin (Vicar) on Aug 07, 2012 at 16:50 UTC

    Give this a try, Basically, DBD::mysql has to be built with native OS X headers from source. Not very difficult to do for the most part but it can bite you.

    Three thousand years of beautiful tradition, from Moses to Sandy Koufax, you're god damn right I'm living in the fucking past

      Hi dhoss, you made my day! Compiling from the source = no problem at all. I always believed, there is not much difference between cpan and making it from the source, basically cpan downloads archive, unpack, Makefile, make, make test and make install. But there is difference, now it is working!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://986020]
Approved by Corion
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2018-03-20 05:02 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (247 votes). Check out past polls.