Port Bug Report: PERL5 Interface does not compile

Поиск
Список
Период
Сортировка
От Unprivileged user
Тема Port Bug Report: PERL5 Interface does not compile
Дата
Msg-id 199903160804.DAA77237@hub.org
обсуждение исходный текст
Список pgsql-ports
============================================================================
                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================


Your name        : Jonathan Zdziarski
Your email address    : jonz@netrail.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:
---------


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


В списке pgsql-ports по дате отправления:

Предыдущее
От: "Jonathan A. Zdziarski"
Дата:
Сообщение: Re: [PORTS] Port Bug Report: The compiler bombs at pgc.l and fails to finish compiling
Следующее
От: The Hermit Hacker
Дата:
Сообщение: Re: [PORTS] Port Bug Report: The compiler bombs at pgc.l and fails to finish compiling