Article View: news.software.nntp
Article #24637Q: INN 1.5.1 & Perl compile problems ?
From: NOC
Date: Sun, 28 Dec 1997 00:00
Date: Sun, 28 Dec 1997 00:00
62 lines
2860 bytes
2860 bytes
I have been given the task of getting INN & CleanFeed up and running on 2
machines:
Machine 1: SUN Ultra1/Solaris 2.5.1, 256MB RAM, 20GB Disk, INN 1.5.1
Machine 2: PC Linux 2.0.32, 128MB RAM, 20GB Disk, INN 1.7.2-insync-1.1d
Both machines have gcc-2.7.2 (correctly installed).
When I edit the config.data to compile with Perl 5.004_0[234] / 5.003 as so:
## 17. Perl Configuration
## Do you want Perl support? Pick DO or DONT
#### =()<PERL_SUPPORT @<PERL_SUPPORT>@>()=
PERL_SUPPORT DO
## How do you get the PERL libraries? Probably -lperl -lm, blank if no PERL
#### =()<PERL_LIB @<PERL_LIB>@>()=
PERL_LIB -L/usr/lib/perl5/i386-linux/5.00404/CORE -lperl -lm
## Core directory (includes, libs). See perlembed(1)
#### =()<PERL_INC @<PERL_INC>@>()=
PERL_INC -I/usr/lib/perl5/i386-linux/5.00404/CORE
I get the same compile errors on both platforms:
gcc -I../include -O2 -m486 -fomit-frame-pointer -I/usr/lib/perl5/i386-linux/5.00404/CORE -c perl.c -o perl.o
In file included from /usr/lib/perl5/i386-linux/5.00404/CORE/perl.h:1012,
from perl.c:30:
/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
/usr/lib/perl5/i386-linux/5.00404/CORE/cop.h:215: parse error before }'
/usr/lib/perl5/i386-linux/5.00404/CORE/cop.h:256: field 'cx_subst' has incomplete type
The offending line around line 205 in cop.h is:
struct subst {
I32 sbu_iters;
I32 sbu_maxiters;
I32 sbu_safebase;
I32 sbu_oldsave;
bool sbu_once; <<<<<<<<<< line 205
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;
};
Looks like I32 is not defined right but its there in perl's handy.h file.
Anyone seen this problem and if so I sure would like to know a solution ?
Thanx
John (shaking from all the coffee)
Technical Details
Message-ID:
<686jpd$r8m$1@news.ecrc.de>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: <686jpd$r8m$1@news.ecrc.de> Subject: Q: INN 1.5.1 & Perl compile problems ? Date: Sun, 28 Dec 1997 00:00:00 +0000 From: NOC <noc@bricbrac.de> 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: 310851212 Organization: Sat here on my own and now this User-Agent: tin/pre-1.4-971106 (UNIX) (Linux/2.0.32 (sparc)) Newsgroups: news.software.nntp