What can I do to correct the errors I receive compiling DBD::PG?
I receive many similar errors that read like this: Pg.c:1636: error: `XS_DBD__Pg__db_lo_creat' undeclared (first use in t +his function) Pg.c:1637: error: `XS_DBD__Pg__db_lo_tell' undeclared (first use in th +is function) Pg.c:1638: error: `XS_DBD__Pg__db_lo_unlink' undeclared (first use in +this function) Pg.c:1639: error: `XS_DBD__Pg__db_lo_import' undeclared (first use in +this function) Pg.c:1640: error: `XS_DBD__Pg__db_lo_export' undeclared (first use in +this function) Pg.c:1641: error: `XS_DBD__Pg__db_putline' undeclared (first use in th +is function) Pg.c:1642: error: `XS_DBD__Pg__db_getline' undeclared (first use in th +is function) Pg.c:1643: error: `XS_DBD__Pg__db_endcopy' undeclared (first use in th +is function) Pg.c:1644: error: `XS_DBD__Pg__db__pg_type_info' undeclared (first use + in this function) Pg.xsi:18: error: `items' undeclared (first use in this function) Pg.xsi:19: error: `DBISTATE_INIT' undeclared (first use in this functi +on) Pg.xsi:21: error: `imp_drh_t' undeclared (first use in this function) Pg.xsi:22: error: `imp_dbh_t' undeclared (first use in this function) Pg.xsi:23: error: `imp_sth_t' undeclared (first use in this function) Pg.xsi:24: error: `DBIS' undeclared (first use in this function) Pg.c:1680: error: `XSRETURN_YES' undeclared (first use in this functio +n) make: *** [Pg.o] Error 1 /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible

Edit by castaway, code tagged errors


In reply to DBD::PG compile fails by jmanjohn61

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.