Re: Problem compiling PERL

From: "Brett W(dot) McCoy" <bmccoy(at)chapelperilous(dot)net>
To: Jesus Ruiz <c_phoenix(at)latinmail(dot)com>
Cc: <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: Problem compiling PERL
Date: 2001-03-03 16:57:38
Message-ID: Pine.LNX.4.30.0103031140580.27105-100000@chapelperilous.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

On Fri, 2 Mar 2001, Jesus Ruiz wrote:

> i'm using RedHat 7.0, with postgres 7.0.3
> after I execute:
> % perl Makefile.PL
> I try to execute the make command and this if what i get
> [jruiz(at)dns perl5]$ make
> gcc -c -I../libpq -I../../include -fno-strict-aliasing -O2 -march=i386 -mcpu
> =i686 -DVERSION=\"1.8.0\" -DXS_VERSION=\"1.8.0\" -fPIC -I/usr/lib/perl5/
> 5.6.0/i386-linux/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:1255: `sv_undef' undeclared (first use in this function)
> Pg.xs: In function `XS_PG_results_print':
> Pg.xs:1295: `na' undeclared (first use in this function)
> make: *** [Pg.o] Error 1
> if anyone can help me i'll appreciate it

I had this problem before compiling something else with Perl, and the
problem turned, IIRC, that I had a threaded Perl, which is experimental
for Perl, and it caused a lot of problems for me. I think Red Hat comes
with Perl built with threads. You will need to get the source for Perl
and rebuild it without threads.

-- Brett
http://www.chapelperilous.net/~bmccoy/
---------------------------------------------------------------------------
Gravity is a myth, the Earth sucks.

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Peter Eisentraut 2001-03-03 16:57:47 Re: Merging PyGreSQL development into PostgreSQL
Previous Message Peter Eisentraut 2001-03-03 16:15:43 Re: Problem compiling PERL