🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #51517

Re: Using Sunfreeware's perl in place of Sun's perl

#51517
From: Och
Date: Wed, 28 Mar 2001 04:40
43 lines
2476 bytes
>   Russ:
>
>   h2ph doesn't like absolute path names.  Did you, by any chance, try
>   following the instructions in the INN installation manual, which say to
>   do:
>   
>     # cd /usr/include
>     # h2ph * sys/*
>   
>   Those instructions are in the section on controlchan, so you may have
>   missed them.


That caused the following set of new errors to appear: 

_______________________________________________________________________

Warning: Use of "defined" without parens is ambiguous at /usr/perl5/site_perl/5.
005/i86pc-solaris/_h2ph_pre.ph line 2.
Can't use subscript on subroutine entry at /usr/perl5/site_perl/5.005/i86pc-sola
ris/_h2ph_pre.ph line 2, near "} }"
(Did you mean $ or @ instead of &?)
syntax error at /usr/perl5/site_perl/5.005/i86pc-solaris/_h2ph_pre.ph line 4, ne
ar "unless"
BEGIN failed--compilation aborted at /usr/local/news/bin/mailpost line 15.
_______________________________________________________________________


Apparently perl doesn't like the following line that h2ph adds to 
/usr/perl5/site_perl/5.005/i86pc-solaris/_h2ph_pre.ph:

     unless (defined &) { sub () { "" } }

But, after you comment it out, everything seems to work.

Problem solved, thanks. ;-)


_______________________________________________________________________

Och                             finger och@nym.alias.net for public key
Technical Details
Message-ID: <20010328044043.14654.qmail@nym.alias.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.solaris.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!news-feed.riddles.org.uk!skynet.be!newsfeed00.sul.t-online.de!t-online.de!nautilus.visp-europe.psi.com!newsfeed.Austria.EU.net!newsfeed.kpnqwest.at!anon.lcs.mit.edu!nym.alias.net!mail2news-x4!mail2news-x3!mail2news-x2!mail2news
References: <20010327055026.19579.qmail@nym.alias.net> <u4Wv6.3304$SB2.577088@ruti.visi.com> <20010327142629.15126.qmail@nym.alias.net>

Show Full Headers
Complete Article Headers
Message-ID: <20010328044043.14654.qmail@nym.alias.net>
Subject: Re: Using Sunfreeware's perl in place of Sun's perl
Date: Wed, 28 Mar 2001 04:40:43 +0000
From: Och <och@nym.alias.net>
References: <20010327055026.19579.qmail@nym.alias.net> <u4Wv6.3304$SB2.577088@ruti.visi.com> <20010327142629.15126.qmail@nym.alias.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.solaris.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!news-feed.riddles.org.uk!skynet.be!newsfeed00.sul.t-online.de!t-online.de!nautilus.visp-europe.psi.com!newsfeed.Austria.EU.net!newsfeed.kpnqwest.at!anon.lcs.mit.edu!nym.alias.net!mail2news-x4!mail2news-x3!mail2news-x2!mail2news
Newsgroups: alt.solaris.x86,comp.unix.solaris,news.software.nntp,comp.lang.perl.misc
Mail-To-News-Contact: postmaster@nym.alias.net
Organization: mail2news@nym.alias.net
Lines: 42