Thread

  1. Pg.pm problem

    Hrabcak Rado <hrabcak@phf.euke.sk> — 1999-07-14T08:47:20Z

    ============================================================================
                            POSTGRESQL BUG REPORT TEMPLATE
    ============================================================================
    
    
    Your name		: Radovan Hrabcak
    Your email address	: duffy@duffy.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@duffy.sk
    
                                  ---D-u-f-f-y---t-h-e---M-i-n-d-f-l-y-e-r--- 
                              -=www.duffy.sk=-=duffy@duffy.sk=-=00-421-91-7765077=-
                                                 -=ICQ 25915231=-