[Orca-dev] Build 522 perl version issue
David Michaels
dragon at raytheon.com
Tue Jan 10 13:57:47 PST 2006
I'm working on the patch to SourceFile.pm that will enable it to parse
both Unix and Windows data files, and I've hit a snag.
Build 522 has a minmum requirement of perl 5.005_03, per line 30 of the
orca perl script.
However, line 61 says "no warnings;" to make the load of Data::Dumper be
quiet, then it has "use warnings;" command. Since the "warnings" pragma
doesn't exist in 5.005_03, this causes Orca to fail if using perl
5.00503 (default perl on Solaris 9, though 5.6.1 is also available with
a standard OS install; on Solaris 8, there is only 5.005_03).
Any thoughts on the best way to fix?
--Dragon
(error output below)
14:46 (0) dmichael at npd-drizzle <~/build/orca-snapshot-r522><196>
*orca-522.sh*
Can't locate warnings.pm in @INC (@INC contains:
/npd/dmichael/orca-522/lib/perl /usr/perl5/5.00503/sun4-solaris
/usr/perl5/5.00503 /usr/perl5/site_perl/5.005/sun4-solaris
/usr/perl5/site_perl/5.005 .) at /npd/dmichael/orca-522/bin/orca line 61.
BEGIN failed--compilation aborted at /npd/dmichael/orca-522/bin/orca
line 61.
Can't locate warnings.pm in @INC (@INC contains:
/npd/dmichael/orca-522/lib/perl /usr/perl5/5.00503/sun4-solaris
/usr/perl5/5.00503 /usr/perl5/site_perl/5.005/sun4-solaris
/usr/perl5/site_perl/5.005 .) at /npd/dmichael/orca-522/bin/orca line 61.
BEGIN failed--compilation aborted at /npd/dmichael/orca-522/bin/orca
line 61.
14:46 (0) dmichael at npd-drizzle <~/build/orca-snapshot-r522><197> *perl
--version*
This is perl, version 5.005_03 built for sun4-solaris
Copyright 1987-1999, Larry Wall
Perl may be copied only under the terms of either the Artistic License
or the
GNU General Public License, which may be found in the Perl 5.0 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.
14:48 (0) dmichael at npd-drizzle <~/build/orca-snapshot-r522><204> *uname -a*
SunOS npd-drizzle 5.9 Generic_117171-07 sun4u sparc SUNW,Sun-Fire-V210
Solaris
--
Raytheon
*David P. Michaels*
Senior Multi-Disciplined Engineer II W.H.
NPOESS IS
Platform OS Unix
303.344.6840
720.858.5952 fax
720.521.0561 pager
dragon at raytheon.com <mailto:dragon at raytheon.com> *aka "Dragon"*
"I wonder what news is doing..."
news at newshost <29> ps -fu news
news 18624 12367 2 0:00 makehistory
"News is making history."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/orca-dev/attachments/20060110/55dabd00/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Raytheon.gif
Type: image/gif
Size: 481 bytes
Desc: not available
Url : /pipermail/orca-dev/attachments/20060110/55dabd00/attachment.gif
More information about the Orca-dev
mailing list