🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #67329

Re: Perl Interface to INN Storage Manager

#67329
From: Tuc
Date: Tue, 09 Dec 2003 07:08
78 lines
3943 bytes
Kiyokazu SUTO <suto@ks-and-ks.ne.jp> wrote in message news:<20031209-102321-01fdb.suto@ks-and-ks.ne.jp>...
> --- mkmk.sh-old	Thu May  3 21:57:58 2001
> +++ mkmk.sh	Tue Dec  9 09:25:29 2003
> @@ -21,6 +21,7 @@
>  fi
>  
>  cat <<EOF | $make -f -
> +top=$inndir
>  include $mkg
>  
>  `for d in "$@"; do echo "$d"; done`
> --- SM.xs-old	Mon Dec  8 19:38:24 2003
> +++ SM.xs	Tue Dec  9 09:40:45 2003
> @@ -23,8 +23,11 @@
>  #endif
>  
>  #if INN_VERSION >= 20400
> +#undef BOOL
>  #define BOOL bool
> +#undef TRUE
>  #define TRUE true
> +#undef FALSE
>  #define FALSE false
>  #endif
>  
> @@ -374,7 +377,7 @@
>        }
>        else
>  #endif
> -      PUSHs(sv_2mortal(newSVpv(art->data, art->len)));
> +      PUSHs(sv_2mortal(newSVpv((char *)art->data, art->len)));
>        SMfreearticle(art);
>      }
>      else
> 
> --

Closer and closer!

hermod# make
mkdir ./blib
mkdir ./blib/lib
mkdir ./blib/lib/INN
cp SM.pm ./blib/lib/INN/SM.pm
AutoSplitting ./blib/lib/INN/SM.pm (./blib/lib/auto/INN/SM)
/usr/bin/perl -I/usr/libdata/perl/5.00503/mach -I/usr/libdata/perl/5.00503 /usr/
libdata/perl/5.00503/ExtUtils/xsubpp  -typemap /usr/libdata/perl/5.00503/ExtUtil
s/typemap SM.xs >xstmp.c && mv xstmp.c SM.c
cc -c        -DVERSION=\"0.11\"  -DXS_VERSION=\"0.11\" -DPIC -fpic -I/usr/libdat
a/perl/5.00503/mach/CORE -g -O2 -I/usr/local/src/inn-STABLE-20031206/include   -
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
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/INN
mkdir blib/arch/auto/INN/SM
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/sr
c/inn-STABLE-20031206/storage/libstorage.la /usr/local/src/inn-STABLE-20031206/l
ib/libinn.la     
/usr/local/src/inn-STABLE-20031206/storage/libstorage.la: file not recognized: F
ile format not recognized
*** Error code 1

Stop in /usr/local/src/inn-sm.

I think we lick this, we might have something usable here!


Thanks, Tuc/TTSG Internet Services, Inc.
Technical Details
Message-ID: <b0a6af8e.0312082308.6dffd9b5@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!cyclone-sf.pbi.net!216.218.192.242!news.he.net!newsfeed1.easynews.com!easynews.com!easynews!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed2.dallas1.level3.net!news.level3.com!postnews1.google.com!not-for-mail
References: <b0a6af8e.0312061227.290161f1@posting.google.com> <87wu991yjw.fsf@windlord.stanford.edu> <b0a6af8e.0312070949.3c7875a6@posting.google.com> <br0cvp$d3t$1@puck.litech.org> <b0a6af8e.0312080820.482ec033@posting.google.com> <20031209-102321-01fdb.suto@ks-and-ks.ne.jp>

Show Full Headers
Complete Article Headers
Message-ID: <b0a6af8e.0312082308.6dffd9b5@posting.google.com>
Subject: Re: Perl Interface to INN Storage Manager
Date: Tue, 09 Dec 2003 07:08:30 +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> <b0a6af8e.0312080820.482ec033@posting.google.com> <20031209-102321-01fdb.suto@ks-and-ks.ne.jp>
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!cyclone-sf.pbi.net!216.218.192.242!news.he.net!newsfeed1.easynews.com!easynews.com!easynews!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed2.dallas1.level3.net!news.level3.com!postnews1.google.com!not-for-mail
Newsgroups: news.software.nntp
Organization: http://groups.google.com
Lines: 78
NNTP-Posting-Host: 68.37.185.35
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1070953711 14717 127.0.0.1 (9 Dec 2003 07:08:31
 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 9 Dec 2003 07:08:31 +0000 (UTC)