Thread View: news.software.nntp
3 messages
3 total messages
Started by Stephen Denny
Mon, 16 Mar 1998 00:00
PERL_SUPPORT Compile Problem
Author: Stephen Denny
Date: Mon, 16 Mar 1998 00:00
Date: Mon, 16 Mar 1998 00:00
63 lines
2370 bytes
2370 bytes
I'm trying to compile in PERL_SUPPORT DO.
System is RedHat Linux 4.2
kernel 2.0.32
gcc 2.7.2.1
inn 1.7.2
perl 5.004
config.data looks like this (lines split for this post):
PERL_LIB -rdynamic
-L/usr/local/lib /usr/lib/perl5/i386-linux/5.00404/auto/DynaLoader/DynaLoader.a
-L/usr/lib/perl5/i386-linux/5.00404/CORE -lperl -lgdbm -ldb -ldl -lm -lc
## Core directory (includes, libs). See perlembed(1)
#### =()<PERL_INC @<PERL_INC>@>()=
PERL_INC -I/usr/lib/perl5/i386-linux/5.00404/CORE
I'm getting this error during a make:
-----------
In file included from /usr/lib/perl5/i386-linux/5.00404/CORE/perl.h:1012,
from perl.c:29:
/usr/lib/perl5/i386-linux/5.00404/CORE/cop.h:205: parse error before `bool'
/usr/lib/perl5/i386-linux/5.00404/CORE/cop.h:205: warning: no semicolon at end
of struct or union
/usr/lib/perl5/i386-linux/5.00404/CORE/cop.h:206: warning: data definition has
no type or storage class
[additional errors omitted]
-----------
cop.h lines 200 and on:
struct subst {
I32 sbu_iters;
I32 sbu_maxiters;
I32 sbu_safebase;
I32 sbu_oldsave;
bool sbu_once;
bool sbu_rxtainted;
char * sbu_orig;
SV * sbu_dstr;
SV * sbu_targ;
char * sbu_s;
char * sbu_m;
char * sbu_strend;
void * sbu_rxres;
REGEXP * sbu_rx;
};
I think its blowing up at the first bool. According to the file
handy.h there's some special deal with gcc and "bool". Obviously
I don't have something right. I'm afraid this is more of a perl/gcc
problem, but hoping someone doing this specific compile will have
seen the problem before.
Any clues appreciated!
--
Hex.Net Support Team mailto:support@hex.net
We keep it running... Hex.Net Superhighway
metro (817) 329-3182 Network Operations Center
Re: PERL_SUPPORT Compile Problem
Author: Stephen Denny
Date: Tue, 17 Mar 1998 00:00
Date: Tue, 17 Mar 1998 00:00
25 lines
1200 bytes
1200 bytes
In article <6empmd$kmk$1@black.interact.net.au>, tom minchin <tom@black.interact.net.au> wrote: >sdenny@black.hex.net (Stephen Denny) writes: > >>I'm trying to compile in PERL_SUPPORT DO. > >Try instead for PERL_INC: > >PERL_INC -I/usr/lib/perl5/i386-linux/5.00404/CORE -Dbool=char -DHAS_BOOL > >Should compile happily after that. > >tom@interact.net.au You are right! Thanks. Stephen -- Hex.Net Support Team mailto:support@hex.net We keep it running... Hex.Net Superhighway metro (817) 329-3182 Network Operations Center
Re: PERL_SUPPORT Compile Problem
Author: tom minchin
Date: Wed, 18 Mar 1998 00:00
Date: Wed, 18 Mar 1998 00:00
23 lines
1089 bytes
1089 bytes
sdenny@black.hex.net (Stephen Denny) writes: >I'm trying to compile in PERL_SUPPORT DO. >System is RedHat Linux 4.2 >kernel 2.0.32 >gcc 2.7.2.1 >inn 1.7.2 >perl 5.004 >config.data looks like this (lines split for this post): >#### =()<PERL_INC @<PERL_INC>@>()= >PERL_INC -I/usr/lib/perl5/i386-linux/5.00404/CORE Try instead for PERL_INC: PERL_INC -I/usr/lib/perl5/i386-linux/5.00404/CORE -Dbool=char -DHAS_BOOL Should compile happily after that. tom@interact.net.au
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads