Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Using Perlbrew with debian Perl packages like libdbd-mysql

by nysus (Parson)
on Dec 13, 2017 at 22:46 UTC ( [id://1205485]=note: print w/replies, xml ) Need Help??


in reply to [SOLVED] Using Perlbrew with debian Perl packages like libdbd-mysql

Solved, with some more diligent googling:

1) I found this: http://adam.sardar.me.uk/?p=693

2) Basically it says to: Install the package ‘libmysqlclient-dev’ through aptitude.

3) However, that package name is no longer around.

4) I got the new package name and did: sudo apt-get install default-libmysqlclient-dev

5) cpanm DBD::mysql now works

Unfortunately, I have no idea why or how it works.

$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks

Replies are listed 'Best First'.
Re^2: Using Perlbrew with debian Perl packages like libdbd-mysql
by marto (Cardinal) on Dec 13, 2017 at 22:59 UTC

    "Unfortunately, I have no idea why or how it works"

    If you'd taken more than a glance at the documentation I linked to:

    "Also you'll need to get the MySQL client and development headers on your system. The easiest is to get these from your package manager...."

      Yeah, well, without being told explicitly which package they are in, I have no clue how or where to get them. The debian packaging system is a large black box to me. I have only vague notions of how it works despite doing some reading on it. I barely know what a header is from the C book I picked up 20 blue moons ago. It kind of makes things a lot harder to figure out. And then I'm left wondering why I need a damn "client" when I'm trying to set up a "server." And I have no idea what "development" headers are. It's confusing as hell.

      RTFM is all well and good. But when you start mixing and matching technologies and run into edge cases, the manual has limitations unless you have an advanced understanding of what's going on under the hood, which I admittedly do not. Yeah, sure, I could spend a day or two going through in great deal to learn more about the intricacies of the debian packaging system and how it all works, but right now I'm trying to focus on more immediate concerns and learn another technology I'm trying to learn.

      $PM = "Perl Monk's";
      $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest";
      $nysus = $PM . ' ' . $MCF;
      Click here if you love Perl Monks

        "Yeah, sure, I could spend a day or two going through in great deal to learn more about the intricacies of the debian packaging system and how it all works, but right now I'm trying to focus on more immediate concerns and learn another technology I'm trying to learn"

        A web search for 'osnamehere install mysql headers' finds exactly what you need to type in seconds. These aren't edge cases. Similarly you can find out how to use your chosen package management tool, claiming you'd need to invest a day or two is seems like an unreasonable conclusion tp jump to. If you don't care to know how these things work or what they even are, simply following the instructions and googling how to implement them on your system could just simply be achieved by searching for the answer.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-05-09 18:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found