Re: 7.3b3 build --with-perl fails on RH 8.0

From: snpe <snpe(at)snpe(dot)co(dot)yu>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: 7.3b3 build --with-perl fails on RH 8.0
Date: 2002-10-28 17:14:24
Message-ID: 200210281714.24046.snpe@snpe.co.yu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Change directory in src/pl/plperl
and execute gcc command with option -D_GNU_SOURCE
(2 files)
and then continue make form base directory
You must add /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so in
/etc/ld/so/conf or in LD_LIBRARY_PATH

regards
Haris Peco

On Monday 28 October 2002 12:41 pm, P.J. \"Josh\" Rovero wrote:
> RH 8.0 has perl 5.8, here are the details:
>
> From config.log:
>
> configure:4159: checking for perl
> configure:4177: found /usr/bin/perl
> configure:4189: result: /usr/bin/perl
> configure:4198: checking for Perl archlibexp
> configure:4201: result: /usr/lib/perl5/5.8.0/i386-linux-thread-multi
> configure:4203: checking for Perl privlibexp
> configure:4206: result: /usr/lib/perl5/5.8.0
> configure:4208: checking for Perl useshrplib
> configure:4211: result: true
> configure:4214: checking for flags to link embedded Perl
> configure:4219: result: -L/usr/local/lib
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/DynaLoader/DynaLoader.a
> -L/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE -lperl -lnsl -ldl
> -lm -lpthread -lc -lcrypt -lutil
>
> from gmake:
> gmake[3]: Entering directory
> `/localhome/rovero/postgresql-7.3b3/src/pl/plperl'
> gcc -O2 -fpic -I. -I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE
> -I../../..
> /src/include -c -o plperl.o plperl.c
> In file included from
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/op.h:480
> ,
> from
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:2
> 209,
> from plperl.c:61:
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/reentr.h:602: field
> `_crypt_st
> ruct' has incomplete type
> In file included from
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:3
> 368,
> from plperl.c:61:
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:246: parse
> error befor
> e "off64_t"
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:248: parse
> error befor
> e "Perl_do_sysseek"
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:248: parse
> error befor
> e "off64_t"
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:248: warning:
> data def
> inition has no type or storage class
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:249: parse
> error befor
> e "Perl_do_tell"
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:249: warning:
> data def
> inition has no type or storage class
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:1378: parse
> error befo
> re "Perl_PerlIO_tell"
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:1378: warning:
> data de
> finition has no type or storage class
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:1379: parse
> error befo
> re "off64_t"
> gmake[3]: *** [plperl.o] Error 1
> gmake[3]: Leaving directory
> `/localhome/rovero/postgresql-7.3b3/src/pl/plperl'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory `/localhome/rovero/postgresql-7.3b3/src/pl'
> gmake[1]: *** [all] Error 2
> gmake[1]: Leaving directory `/localhome/rovero/postgresql-7.3b3/src'
> gmake: *** [all] Error 2

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Terry Yapt 2002-10-28 17:35:56 Re: Operator to compare numeric and double precision
Previous Message scott.marlowe 2002-10-28 17:08:27 Re: Help me please !

Browse pgsql-hackers by date

  From Date Subject
Next Message Adrian 'Dagurashibanipal' von Bidder 2002-10-28 17:16:27 Re: [ANNOUNCE] Server downtime ...
Previous Message Zeugswetter Andreas SB SD 2002-10-28 16:35:57 Re: pg_dump and large files - is this a problem?