Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Errors installing DBD::DB2

by kamesh2008 (Initiate)
on Aug 09, 2021 at 15:40 UTC ( #11135734=perlquestion: print w/replies, xml ) Need Help??

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

Am new to perl stuff. I tried to install DBD::DB2 getting below error. Please help out
pan[1]> install DBD::DB2 Reading '/root/.cpan/Metadata' Database was generated on Mon, 09 Aug 2021 06:29:03 GMT Running install for module 'DBD::DB2' Checksum for /root/.cpan/sources/authors/id/R/RO/ROCKETDB/DBD-DB2-1.89 +.tar.gz ok Scanning cache /root/.cpan/build for sizes ...................................................................... +......DONE Configuring R/RO/ROCKETDB/DBD-DB2-1.89.tar.gz with Makefile.PL Configuring DBD::DB2... Remember to actually read the README and CAVEATS files! DB2_HOME environment variable must be set to installed location of DB2 +. Warning: No success on command[/usr/bin/perl Makefile.PL] ROCKETDB/DBD-DB2-1.89.tar.gz /usr/bin/perl Makefile.PL -- NOT OK Failed during this command: ROCKETDB/DBD-DB2-1.89.tar.gz : writemakefile NO '/usr +/bin/perl Makefile.PL' returned status 512

Originally posted as a reply to Re: installing DBD::DB2. Promoted by janitors.

Replies are listed 'Best First'.
Re: Errors installing DBD::DB2
by hippo (Bishop) on Aug 09, 2021 at 15:56 UTC
    DB2_HOME environment variable must be set to installed location of DB2.

    What did you set as the value of the DB2_HOME environment variable?


Re: Errors installing DBD::DB2
by Fletch (Bishop) on Aug 09, 2021 at 16:06 UTC

    Fourteen years later and people still can't read the plain instructions . . .

    The cake is a lie.
    The cake is a lie.
    The cake is a lie.

      Fourteen years? I'm pretty sure there was more than one Sumerian who said "For the Love of Nammu, Anu and Ki, these people just refuse to read. The answer is right there in the cuneiform!" :-)


      It is this notorious mental block. Which never happens to you 🤪😎

      «The Crux of the Biscuit is the Apostrophe»

A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2023-02-09 12:37 GMT
Find Nodes?
    Voting Booth?
    I prefer not to run the latest version of Perl because:

    Results (45 votes). Check out past polls.