🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Dean Carpenter Wed, 25 Mar 1998 00:00
inn-1.7.2 and perl for cleanfeed problem
#27150
Author: Dean Carpenter
Date: Wed, 25 Mar 1998 00:00
48 lines
2902 bytes
Dang.  I'm just setting up a new news box - Linux Debian 2.0 with INN 1.7.2.  
After changing PERL_SUPPORT to DO and setting PERL_LIB and PERL_INC 
appropriately, the compile dies on perl.c in ./lib.

This is using the current Debian inn-1.7.2.orig.tar.gz and inn_1.7.2.diff.gz 
files from the source dir.  The problem below is before the cleanfeed patch is 
applied - I wanted to make sure the sources would compile cleanly ... :(

root@news1:/usr/src/inn-1.7.2.orig/lib# gcc -I../include
-I/usr/lib/perl5/i386-linux/5.004/CORE   -c perl.c -o perl.o
In file included from /usr/lib/perl5/i386-linux/5.004/CORE/perl.h:1012,
                 from perl.c:29:
                 /usr/lib/perl5/i386-linux/5.004/CORE/cop.h:205: parse error
                 before `bool'
                 /usr/lib/perl5/i386-linux/5.004/CORE/cop.h:205: warning: no
                 semicolon at end of struct or union
                 /usr/lib/perl5/i386-linux/5.004/CORE/cop.h:206: warning: data
                 definition has no type or storage class
                 /usr/lib/perl5/i386-linux/5.004/CORE/cop.h:215: parse error
                 before `}'
                 /usr/lib/perl5/i386-linux/5.004/CORE/cop.h:256: field
                 `cx_subst' has incomplete type
                 In file included from
                 /usr/lib/perl5/i386-linux/5.004/CORE/perl.h:1016,
                                  from perl.c:29:
                                  
/usr/lib/perl5/i386-linux/5.004/CORE/scope.h:93:
                                  parse error before `bool'
                                  
/usr/lib/perl5/i386-linux/5.004/CORE/scope.h:93:
                                  warning: no semicolon at end of struct or
                                  union
                                  In file included from perl.c:29:
                                  
/usr/lib/perl5/i386-linux/5.004/CORE/perl.h:1315:
                                  parse error before `Perl_nomemok'
                                  
/usr/lib/perl5/i386-linux/5.004/CORE/perl.h:1315:
                                  warning: data definition has no type or
                                  storage class


--
Dean Carpenter	deano@areyes.spam.com		Remove the spam :)
94 TT :)	Dean.Carpenter@pharma.spam.com	to reply.

Re: inn-1.7.2 and perl for cleanfeed problem
#27154
Author: Miquel van Smoorenburg
Date: Wed, 25 Mar 1998 00:00
19 lines
1334 bytes
In article <6fbjrf$5c$1@news.pharma.com>,
Dean Carpenter <dean.carpenter@pharma.com.no-spamm> wrote:
>Dang.  I'm just setting up a new news box - Linux Debian 2.0 with INN 1.7.2.  
>After changing PERL_SUPPORT to DO and setting PERL_LIB and PERL_INC 
>appropriately, the compile dies on perl.c in ./lib.

If you read back in this group you'll see that you have to compile
with -DHAS_BOOL -Dbool=char or some similar hack. I'm not quite sure
about the exact syntax, that's why I said you have to search.

Oh well this is usenet - someone will now post a followup to correct me :)

Mike.
-- 
 Miquel van Smoorenburg | Our vision is to speed up time,
    miquels@cistron.nl  |   eventually eliminating it.

Re: inn-1.7.2 and perl for cleanfeed problem
#27202
Author: Dean Carpenter
Date: Thu, 26 Mar 1998 00:00
20 lines
1494 bytes
In article <6fblj7$hru$1@defiant.cistron.nl>, miquels@cistron.nl (Miquel van Smoorenburg) wrote:
>In article <6fbjrf$5c$1@news.pharma.com>,
>Dean Carpenter <dean.carpenter@pharma.com.no-spamm> wrote:
>>Dang.  I'm just setting up a new news box - Linux Debian 2.0 with INN 1.7.2.  
>>After changing PERL_SUPPORT to DO and setting PERL_LIB and PERL_INC 
>>appropriately, the compile dies on perl.c in ./lib.
>
>If you read back in this group you'll see that you have to compile
>with -DHAS_BOOL -Dbool=char or some similar hack. I'm not quite sure
>about the exact syntax, that's why I said you have to search.

Bingo.  Adding a -Dbool=char and -DHAS_BOOL to the PERL_INC define did the 
trick.  Cleanfeed, here we come !

--
Dean Carpenter	deano@areyes.spam.com		Remove the spam :)
94 TT :)	Dean.Carpenter@pharma.spam.com	to reply.

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads