Port Bug Report: PERL5 Interface does not compile

From: Unprivileged user <nobody>
To: pgsql-ports(at)postgresql(dot)org
Subject: Port Bug Report: PERL5 Interface does not compile
Date: 1999-03-16 08:04:58
Message-ID: 199903160804.DAA77237@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports


============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================

Your name : Jonathan Zdziarski
Your email address : jonz(at)netrail(dot)net

Category : install: compile
Severity : serious

Summary: PERL5 Interface does not compile

System Configuration
--------------------
Operating System : Solaris 7

PostgreSQL version : 6.4.2

Compiler used : gcc 2.8.1

Hardware:
---------
ASUS P2L97-DS, Dual P-II 333 Mhz, 512MB RAM, 9 Gig Disk

Versions of other tools:
------------------------
flex 2.5.4a bison 1.27 gcc 2.8.1 gmake 3.77

--------------------------------------------------------------------------

Problem Description:
--------------------
Using the latest version of flex and all, I still am not able to compile the PERL5 Interface. This is what I get every time...

Writing Makefile for Pg
make[2]: Leaving directory `/usr/share/src/pgsql/src/interfaces'
make[2]: Entering directory `/usr/share/src/pgsql/src/interfaces/perl5'
mkdir blib
mkdir blib/lib
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/Pg
mkdir blib/lib/auto
mkdir blib/lib/auto/Pg
mkdir blib/man3
cp Pg.pm blib/lib/Pg.pm
AutoSplitting blib/lib/Pg.pm (blib/lib/auto/Pg)
/usr/local/bin/perl -I/usr/local/lib/perl5/5.00554/i86pc-solaris -I/usr/local/lib/perl5/5.00554 /usr/local/lib/perl5/5.00554/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.00554/ExtUtils/typemap -typemap typemap Pg.xs >xstmp.c && mv xstmp.c Pg.c
gcc -c -I../libpq -I../../include -I/usr/local/include -O -DVERSION=\"1.8.0\" -DXS_VERSION=\"1.8.0\" -fPIC -I/usr/local/lib/perl5/5.00554/i86pc-solaris/CORE Pg.c
Pg.xs: In function `XS_Pg_PQprint':
Pg.xs:584: `na' undeclared (first use in this function)
Pg.xs:584: (Each undeclared identifier is reported only once
Pg.xs:584: for each function it appears in.)
Pg.xs: In function `XS_PG_results_fetchrow':
Pg.xs:1256: `sv_undef' undeclared (first use in this function)
Pg.xs: In function `XS_PG_results_print':
Pg.xs:1296: `na' undeclared (first use in this function)
make[2]: *** [Pg.o] Error 1
make[2]: Leaving directory `/usr/share/src/pgsql/src/interfaces/perl5'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/share/src/pgsql/src/interfaces'
make: *** [all] Error 2

--------------------------------------------------------------------------

Test Case:
----------
Just try to compile it under S7.

--------------------------------------------------------------------------

Solution:
---------

--------------------------------------------------------------------------

Browse pgsql-ports by date

  From Date Subject
Next Message The Hermit Hacker 1999-03-16 15:26:44 Re: [PORTS] Port Bug Report: The compiler bombs at pgc.l and fails to finish compiling
Previous Message Jonathan A. Zdziarski 1999-03-16 07:49:43 Re: [PORTS] Port Bug Report: The compiler bombs at pgc.l and fails to finish compiling