Not sure how to fix this problem. I was trying to run a script that been running fine for some time and I started getting errors about missing modules. A few I've been able to install, some others won't. Carp and DBD::Oracle in particular. For DBD::Oracle, I get this message:
dbdimp.c:1211: error: `OCI_ATTR_MODULE' undeclared (first use in this +function) dbdimp.c: At top level: dbdimp.c:34: warning: 'dbi_get_state' defined but not used make: *** [dbdimp.o] Error 1 PYTHIAN/DBD-Oracle-1.44.tar.gz /usr/bin/make -- NOT OK CPAN: YAML loaded ok (v0.81) Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible
For Carp, I get this:
CPAN: File::Temp loaded ok (v0.22) CPAN: Parse::CPAN::Meta loaded ok (v1.4401) CPAN: CPAN::Meta loaded ok (v2.110930) CPAN: Module::CoreList loaded ok (v2.44) CPAN.pm: Building Z/ZE/ZEFRAM/Carp-1.26.tar.gz Checking if your kit is complete... Looks good Undefined subroutine &Carp::longmess_heavy called at /usr/lib/perl5/5. +8.8/Carp.p m line 239. Warning: No success on command[/usr/bin/perl Makefile.PL] ZEFRAM/Carp-1.26.tar.gz /usr/bin/perl Makefile.PL -- NOT OK Running make test Make had some problems, won't test Running make install Make had some problems, won't install Could not read metadata file. Falling back to other methods to determi +ne prerequisites
I tried to force the install, cpan -f install DBD::Oracle, but I get the same message. I even tried reinstalling Perl, but no joy. Please help.

In reply to Perl installation broken by lazloman

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.