Check that %v$foo does not crash.
[p5sagit/p5-mst-13.2.git] / README.solaris
index d62ee22..d3b541f 100644 (file)
@@ -26,11 +26,15 @@ install it under a different prefix from /usr/perl5.  Common prefixes
 to use are /usr/local and /opt/perl.
 
 You may wish to put your version of perl in the PATH of all users by
-changing the link /usr/bin/perl.  This is OK, as all perl scripts
-shipped with Solaris use an explicit path.  Solaris ships with a
-range of Solaris-specific modules.  If you choose to install your own
-version of perl you will find the source of many of these modules is
-available on CPAN under the Sun::Solaris:: namespace.
+changing the link /usr/bin/perl.  This is probably OK, as most perl
+scripts shipped with Solaris use an explicit path.  (There are a few
+exceptions, such as /usr/bin/rpm2cpio and /etc/rcm/scripts/README, but
+these are also sufficiently generic that the actual version of perl
+probably doesn't matter too much.)
+
+Solaris ships with a range of Solaris-specific modules.  If you choose
+to install your own version of perl you will find the source of many of
+these modules is available on CPAN under the Sun::Solaris:: namespace.
 
 Solaris may include two versions of perl, e.g. Solaris 9 includes
 both 5.005_03 and 5.6.1.  This is to provide stability across Solaris
@@ -504,6 +508,19 @@ make sure that it includes the directory with the 'ar' command.  This
 is a common problem on Solaris, where 'ar' is in the /usr/ccs/bin/
 directory.
 
+=item warning: dead part of constant expression is nonconstant
+
+If you are using the Sun Studio 10 compilers ('cc -V' reports "Sun C 5.7") you
+may see lots of these errors while building perl.  This is an erroneous warning
+from the compiler, if you are interested in the details the Sun bug id is
+6344975.  The warnings can safely be ignored, but if they bother you they may
+be suppressed by adding "-Accflags=-erroff=E_DEAD_NONCONST" to your Configure
+command-line.  Note however that earlier versions of the compiler don't have the
+ability to report this warning and will complain about a bad message tag if you
+specify that you want the compiler to suppress the warning.  Note also that the
+erroff option embedded into Config.pm and will be used for building any XSUB
+modules post-install.
+
 =back
 
 =head1 MAKE TEST
@@ -684,7 +701,3 @@ drawing heavily on advice from Alan Burlison, Nick Ing-Simmons, Tim Bunce,
 and many other Solaris users over the years.
 
 Please report any errors, updates, or suggestions to F<perlbug@perl.org>.
-
-=head1 LAST MODIFIED
-
-$Id: README.solaris,v 1.4 2000/11/11 20:29:58 doughera Exp $