Article View: news.software.nntp
Article #67324Re: Perl Interface to INN Storage Manager
From: Tuc
Date: Mon, 08 Dec 2003 16:20
Date: Mon, 08 Dec 2003 16:20
89 lines
4550 bytes
4550 bytes
jeff@litech.org (Jeffrey M. Vinocur) wrote in message news:<br0cvp$d3t$1@puck.litech.org>...
> [ CC'd to suto@merry.xmath.ous.ac.jp from news.software.nntp ]
>
> Well, this patch gets it to compile against 2.4 -- I haven't had
> a chance to test if it actually works, though.
>
> Also, I think it still compiles against 2.3, but I don't have a
> 2.2 install around to test against so I may have broken
> something. (Should be pretty obvious to add more #if testing
> where needed, though.)
>
Applied the patch, and now get :
cc -c -DVERSION=\"0.11\" -DXS_VERSION=\"0.11\" -DPIC -fpic
-I/usr/libdata/perl/5.00503/mach/CORE -g -O2 -I/include
-DINN_VERSION=20401 SM.c
SM.xs:9: clibrary.h: No such file or directory
SM.xs:10: libinn.h: No such file or directory
SM.xs:12: storage.h: No such file or directory
SM.xs:17: inn/innconf.h: No such file or directory
SM.xs:18: inn/qio.h: No such file or directory
SM.xs:27: warning: `TRUE' redefined
/usr/libdata/perl/5.00503/mach/CORE/handy.h:32: warning: this is the
location of the previous definition
SM.xs:28: warning: `FALSE' redefined
/usr/libdata/perl/5.00503/mach/CORE/handy.h:33: warning: this is the
location of the previous definition
gmake: *** [SM.o] Error 1
I got that type of problem before, I don't know why it isn't picking
up my libs.
So I change in Makefile :
DEFINE = -g -O2 -I/include -DINN_VERSION=20401
to
DEFINE = -g -O2 -I/usr/local/src/INNSNAPSHOT/include -I
/usr/local/src/SNAPSHOT/include/inn -DINN_VERSION=20401
So now I get :
cc -c -DVERSION=\"0.11\" -DXS_VERSION=\"0.11\" -DPIC -fpic
-I/usr/libdata/
perl/5.00503/mach/CORE -g -O2
-I/usr/local/src/inn-STABLE-20031206/include -I/us
r/local/src/inn-STABLE-20031206/include/inn -DINN_VERSION=20401 SM.c
In file included from
/usr/local/src/inn-STABLE-20031206/include/inn/defines.h:5
0,
from
/usr/local/src/inn-STABLE-20031206/include/config.h:20,
from
/usr/local/src/inn-STABLE-20031206/include/clibrary.h:25,
from SM.xs:9:
/usr/include/stdbool.h:39: warning: `bool' redefined
/usr/libdata/perl/5.00503/mach/CORE/handy.h:71: warning: this is the
location of
the previous definition
SM.xs:27: warning: `TRUE' redefined
/usr/libdata/perl/5.00503/mach/CORE/handy.h:32: warning: this is the
location of
the previous definition
SM.xs:28: warning: `FALSE' redefined
/usr/libdata/perl/5.00503/mach/CORE/handy.h:33: warning: this is the
location of
the previous definition
SM.xs: In function `XS_INN__SM_read_article':
SM.xs:377: warning: passing arg 1 of `Perl_newSVpv' discards
qualifiers from poi
nter target type
Running Mkbootstrap for INN::SM ()
chmod 644 SM.bs
cc -o blib/arch/auto/INN/SM/SM.so -Wl,-E -shared -lperl -lm SM.o
/usr/local/s
rc/inn-STABLE-20031206/storage/libstorage.la
/usr/local/src/inn-STABLE-20031206/
lib/libinn.la
/usr/local/src/inn-STABLE-20031206/storage/libstorage.la: file not
recognized: F
ile format not recognized
gmake: *** [blib/arch/auto/INN/SM/SM.so] Error 1
At this point, I'm stuck!
This is FreeBSD 4.9 using the stock installed PERL.
Thanks, Tuc/TTSG Internet Services, Inc.
Technical Details
Message-ID:
<b0a6af8e.0312080820.482ec033@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!feed2.newsreader.com!newsreader.com!zeus.visi.com!phobos.visi.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> <87wu991yjw.fsf@windlord.stanford.edu> <b0a6af8e.0312070949.3c7875a6@posting.google.com> <br0cvp$d3t$1@puck.litech.org>Show Full Headers
Complete Article Headers
Message-ID: <b0a6af8e.0312080820.482ec033@posting.google.com> Subject: Re: Perl Interface to INN Storage Manager Date: Mon, 08 Dec 2003 16:20:46 +0000 From: google@ttsg.com (Tuc) References: <b0a6af8e.0312061227.290161f1@posting.google.com> <87wu991yjw.fsf@windlord.stanford.edu> <b0a6af8e.0312070949.3c7875a6@posting.google.com> <br0cvp$d3t$1@puck.litech.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.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!feed2.newsreader.com!newsreader.com!zeus.visi.com!phobos.visi.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: 89 NNTP-Posting-Host: 68.37.185.35 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1070900446 18526 127.0.0.1 (8 Dec 2003 16:20:46 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 8 Dec 2003 16:20:46 +0000 (UTC)