Article View: news.software.nntp
Article #26915PERL_SUPPORT Compile Problem
From: 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
Technical Details
Message-ID:
<6ekues$nde@black.hex.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <6ekues$nde@black.hex.net> Subject: PERL_SUPPORT Compile Problem Date: Mon, 16 Mar 1998 00:00:00 +0000 From: sdenny@black.hex.net (Stephen Denny) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 334785725 Organization: Hex.Net Superhighway Newsgroups: news.software.nntp