Re: 7.3b3 build --with-perl fails on RH 8.0 - Mailing list pgsql-hackers

From snpe
Subject Re: 7.3b3 build --with-perl fails on RH 8.0
Date
Msg-id 200210281714.24046.snpe@snpe.co.yu
Whole thread Raw
In response to 7.3b3 build --with-perl fails on RH 8.0  ("P.J. \"Josh\" Rovero" <rovero@sonalysts.com>)
List 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



pgsql-hackers by date:

Previous
From: Jason Tishler
Date:
Subject: Re: Request for supported platforms
Next
From: Larry Rosenman
Date:
Subject: Re: Request for supported platforms