Article View: news.software.nntp
Article #50921[NEWSX] finally working with INN 2.3.1 storage API !
From: Carlo Fusco
Date: Fri, 02 Mar 2001 04:24
Date: Fri, 02 Mar 2001 04:24
34 lines
2173 bytes
2173 bytes
I still don't know how, but I made it ! Now, I think make and automake set of script is buggy, while the code apparently is just fine. First of all the configure script is not able to find the INN's library headers "config.h" and "storage.h" no matter what option I choose, so I created two symlinks in /usr/local/include dir of my debian box pointing to the corresponding files located in /usr/include/inn/ . After that "./configure" recognize the files (if I use "--with-newslib=/usr/lib/news" option pointing to the right directory where storage.a is located) , but during the next step, the compiler quit with an error because it finds a double declaration of "xmalloc" and "xrealloc", so I commented them out in src/util.c file of newsx tree. Because of this, it was necessary to modify test/Makefile generated by "./configure", changing LIBS = -lnsl with LIBS = -lnsl -linn Finally now "make" and "make install" work fine (except few warnings) and the resulting binary can post correctly from the token generated by the storage manager. I am not able to write a patch. Besides, I am sure there is a better way to fix those bugs. I hope somebody would fix them soon. -- ciao cf
Technical Details
Message-ID:
<97n79g$8p8$1@frodo.dyndns.org>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!supernews.google.com!sn-xit-03!supernews.com!freenix!fr.usenet-edu.net!usenet-edu.net!fu-berlin.de!uni-berlin.de!w0022897-udp271094uds.mgh.harvard.EDU!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <97n79g$8p8$1@frodo.dyndns.org>
Subject: [NEWSX] finally working with INN 2.3.1 storage API !
Date: Fri, 02 Mar 2001 04:24:16 +0000
From: messer_samvise@libero.it (Carlo Fusco)
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!supernews.google.com!sn-xit-03!supernews.com!freenix!fr.usenet-edu.net!usenet-edu.net!fu-berlin.de!uni-berlin.de!w0022897-udp271094uds.mgh.harvard.EDU!not-for-mail
Newsgroups: news.software.nntp
Organization: Don Chishotte Clan
Lines: 33
NNTP-Posting-Host: w0022897-udp271094uds.mgh.harvard.edu (132.183.24.84)
X-Trace: fu-berlin.de 983507197 27694998 132.183.24.84 (16 [55735])
User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (Linux/2.2.18 (i586))