🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #41848

Compile newsgate on Linux ?

#41848
From: Etienne Gauthier
Date: Mon, 29 Nov 1999 00:00
47 lines
2363 bytes
Hi all,

  I'm trying to compile the newsgate tool, on my linux laptop, for
tests... And, guess why I post this message ... I didn't succeed...

  I've downloaded newsgate from : ftp://ftp.isc.org/isc/inn/contrib/
I have INN 2.1. What I actually need, is a tool to build a bidirectional
(a wish ?) gateway between news and mail. From its name, I guess
news2mail is monodirectional (I'll test it next). I know there was a lot
of previous messages about this, but I didn't find perfect tools. The
package News::Gateway seems to cover at least a big part of what I'm
looking for, but I didn't test it for the moment.


  If someone could help me here, it would be nice :

(Modifying C code is Ok to me, but lex is another story)

I get this output, when trying a make (after modifying Makefile and
gate.h) :

cc -g -DUSE_PARSEDATE  -o mail2news misc.o regex.o hdr.o mail2news.o
rfc822.o  /tmp/inn-2.1/lib/.libs/libinn.a
cc -g -DUSE_PARSEDATE   -c news2mail.c -o news2mail.o
cc -g -DUSE_PARSEDATE  -o news2mail misc.o news2mail.o
yacc -d gag.y
cc -g -DUSE_PARSEDATE   -c gag.c -o gag.o
lex  -t lex.l > lex.c
cc -g -DUSE_PARSEDATE   -c lex.c -o lex.o
lex.l: In function `yylex':
lex.l:80: `yylineno' undeclared (first use in this function)
lex.l:80: (Each undeclared identifier is reported only once
lex.l:80: for each function it appears in.)
lex.l: In function `yyerror':
lex.l:184: `yylineno' undeclared (first use in this function)
make: *** [lex.o] Error 1


  I use RedHat 6.0, and INN 2.1. 


Thanks at least, to have read my message until there ....

Etienne

Technical Details
Message-ID: <38429E4E.8073C5B2@capgemini.fr>
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: <38429E4E.8073C5B2@capgemini.fr>
Subject: Compile newsgate on Linux ?
Date: Mon, 29 Nov 1999 00:00:00 +0000
From: Etienne Gauthier <egauthie@capgemini.fr.nospam>
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: 554455157
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@oleane.net
X-Trace: minus.oleane.net 943891033 21910 194.3.234.177 (29 Nov 1999 15:57:13 GMT)
Organization: Cap Gemini
Mime-Version: 1.0
NNTP-Posting-Date: 29 Nov 1999 15:57:13 GMT
Newsgroups: news.software.nntp