develooper Front page | perl.perl5.porters | Postings from January 2001

[ID 20010111.018] h2ph problems with Solaris 2.6/8

January 11, 2001 12:34
[ID 20010111.018] h2ph problems with Solaris 2.6/8
Message ID:


This applies to perl 5.005_03 built for sun4-solaris, possibly
others also.
When doing

cd /usr/include
h2ph -r -l .

on Solaris 2.6 and 8 hosts, I get the following error message
(and apparently, others too when searching the net for the error

perl -e 'use Sys::Syslog'
Warning: Use of "defined" without parens is ambiguous at 
/local/perl/5.005/lib/site_perl/5.005/sun4-solaris/ line 2.
Can't use subscript on subroutine entry at /local/perl/5.005/lib/site_perl/5.00
5/sun4-solaris/ line 2, near "} }"
(Did you mean $ or @ instead of &?)
syntax error at /local/perl/5.005/lib/site_perl/5.005/sun4-solaris/
 line 4, near "unless"
BEGIN failed--compilation aborted at -e line 1.

The patch attached seems to fix the problem. 

I know 5.005 is not current anymore, but anyway...

Thanks for a great product.

Rolf <> Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About