Article View: news.software.nntp
Article #67426Re: Perl Interface to INN Storage Manager
From: Tuc
Date: Sun, 14 Dec 2003 03:48
Date: Sun, 14 Dec 2003 03:48
42 lines
2697 bytes
2697 bytes
Hi All,
I've been working with Kiyokazu SUTO offline and here's whats
happened...
1) Added --make=gmake to my invocation of mkmk.sh .
2) Removed the EXTLIB=a since it finds it better now.
3) At that point it finally makes, but a make test complained:
Can't load 'blib/arch/auto/INN/SM/SM.so' for module INN::SM: Shared
object "libs
torage.so.2" not found at /usr/libdata/perl/5.00503/DynaLoader.pm line
169.
4) We worked out that "-Wl,-rpath,/usr/local/news/lib" needed to be
part of the link. He suggested adding
LIBS="-Wl,-rpath,/usr/local/news/lib" to the invocation of mkmk.sh,
which didn't do it for me. I added it to LDDLFLAGS in the created
Makefile (I never figured out how to make it via the mkmk.sh). This is
still open from a standpoint of not modifying the makefile.
5) Now on to using it.... I tried :
INN::SM::sm_init;
or
$artiwant='@0301544852454500000005FB0D6600000001@';
$text=INN::SM::read_article($artiwant);
print $text;
or
INN::SM::read_inn_conf;
print inn::inn_version;
and they all coredump.
Any ideas?
Technical Details
Message-ID:
<b0a6af8e.0312131948.4f5530d9@posting.google.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newspeer.monmouth.com!news-out.visi.com!petbe.visi.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews1.google.com!not-for-mailReferences:
<b0a6af8e.0312061227.290161f1@posting.google.com> <br0cvp$d3t$1@puck.litech.org> <b0a6af8e.0312080820.482ec033@posting.google.com> <20031209-102321-01fdb.suto@ks-and-ks.ne.jp> <b0a6af8e.0312082308.6dffd9b5@posting.google.com> <87r7zev3ir.fsf@windlord.stanford.edu> <20031209-205607-01fdc.suto@ks-and-ks.ne.jp> <b0a6af8e.0312090749.2d053572@posting.google.com> <20031210-104441-01fdd.suto@ks-and-ks.ne.jp> <b0a6af8e.0312100014.5260a296@posting.google.com>Show Full Headers
Complete Article Headers
Message-ID: <b0a6af8e.0312131948.4f5530d9@posting.google.com> Subject: Re: Perl Interface to INN Storage Manager Date: Sun, 14 Dec 2003 03:48:06 +0000 From: google@ttsg.com (Tuc) References: <b0a6af8e.0312061227.290161f1@posting.google.com> <br0cvp$d3t$1@puck.litech.org> <b0a6af8e.0312080820.482ec033@posting.google.com> <20031209-102321-01fdb.suto@ks-and-ks.ne.jp> <b0a6af8e.0312082308.6dffd9b5@posting.google.com> <87r7zev3ir.fsf@windlord.stanford.edu> <20031209-205607-01fdc.suto@ks-and-ks.ne.jp> <b0a6af8e.0312090749.2d053572@posting.google.com> <20031210-104441-01fdd.suto@ks-and-ks.ne.jp> <b0a6af8e.0312100014.5260a296@posting.google.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newspeer.monmouth.com!news-out.visi.com!petbe.visi.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews1.google.com!not-for-mail Newsgroups: news.software.nntp Organization: http://groups.google.com Lines: 42 NNTP-Posting-Host: 68.192.152.82 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1071373687 23621 127.0.0.1 (14 Dec 2003 03:48:07 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 14 Dec 2003 03:48:07 +0000 (UTC)