Pg.pm problem

From: Hrabcak Rado <hrabcak(at)phf(dot)euke(dot)sk>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Pg.pm problem
Date: 1999-07-14 08:47:20
Message-ID: Pine.LNX.4.10.9907141046520.3963-100000@phf.euke.sk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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

Your name : Radovan Hrabcak
Your email address : duffy(at)duffy(dot)sk

System Configuration
---------------------
Architecture (example: Intel Pentium) : Intel Pentium MMX

Operating System (example: Linux 2.0.26 ELF) : Linux 2.0.36 ELF

PostgreSQL version (example: PostgreSQL-6.5) : PostgreSQL-6.5

Compiler used (example: gcc 2.8.0) : 2.7.2.3 release 14

Please enter a FULL description of your problem:
------------------------------------------------

while compiling postgreSQL prel5 interface i galways get this message:

cc -c -I../libpq -I../../include -Dbool=char -DHAS_BOOL -O2 -DVERSION=\"1.8.0\" -DXS_VERSION=\"1.8.0\" -fpic -I/usr/local/lib/perl5/5.00557/i586-linux/CORE Pg.c
Pg.xs: In function `XS_Pg_PQprint':
Pg.xs:583: `na' undeclared (first use this function)
Pg.xs:583: (Each undeclared identifier is reported only once
Pg.xs:583: for each function it appears in.)
Pg.xs: In function `XS_PG_results_fetchrow':
Pg.xs:1253: `sv_undef' undeclared (first use this function)
Pg.xs: In function `XS_PG_results_print':
Pg.xs:1293: `na' undeclared (first use this function)
make: *** [Pg.o] Error 1

Please describe a way to repeat the problem. Please try to provide a
concise reproducible example, if at all possible:
----------------------------------------------------------------------
make Makefile.PL
make

If you know how this problem might be fixed, list the solution below:
---------------------------------------------------------------------
I am not very familiar with making patches so i just renamed na to PL_na and
sv_undef to PL_sv_undef, after advise of someone on irc and it helped. I dont
know, if it is just my local problem, or real problem of Pg.

Rado Hrabcak
duffy(at)duffy(dot)sk

---D-u-f-f-y---t-h-e---M-i-n-d-f-l-y-e-r---
-=www(dot)duffy(dot)sk=-=duffy(at)duffy(dot)sk=-=00-421-91-7765077=-
-=ICQ 25915231=-

Browse pgsql-bugs by date

  From Date Subject
Next Message Kilian Koepsell 1999-07-14 11:56:00
Previous Message Sascha.Kettler 1999-07-13 10:45:40 not tables found on PostgreSQL 6.5