🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #24734

Perl filter help (can't compile)?

#24734
From: Dougal Campbell
Date: Thu, 01 Jan 1998 00:00
32 lines
2236 bytes
I'm wanting to recompile INN with perl support (in order to run
CleanFeed). I've done a fresh install of Perl 5.004_04 and MD5. "make
test" in both cases runs fine. I've set the appropriate values in the
perl sections of config.data, but when I try to do a make, I get a
bunch of parse errors in the perl header files included by lib/perl.c.
Here's a brief sample:

gcc -I../include -O2 -m486 -fomit-frame-pointer -DTIMER -DOVERSCREAM -I/usr/local/lib/perl5/i586-linux/5.00404/CORE   -c perl.c -o perl.o
In file included from /usr/local/lib/perl5/i586-linux/5.00404/CORE/perl.h:1012,
                 from perl.c:29:
/usr/local/lib/perl5/i586-linux/5.00404/CORE/cop.h:205: parse error before `bool'
/usr/local/lib/perl5/i586-linux/5.00404/CORE/cop.h:205: warning: no semicolon at end of struct or union
/usr/local/lib/perl5/i586-linux/5.00404/CORE/cop.h:206: warning: data definition has no type or storage class
/usr/local/lib/perl5/i586-linux/5.00404/CORE/cop.h:215: parse error before `}'
/usr/local/lib/perl5/i586-linux/5.00404/CORE/cop.h:256: field `cx_subst' has incomplete type

It goes on in a similar fashion, with errors from "scope.h", "perl.h", 
and "proto.h".

I'm compiling under Linux (2.0.23 kernel) with gcc 2.7.2.

Does anyone have any suggestions as to what I might be doing wrong?

-- 
Dougal Campbell, Systems Manager, ADViCOM        dougal@advicom.net
http://www.advicom.net/                 http://advicom.net/~dougal/
           See my homepage for anti-spam information!
QUOTE OF THE MOMENT:
OK, so you're a Ph.D.  Just don't touch anything.

Technical Details
Message-ID: <68gvui$9h3$1@polo.advicom.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

Show Full Headers
Complete Article Headers
Message-ID: <68gvui$9h3$1@polo.advicom.net>
Subject: Perl filter help (can't compile)?
Date: Thu, 01 Jan 1998 00:00:00 +0000
From: Dougal Campbell <dougal@vespucci.advicom.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
X-Deja-AN: 311955986
Summary: Can't get innd to compile with Perl support
Keywords: innd gcc perl install compile
Distribution: world
Organization: ADViCOM -- http://www.advicom.net/
Newsgroups: news.software.nntp