Article View: news.software.nntp
Article #21650Problem compiling perl filter support with INN 1.5.1
From: Mario Valente
Date: Thu, 18 Sep 1997 00:00
Date: Thu, 18 Sep 1997 00:00
74 lines
2905 bytes
2905 bytes
Hi
I seem to be unable to find the reason for this problem and I've already
read every FAQ and INN/perl/Linux page I could find :-)
When I try to compile INN 1.5.1 with perl filter support by setting
PERL_SUPPORT DO
I'm unable to compile to get a binary since compilation stops with the
following outpu, after doing "make world"
------------------------------
[toor@avathar inn-1.5.1]# make world
cd config ; make subst quiet ; cd ..
make[1]: Entering directory `/usr/local/src/inn-1.5.1/config'
make[1]: `subst' is up to date.
make[2]: Entering directory `/usr/local/src/inn-1.5.1/config'
chmod u+w `grep -v '^;' <files.list`
/subst -f config.data `grep -v '^;' <files.list`
Fixing interpreter paths.
perl fixinterps.pl -v -d ../samples inncheck innlog.pl pgpverify scanspool
inncheck: no change
innlog.pl: no change
pgpverify: no change
scanspool: no change
make[2]: Leaving directory `/usr/local/src/inn-1.5.1/config'
make[1]: Leaving directory `/usr/local/src/inn-1.5.1/config'
cd lib ; make lint ; cd ..
make[1]: Entering directory `/usr/local/src/inn-1.5.1/lib'
gcc -I../include -O -I/usr/lib/perl5/i386-linux/5.003/CORE -c perl.c -o
perl.o
In file included from perl.c:29:
/usr/lib/perl5/i386-linux/5.003/CORE/perl.h:877: parse error before
`Perl_nomemok'
/usr/lib/perl5/i386-linux/5.003/CORE/perl.h:877: warning: data definition has
no type or storage class
In file included from perl.c:29:
/usr/lib/perl5/i386-linux/5.003/CORE/perl.h:1162: parse error before
`Perl_in_my'
/usr/lib/perl5/i386-linux/5.003/CORE/perl.h:1162: warning: data definition has
no type or storage class
[ repeated several times ]
make[1]: *** [perl.o] Error 1
make[1]: Leaving directory `/usr/local/src/inn-1.5.1/lib'
cat lib/lint
cat: lib/lint: No such file or directory
make: *** [world] Error 1
[toor@avathar inn-1.5.1]#
-----------------------------
It seems to me that there's some kind of problem with perl's include
files, but I'm unable to get around it.
Keep in mind that this is for a perfectly OK config.data file and
configured INN, since when I set PERL_SUPPORT to DONT and instead use
TCL_SUPPORT set to DO, everything compiles OK ( I have been using tcl
filters but want to switch to perl).
Thanks in advance for any help.
C U!
-- Mario Valente
Technical Details
Message-ID:
<5vs2o3$7jh$1@avathar.esoterica.pt>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: <5vs2o3$7jh$1@avathar.esoterica.pt> Subject: Problem compiling perl filter support with INN 1.5.1 Date: Thu, 18 Sep 1997 00:00:00 +0000 From: mvalente@esoterica.pt (Mario Valente) 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: 273643608 Organization: Esoterica, Portugal Newsgroups: news.software.nntp