Article View: news.software.nntp
Article #51516Re: Using Sunfreeware's perl in place of Sun's perl
From: Kenneth Simpson
Date: Wed, 28 Mar 2001 07:10
Date: Wed, 28 Mar 2001 07:10
60 lines
3568 bytes
3568 bytes
Hi - this should work without any modifications to any code
anywhere under Solaris 8.
If it doesn't, then either your environment or system is screwed up.
-- Ken
Och wrote:
>
> > 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
--
========================================================================
Ken Simpson Well Connected Computing, Inc.
Email: ken@wellconnected.com 1001 Bridgeway, Suite 630
Voice: +1.415.332.5018 Sausalito, CA 94965
FAX: +1.415.332.9197 USA, Earth
========================================================================
Printed using 100% recycled electrons.
Technical Details
Message-ID:
<q7gw6.811$Uv.523144@newsrump.sjc.telocity.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-02!supernews.com!news.gv.tsc.tdk.com!falcon.america.net!sunqbc.risq.qc.ca!newsswitch.lcs.mit.edu!feed2.onemain.com!feed1.onemain.com!news1!telocity-west!TELOCITY!newsrump.sjc.telocity.net!not-for-mailReferences:
<20010327055026.19579.qmail@nym.alias.net> <u4Wv6.3304$SB2.577088@ruti.visi.com> <20010327142629.15126.qmail@nym.alias.net> <20010328044043.14654.qmail@nym.alias.net>Show Full Headers
Complete Article Headers
Message-ID: <q7gw6.811$Uv.523144@newsrump.sjc.telocity.net> Subject: Re: Using Sunfreeware's perl in place of Sun's perl Date: Tue, 27 Mar 2001 23:10:12 -0800 From: Kenneth Simpson <"ken"@$nospam$wellconnected.com> References: <20010327055026.19579.qmail@nym.alias.net> <u4Wv6.3304$SB2.577088@ruti.visi.com> <20010327142629.15126.qmail@nym.alias.net> <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-02!supernews.com!news.gv.tsc.tdk.com!falcon.america.net!sunqbc.risq.qc.ca!newsswitch.lcs.mit.edu!feed2.onemain.com!feed1.onemain.com!news1!telocity-west!TELOCITY!newsrump.sjc.telocity.net!not-for-mail X-Mailer: Mozilla 4.75 [en] (X11; U; SunOS 5.7 i86pc) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: alt.solaris.x86,comp.unix.solaris,news.software.nntp,comp.lang.perl.misc Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 59 X-Trace: NTkgTm9BdXRoVXNlciBURUxPQ0lUWS1SRUFERVJTIDY0LjEyOS44Mi4xNyAgVHWzLCAyNyBNYXL2!MjAwMSAyMzoxMDoxNCAiU1Q= X-Abuse-Info: Please forward ALL headers when reporting abuse. X-Complaints-To: abuse@telocity.net NNTP-Posting-Date: Tue, 27 Mar 2001 23:10:14 PST