🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #51501

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

#51501
From: Och
Date: Tue, 27 Mar 2001 14:26
80 lines
3438 bytes
-----BEGIN PGP SIGNED MESSAGE-----


>   Mike:
>
>   Followups Trimmed.


Followups re-added.
This is an obscure problem (one hit on deja).
I'll be lucky if anyone in any of the groups can provide a correct answer.


>>  Och:
>> 
>>  In a SolarisIA 8 environment, the perl that Sun distributes displays
>>  the following errors when I invoke inn's mailpost
>>  
>>  Can't locate syslog.ph in @INC (did you run h2ph?) (@INC contains: /usr/perl5/5.
>>  00503/i86pc-solaris /usr/perl5/5.00503 /usr/perl5/site_perl/5.005/i86pc-solaris
>>  /usr/perl5/site_perl/5.005 .) at /usr/perl5/5.00503/Sys/Syslog.pm line 117.
>>  BEGIN failed--compilation aborted at /usr/news/bin/mailpost line 15.
>>  
>>  Apparently perl displays this error because Sun used its proprietary
>>  C compiler to create its perl distribution, but my host uses gcc.


>   Are you smoking drugs?
>   
>   THe error is so clear!
>   
>   type, as root:
>   
>           # h2ph /usr/include/syslog.h
>   
>   and try your comand again.
>   
>   In fact, it even asks yo uif you have run h2ph yet!


# ./h2ph /usr/include/syslog.h
/usr/include/syslog.h -> /usr/include/syslog.ph
# cat zz | mailpost local.ipfilter
Can't locate syslog.ph in @INC (did you run h2ph?) (@INC contains: /usr/perl5/5.
00503/i86pc-solaris /usr/perl5/5.00503 /usr/perl5/site_perl/5.005/i86pc-solaris
/usr/perl5/site_perl/5.005 .) at /usr/perl5/5.00503/Sys/Syslog.pm line 117.
BEGIN failed--compilation aborted at /usr/local/news/bin/mailpost line 15.# ls /usr/include/*.ph
/usr/include/*.ph: No such file or directory
# ls /usr/include/*.ph
/usr/include/*.ph: No such file or directory


Now, what was that bit about the error being so clear?


>>  I changed cc to gcc in /usr/perl5/5.00503/i86pc-solaris/Config.pm,
>>  but the error still occurs.


>   That has nothing to do with it.


You don't know much about the Sun perl versus gcc perl problem in
Solaris do you?

_______________________________________________________________________

Och                             finger och@nym.alias.net for public key

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBOsCfMIk2xl+M24IFAQEonAP/WaCsxLQyindurjRZ4elus4Cy5jezNi2O
8RDFlwaJW0iPLwEV5M1GshkRU8XraUv0SL6yUX0AdWa2gFkRRl63CeLGB7T/6p3h
PmHgHX1EvO6zUIbxZ3vbiW13EScHARPMi5LYUtKJgUow9eURfKRVhL1L38uP1q2i
ca7K3SeJgjI=
=poxr
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <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-02!supernews.com!news.gv.tsc.tdk.com!newsfeed.berkeley.edu!news-hog.berkeley.edu!ucberkeley!enews.sgi.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>

Show Full Headers
Complete Article Headers
Message-ID: <20010327142629.15126.qmail@nym.alias.net>
Subject: Re: Using Sunfreeware's perl in place of Sun's perl
Date: Tue, 27 Mar 2001 14:26:29 +0000
From: Och <och@nym.alias.net>
References: <20010327055026.19579.qmail@nym.alias.net> <u4Wv6.3304$SB2.577088@ruti.visi.com>
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!newsfeed.berkeley.edu!news-hog.berkeley.edu!ucberkeley!enews.sgi.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: 79