Re: Problem compiling PERL

Поиск
Список
Период
Сортировка
От Brett W. McCoy
Тема Re: Problem compiling PERL
Дата
Msg-id Pine.LNX.4.30.0103031140580.27105-100000@chapelperilous.net
обсуждение исходный текст
Ответ на Problem compiling PERL  ("Jesus Ruiz" <c_phoenix@latinmail.com>)
Список 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.



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Merging PyGreSQL development into PostgreSQL
Следующее
От: darcy@druid.net (D'Arcy J.M. Cain)
Дата:
Сообщение: Re: Merging PyGreSQL development into PostgreSQL