I should 'fess up that I did modify the setting -O3 (super-aggressive optimization) to -O2 (optimizations that don't require space-time trade-offs). That was my personal choice. Maintainers may have a valid reason for having set it to -O3 and may want to change it back.<div>
<br clear="all"><div>Larry Siden, </div>Westside Consulting LLC<br><a href="http://westside-consulting.com" target="_blank">westside-consulting.com</a><br>734-926-9614<br><br>
<br><br><div class="gmail_quote">2012/1/6 Larry Siden <span dir="ltr"><<a href="mailto:lsiden@westside-consulting.com">lsiden@westside-consulting.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
At last, some progress.<div><br></div><div>I'm attaching my copy of /opt/csw/lib/perl/5.10.1/Config_heavy.pl. The modifications I made made it possible for me to build Perl modules that required use of the C/C++ compiler and linker, such as DBI. Even though I could change the paths to these components from within cpan, via "o conf ..." or in CPAN/Config.pm, without changing other command-line options, such as "-KPIC" or "-xO3", gcc would simply refuse to continue, and I could find no other way than to change them in Config_heavy.pl.</div>
<div><br></div><div>The real solution, of course, is for maintainers to rebuild the OpenCSW release of Perl using gcc and related packages installed by OpenCSW so that the paths and options will be correct from the get-go, because Config_heavy.pl (and Config.pm that includes it) are supposed to reflect the same commands and options that a given distro of Perl was built with. </div>
<div><br></div><div>Since I have a soft spot in my heart for Perl, I would be happy to contribute to this effort if my current employer will permit me to use his equipment for this purpose, because I don't have any other Solaris system at my disposal. It's his "house" so I gotta abide by his rules! :)</div>
<div><br></div><div>I will also post this information to <a href="http://stackoverflow.com/questions/8740443/how-to-change-default-cflags-for-makemaker" target="_blank">http://stackoverflow.com/questions/8740443/how-to-change-default-cflags-for-makemaker</a></div>
<div><div class="im"><br clear="all"><div>Larry Siden, </div>Westside Consulting LLC<br><a href="http://westside-consulting.com" target="_blank">westside-consulting.com</a><br><a href="tel:734-926-9614" value="+17349269614" target="_blank">734-926-9614</a><br>
<br>
<br><br></div><div><div class="h5"><div class="gmail_quote">On Thu, Jan 5, 2012 at 6:03 AM, Larry Siden <span dir="ltr"><<a href="mailto:lsiden@westside-consulting.com" target="_blank">lsiden@westside-consulting.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Please see my post at
<a href="http://stackoverflow.com/questions/8740443/how-to-change-default-cflags-for-makemaker" target="_blank">http://stackoverflow.com/questions/8740443/how-to-change-default-cflags-for-makemaker</a> <div><br></div><div>
It's about the experience I've been having trying to enable CPAN to build Perl modules.</div>
<div><br></div><div>I've attached CPAN/Config.pm</div><div><br></div><div>For the record:</div><div><br></div><div>$pkgutil -c perl</div><div><br></div><div><div> package installed catalog </div>
<div> CSWperl 5.10.1,REV=2011.01.15 SAME</div></div><span><font color="#888888"><div><br></div><div><br clear="all"><div>Larry Siden, </div>Westside Consulting LLC<br><a href="http://westside-consulting.com" target="_blank">westside-consulting.com</a><br>
<a href="tel:734-926-9614" value="+17349269614" target="_blank">734-926-9614</a><br><br>
</div>
</font></span></blockquote></div><br></div></div></div>
</blockquote></div><br></div>