🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #24629

Re: Q: INN 1.5.1 & Perl compile problems ?

#24629
From: brian moore
Date: Sun, 28 Dec 1997 00:00
42 lines
2491 bytes
In article <686jpd$r8m$1@news.ecrc.de>,
	NOC <noc@bricbrac.de> writes:
> I have been given the task of getting INN & CleanFeed up and running on 2
> machines:

Cool. :)  Cleanfeed is fun.... now I'm rmgrouping a pile of groups that
USED to have posts, but seem quite dead once the spam is dropped.

> When I edit the config.data to compile with Perl 5.004_0[234] / 5.003 as so:
> 
>   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:
> 
>     bool        sbu_once;         <<<<<<<<<< line 205

> Looks like I32 is not defined right but its there in perl's handy.h file.

Actually, it's mad at not finding 'bool', though I don't know why it
can't.  (It's worked on my Slugaris 2.5 box fine, haven't tried Linux.)

Try this:
PERL_INC       -I/usr/lib/perl5/i386-linux/5.00404/CORE -Dbool=char

It's cheating, yes, but oh, well. :)

There seems to be some way for perl to be confused on install and leave
certain key items (like bool) out of things.

-- 
Brian Moore                      Kill A Spammer For Jesus
Sysadmin, C/Perl Hacker

Technical Details
Message-ID: <686n7t$8t4$1@news.cmc.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-mail
References: <686jpd$r8m$1@news.ecrc.de>

Show Full Headers
Complete Article Headers
Message-ID: <686n7t$8t4$1@news.cmc.net>
Subject: Re: Q: INN 1.5.1 & Perl compile problems ?
Date: Sun, 28 Dec 1997 00:00:00 +0000
From: bem@news.cmc.net (brian moore)
References: <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-mail
X-Deja-AN: 310862965
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@cmc.net
X-Trace: news.cmc.net 883351613 9124 (None) 206.102.31.253
Organization: Chambers Multimedia Connection
Mime-Version: 1.0
Reply-To: bem@news.cmc.net
Newsgroups: news.software.nntp