pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Problem compiling PERL
3+ messages / 3 participants
[nested] [flat]

* Problem compiling PERL
@ 2001-03-02 16:44 Jesus Ruiz <c_phoenix@latinmail.com>
  2001-03-03 16:15 ` Re: Problem compiling PERL Peter Eisentraut <peter_e@gmx.net>
  2001-03-03 16:57 ` Re: Problem compiling PERL Brett W. McCoy <bmccoy@chapelperilous.net>
  0 siblings, 2 replies; 3+ messages in thread

From: Jesus Ruiz @ 2001-03-02 16:44 UTC (permalink / raw)
  To: pgsql-interfaces

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@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





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Problem compiling PERL
  2001-03-02 16:44 Problem compiling PERL Jesus Ruiz <c_phoenix@latinmail.com>
@ 2001-03-03 16:15 ` Peter Eisentraut <peter_e@gmx.net>
  1 sibling, 0 replies; 3+ messages in thread

From: Peter Eisentraut @ 2001-03-03 16:15 UTC (permalink / raw)
  To: Jesus Ruiz <c_phoenix@latinmail.com>; +Cc: pgsql-interfaces

Jesus Ruiz writes:

> i'm using RedHat 7.0, with postgres 7.0.3
> after I execute:
> % perl Makefile.PL

Try perl POLLUTE=1 Makefile.PL.

> I try to execute the make command and this if what i get
> [jruiz@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
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>
>

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Problem compiling PERL
  2001-03-02 16:44 Problem compiling PERL Jesus Ruiz <c_phoenix@latinmail.com>
@ 2001-03-03 16:57 ` Brett W. McCoy <bmccoy@chapelperilous.net>
  1 sibling, 0 replies; 3+ messages in thread

From: Brett W. McCoy @ 2001-03-03 16:57 UTC (permalink / raw)
  To: Jesus Ruiz <c_phoenix@latinmail.com>; +Cc: 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@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.




^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2001-03-03 16:57 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-03-02 16:44 Problem compiling PERL Jesus Ruiz <c_phoenix@latinmail.com>
2001-03-03 16:15 ` Peter Eisentraut <peter_e@gmx.net>
2001-03-03 16:57 ` Brett W. McCoy <bmccoy@chapelperilous.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox