🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #17119

Trouble compiling perl hooks in INN 1.5.1 on Solaris 2.4

#17119
From: Charles R. Dennett
Date: Fri, 18 Apr 1997 00:00
40 lines
1922 bytes
I thought I'd try adding the perl hooks to INN 1.5.1 so I edited the
config.data files to turn them on, located the perl lib and include
files and put them in config.data and tried to recompile inn.  
This is what I got:

gcc -I../include -DSUNOS5 -USO_SNDBUF -O
-I/packages/perl5/lib/sun4-sunos/5.002/
CORE   -c perl.c -o perl.o
In file included from
/packages/solgnu/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/in
clude/math.h:206,
                 from
/packages/perl5/lib/sun4-sunos/5.002/CORE/perl.h:780,
                 from perl.c:29:
/packages/solgnu/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/floatingpoint.h:
177: conflicting types for `atof'
/packages/perl5/lib/sun4-sunos/5.002/CORE/perl.h:767: previous
declaration of `a
tof'
/packages/solgnu/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/floatingpoint.h:
178: conflicting types for `strtod'
/packages/solgnu/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/stdlib.h:79:
pre
vious declaration of `strtod'
make[1]: *** [perl.o] Error 1

I know the readme says I need perl 5.003, but 5.002 is all my system has
and
it says 5.002 just was not tested.
I'm not the sysadmin, only the news admin, otherwise I'd put on perl
5.003.

Is it the version of perl? gcc? solaris?  If not, any idea what else I
could do?

Thanks, 
Charlie Dennett

Technical Details
Message-ID: <3358201C.5B37@kodak.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.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <3358201C.5B37@kodak.com>
Subject: Trouble compiling perl hooks in INN 1.5.1 on Solaris 2.4
Date: Fri, 18 Apr 1997 00:00:00 +0000
From: "Charles R. Dennett" <dennett@kodak.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.mbox.zip!not-for-mail
X-Deja-AN: 235840001
Distribution: inet
Organization: Internet Marketing/Web Site Architecture
Reply-To: dennett@kodak.com
Newsgroups: news.software.nntp