Grokbase Groups Perl dbd-pg June 2011
FAQ
Hi,

I can't get past make.

Perl 5.014000 on sun4-solaris-thread-multi
gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
DBI 1.616
Solaris 5.10
DBD Pg 2.9.2
(PostgreSQL) 9.1beta2

I'm getting the output below which isn't telling me much. Any help or ideas about this one would be great.
Thank you in advance
Mike

ecdwtool@bstst17 $ perl Makefile.PL
Configuring DBD::Pg 2.9.2
PostgreSQL version: 90100 (default port: 5432)
POSTGRES_HOME: /opt/app/t1cdw1c2/ecdwtools/local/pgsql/lib
POSTGRES_INCLUDE: /opt/app/t1cdw1c2/ecdwtools/local/pgsql/include
POSTGRES_LIB: /opt/app/t1cdw1c2/ecdwtools/local/pgsql/lib
OS: solaris
Checking if your kit is complete...
Looks good
Using DBI 1.616 (for perl 5.014000 on sun4-solaris-thread-multi) installed in /opt/app/t1cdw1c2/ecdwtools/local/lib/perl5/site_perl/5.14.0/sun4-solaris-thread-multi/auto/DBI/
Writing Makefile for DBD::Pg
Writing MYMETA.yml

ecdwtool@bstst17 $ make
cp lib/Bundle/DBD/Pg.pm blib/lib/Bundle/DBD/Pg.pm
cp Pg.pm blib/lib/DBD/Pg.pm
/opt/app/t1cdw1c2/ecdwtools/local/bin/perl -p -e "s/~DRIVER~/Pg/g; s/^do\(/dontdo\(/" /opt/app/t1cdw1c2/ecdwtools/local/lib/perl5/site_perl/5.14.0/sun4-solaris-thread-multi/auto/DBI/Driver.xst > Pg.xsi
/opt/app/t1cdw1c2/ecdwtools/local/bin/perl /opt/app/t1cdw1c2/ecdwtools/local/lib/perl5/5.14.0/ExtUtils/xsubpp -typemap /opt/app/t1cdw1c2/ecdwtools/local/lib/perl5/5.14.0/ExtUtils/typemap Pg.xs > Pg.xsc && mv Pg.xsc Pg.c
gcc -c -I/opt/app/t1cdw1c2/ecdwtools/local/pgsql/include -I/opt/app/t1cdw1c2/ecdwtools/local/lib/perl5/site_perl/5.14.0/sun4-solaris-thread-multi/auto/DBI -D_REENTRANT -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPGLIBVERSION=90100 -DPGDEFPORT=5432 -O -DPERL_EXTMALLOC_DEF -Dmalloc=Perl_malloc -Dfree=Perl_mfree -Drealloc=Perl_realloc -Dcalloc=Perl_calloc -DVERSION=\"2.9.2\" -DXS_VERSION=\"2.9.2\" -fPIC "-I/opt/app/t1cdw1c2/ecdwtools/local/lib/perl5/5.14.0/sun4-solaris-thread-multi/CORE" Pg.c
Pg.xs: In function `XS_DBD__Pg__db_state':
Pg.xs:272: error: `sv_no' undeclared (first use in this function)
Pg.xs:272: error: (Each undeclared identifier is reported only once
Pg.xs:272: error: for each function it appears in.)
Pg.xs: In function `XS_DBD__Pg__db_pg_endcopy':
Pg.xs:344: error: `sv_no' undeclared (first use in this function)
Pg.xs:344: error: `sv_yes' undeclared (first use in this function)
Pg.xs: In function `XS_DBD__Pg__db_pg_savepoint':
Pg.xs:363: error: `sv_yes' undeclared (first use in this function)
Pg.xs:363: error: `sv_no' undeclared (first use in this function)
Pg.xs: In function `XS_DBD__Pg__db_pg_rollback_to':
Pg.xs:374: error: `sv_yes' undeclared (first use in this function)
Pg.xs:374: error: `sv_no' undeclared (first use in this function)
Pg.xs: In function `XS_DBD__Pg__db_pg_release':
Pg.xs:385: error: `sv_yes' undeclared (first use in this function)
Pg.xs:385: error: `sv_no' undeclared (first use in this function)
Pg.xs: In function `XS_DBD__Pg__db_lo_creat':
Pg.xs:394: error: `sv_undef' undeclared (first use in this function)
Pg.xs: In function `XS_DBD__Pg__db_lo_open':
Pg.xs:404: error: `sv_undef' undeclared (first use in this function)
Pg.xs: In function `XS_DBD__Pg__db_lo_close':
Pg.xs:412: error: `sv_yes' undeclared (first use in this function)
Pg.xs:412: error: `sv_no' undeclared (first use in this function)
Pg.xs: In function `XS_DBD__Pg__db_lo_read':
Pg.xs:434: error: `sv_undef' undeclared (first use in this function)
Pg.xs: In function `XS_DBD__Pg__db_lo_write':
Pg.xs:445: error: `sv_undef' undeclared (first use in this function)
Pg.xs: In function `XS_DBD__Pg__db_lo_lseek':
Pg.xs:456: error: `sv_undef' undeclared (first use in this function)
Pg.xs: In function `XS_DBD__Pg__db_lo_tell':
Pg.xs:465: error: `sv_undef' undeclared (first use in this function)
Pg.xs: In function `XS_DBD__Pg__db_lo_unlink':
Pg.xs:473: error: `sv_yes' undeclared (first use in this function)
Pg.xs:473: error: `sv_no' undeclared (first use in this function)
Pg.xs: In function `XS_DBD__Pg__db_lo_import':
Pg.xs:482: error: `sv_undef' undeclared (first use in this function)
Pg.xs: In function `XS_DBD__Pg__db_lo_export':
Pg.xs:491: error: `sv_yes' undeclared (first use in this function)
Pg.xs:491: error: `sv_no' undeclared (first use in this function)
Pg.xs: In function `XS_DBD__Pg__db_pg_putline':
Pg.xs:499: error: `sv_no' undeclared (first use in this function)
Pg.xs:499: error: `sv_yes' undeclared (first use in this function)
Pg.xs: In function `XS_DBD__Pg__db_putline':
Pg.xs:507: error: `sv_no' undeclared (first use in this function)
Pg.xs:507: error: `sv_yes' undeclared (first use in this function)
Pg.xs: In function `XS_DBD__Pg__db_pg_getline':
Pg.xs:528: error: `sv_yes' undeclared (first use in this function)
Pg.xs:528: error: `sv_no' undeclared (first use in this function)
Pg.xs: In function `XS_DBD__Pg__db_getline':
Pg.xs:584: error: `sv_yes' undeclared (first use in this function)
Pg.xs:584: error: `sv_no' undeclared (first use in this function)
Pg.xs: In function `XS_DBD__Pg__db_endcopy':
Pg.xs:590: error: `sv_yes' undeclared (first use in this function)
Pg.xs:590: error: `sv_no' undeclared (first use in this function)
Pg.xs: In function `XS_DBD__Pg__db_pg_cancel':
Pg.xs:650: error: `sv_yes' undeclared (first use in this function)
Pg.xs:650: error: `sv_no' undeclared (first use in this function)
Pg.xs: In function `XS_DBD__Pg__st_state':
Pg.xs:667: error: `sv_no' undeclared (first use in this function)
Pg.xs: In function `XS_DBD__Pg__st_pg_cancel':
Pg.xs:682: error: `sv_yes' undeclared (first use in this function)
Pg.xs:682: error: `sv_no' undeclared (first use in this function)
make: *** [Pg.o] Error 1

Search Discussions

  • VANOLE, MICHAEL J (ATTSI) at Jun 26, 2011 at 5:12 pm
    I just downloaded DBD-Pg 2.18.1 (the latest) and it installed without a single hiccup.

    -----Original Message-----
    From: VANOLE, MICHAEL J (ATTSI)
    Sent: Friday, June 24, 2011 4:13 PM
    To: 'dbd-pg@perl.org'
    Subject: DBD::Pg 2.9.2 make error

    Hi,

    I can't get past make.

    Perl 5.014000 on sun4-solaris-thread-multi
    gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
    DBI 1.616
    Solaris 5.10
    DBD Pg 2.9.2
    (PostgreSQL) 9.1beta2

    I'm getting the output below which isn't telling me much. Any help or ideas about this one would be great.
    Thank you in advance
    Mike

    ecdwtool@bstst17 $ perl Makefile.PL
    Configuring DBD::Pg 2.9.2
    PostgreSQL version: 90100 (default port: 5432)
    POSTGRES_HOME: /opt/app/t1cdw1c2/ecdwtools/local/pgsql/lib
    POSTGRES_INCLUDE: /opt/app/t1cdw1c2/ecdwtools/local/pgsql/include
    POSTGRES_LIB: /opt/app/t1cdw1c2/ecdwtools/local/pgsql/lib
    OS: solaris
    Checking if your kit is complete...
    Looks good
    Using DBI 1.616 (for perl 5.014000 on sun4-solaris-thread-multi) installed in /opt/app/t1cdw1c2/ecdwtools/local/lib/perl5/site_perl/5.14.0/sun4-solaris-thread-multi/auto/DBI/
    Writing Makefile for DBD::Pg
    Writing MYMETA.yml

    ecdwtool@bstst17 $ make
    cp lib/Bundle/DBD/Pg.pm blib/lib/Bundle/DBD/Pg.pm
    cp Pg.pm blib/lib/DBD/Pg.pm
    /opt/app/t1cdw1c2/ecdwtools/local/bin/perl -p -e "s/~DRIVER~/Pg/g; s/^do\(/dontdo\(/" /opt/app/t1cdw1c2/ecdwtools/local/lib/perl5/site_perl/5.14.0/sun4-solaris-thread-multi/auto/DBI/Driver.xst > Pg.xsi
    /opt/app/t1cdw1c2/ecdwtools/local/bin/perl /opt/app/t1cdw1c2/ecdwtools/local/lib/perl5/5.14.0/ExtUtils/xsubpp -typemap /opt/app/t1cdw1c2/ecdwtools/local/lib/perl5/5.14.0/ExtUtils/typemap Pg.xs > Pg.xsc && mv Pg.xsc Pg.c
    gcc -c -I/opt/app/t1cdw1c2/ecdwtools/local/pgsql/include -I/opt/app/t1cdw1c2/ecdwtools/local/lib/perl5/site_perl/5.14.0/sun4-solaris-thread-multi/auto/DBI -D_REENTRANT -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPGLIBVERSION=90100 -DPGDEFPORT=5432 -O -DPERL_EXTMALLOC_DEF -Dmalloc=Perl_malloc -Dfree=Perl_mfree -Drealloc=Perl_realloc -Dcalloc=Perl_calloc -DVERSION=\"2.9.2\" -DXS_VERSION=\"2.9.2\" -fPIC "-I/opt/app/t1cdw1c2/ecdwtools/local/lib/perl5/5.14.0/sun4-solaris-thread-multi/CORE" Pg.c
    Pg.xs: In function `XS_DBD__Pg__db_state':
    Pg.xs:272: error: `sv_no' undeclared (first use in this function)
    Pg.xs:272: error: (Each undeclared identifier is reported only once
    Pg.xs:272: error: for each function it appears in.)
    Pg.xs: In function `XS_DBD__Pg__db_pg_endcopy':
    Pg.xs:344: error: `sv_no' undeclared (first use in this function)
    Pg.xs:344: error: `sv_yes' undeclared (first use in this function)
    Pg.xs: In function `XS_DBD__Pg__db_pg_savepoint':
    Pg.xs:363: error: `sv_yes' undeclared (first use in this function)
    Pg.xs:363: error: `sv_no' undeclared (first use in this function)
    Pg.xs: In function `XS_DBD__Pg__db_pg_rollback_to':
    Pg.xs:374: error: `sv_yes' undeclared (first use in this function)
    Pg.xs:374: error: `sv_no' undeclared (first use in this function)
    Pg.xs: In function `XS_DBD__Pg__db_pg_release':
    Pg.xs:385: error: `sv_yes' undeclared (first use in this function)
    Pg.xs:385: error: `sv_no' undeclared (first use in this function)
    Pg.xs: In function `XS_DBD__Pg__db_lo_creat':
    Pg.xs:394: error: `sv_undef' undeclared (first use in this function)
    Pg.xs: In function `XS_DBD__Pg__db_lo_open':
    Pg.xs:404: error: `sv_undef' undeclared (first use in this function)
    Pg.xs: In function `XS_DBD__Pg__db_lo_close':
    Pg.xs:412: error: `sv_yes' undeclared (first use in this function)
    Pg.xs:412: error: `sv_no' undeclared (first use in this function)
    Pg.xs: In function `XS_DBD__Pg__db_lo_read':
    Pg.xs:434: error: `sv_undef' undeclared (first use in this function)
    Pg.xs: In function `XS_DBD__Pg__db_lo_write':
    Pg.xs:445: error: `sv_undef' undeclared (first use in this function)
    Pg.xs: In function `XS_DBD__Pg__db_lo_lseek':
    Pg.xs:456: error: `sv_undef' undeclared (first use in this function)
    Pg.xs: In function `XS_DBD__Pg__db_lo_tell':
    Pg.xs:465: error: `sv_undef' undeclared (first use in this function)
    Pg.xs: In function `XS_DBD__Pg__db_lo_unlink':
    Pg.xs:473: error: `sv_yes' undeclared (first use in this function)
    Pg.xs:473: error: `sv_no' undeclared (first use in this function)
    Pg.xs: In function `XS_DBD__Pg__db_lo_import':
    Pg.xs:482: error: `sv_undef' undeclared (first use in this function)
    Pg.xs: In function `XS_DBD__Pg__db_lo_export':
    Pg.xs:491: error: `sv_yes' undeclared (first use in this function)
    Pg.xs:491: error: `sv_no' undeclared (first use in this function)
    Pg.xs: In function `XS_DBD__Pg__db_pg_putline':
    Pg.xs:499: error: `sv_no' undeclared (first use in this function)
    Pg.xs:499: error: `sv_yes' undeclared (first use in this function)
    Pg.xs: In function `XS_DBD__Pg__db_putline':
    Pg.xs:507: error: `sv_no' undeclared (first use in this function)
    Pg.xs:507: error: `sv_yes' undeclared (first use in this function)
    Pg.xs: In function `XS_DBD__Pg__db_pg_getline':
    Pg.xs:528: error: `sv_yes' undeclared (first use in this function)
    Pg.xs:528: error: `sv_no' undeclared (first use in this function)
    Pg.xs: In function `XS_DBD__Pg__db_getline':
    Pg.xs:584: error: `sv_yes' undeclared (first use in this function)
    Pg.xs:584: error: `sv_no' undeclared (first use in this function)
    Pg.xs: In function `XS_DBD__Pg__db_endcopy':
    Pg.xs:590: error: `sv_yes' undeclared (first use in this function)
    Pg.xs:590: error: `sv_no' undeclared (first use in this function)
    Pg.xs: In function `XS_DBD__Pg__db_pg_cancel':
    Pg.xs:650: error: `sv_yes' undeclared (first use in this function)
    Pg.xs:650: error: `sv_no' undeclared (first use in this function)
    Pg.xs: In function `XS_DBD__Pg__st_state':
    Pg.xs:667: error: `sv_no' undeclared (first use in this function)
    Pg.xs: In function `XS_DBD__Pg__st_pg_cancel':
    Pg.xs:682: error: `sv_yes' undeclared (first use in this function)
    Pg.xs:682: error: `sv_no' undeclared (first use in this function)
    make: *** [Pg.o] Error 1

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdbd-pg @
categoriesperl
postedJun 24, '11 at 9:13p
activeJun 26, '11 at 5:12p
posts2
users1
websiteperl.org

1 user in discussion

VANOLE, MICHAEL J (ATTSI): 2 posts

People

Translate

site design / logo © 2022 Grokbase