<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Any success compiling perl &amp;gt;= 5.8.1 on hp-ux 11.23? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/any-success-compiling-perl-gt-5-8-1-on-hp-ux-11-23/m-p/3115635#M717697</link>
    <description>Lars,&lt;BR /&gt;&lt;BR /&gt;Would you mind sharing your compilation options used for successfully building perl 5.8.0?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Vinnie Lima&lt;BR /&gt;vlima@csc.com</description>
    <pubDate>Tue, 11 Nov 2003 13:39:16 GMT</pubDate>
    <dc:creator>Vinnie Lima</dc:creator>
    <dc:date>2003-11-11T13:39:16Z</dc:date>
    <item>
      <title>Any success compiling perl &gt;= 5.8.1 on hp-ux 11.23?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/any-success-compiling-perl-gt-5-8-1-on-hp-ux-11-23/m-p/3115633#M717695</link>
      <description>I tried to compile perl 5.8.1 and 5.8.2 on hp-ux 11.23 with gcc 3.3.1/2.&lt;BR /&gt;&lt;BR /&gt;rm -f config.sh Policy.sh&lt;BR /&gt;sh Configure -de -O \&lt;BR /&gt;    -Dcc=gcc \&lt;BR /&gt;    -Duselargefiles \&lt;BR /&gt;    -Dprefix='/opt/mfgperl' \&lt;BR /&gt;    -Dstartperl='#!/opt/mfgperl/bin/perl' \&lt;BR /&gt;    -Dperlpath='/opt/mfgperl/bin/perl' \&lt;BR /&gt;    -Doptimize='-O3' \&lt;BR /&gt;    -Dloclibpth="/opt/mfgdep/lib/hpux32 /usr/lib/hpux32" \&lt;BR /&gt;    -Dlocincpth="/opt/mfgdep/include " \&lt;BR /&gt;    -Dinstallusrbinperl='n' \&lt;BR /&gt;    -Duseithreads='y' \&lt;BR /&gt;    -Dusethreads \&lt;BR /&gt;    -Duseperlio='y' \&lt;BR /&gt;    -Duseshrplib='y' \&lt;BR /&gt;    -A prepend:libswanted='cl pthread ' | tee ../mfgperl.configure&lt;BR /&gt;&lt;BR /&gt;which reults in:&lt;BR /&gt;&lt;BR /&gt;[...]&lt;BR /&gt;cp op.c opmini.c&lt;BR /&gt;`sh  cflags "optimize='-O3'" opmini.o` -fPIC -DPERL_EXTERNAL_GLOB opmini.c&lt;BR /&gt;          CCCMD =  gcc -DPERL_CORE -c -D_POSIX_C_SOURCE=199506L -D_REENTRANT -D_HPUX_SOURCE -fno-strict-aliasing -I/opt/mfgd&lt;BR /&gt;ep/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3  -Wall&lt;BR /&gt;rm -f opmini.c&lt;BR /&gt;LD_LIBRARY_PATH=/usr/local/src/perl-5.8.2 gcc -L/opt/mfgdep/lib/hpux32 -L/usr/lib/hpux32 -o miniperl \&lt;BR /&gt;    miniperlmain.o opmini.o -L /usr/local/src/perl-5.8.2 -Wl,+s -Wl,+b/opt/mfgperl/lib/5.8.2/IA64.ARCHREV_0-thread-multi/COR&lt;BR /&gt;E -lperl -lcl -lpthread -lnsl -lnm -ldl -ldld -lm -lsec -lc&lt;BR /&gt;LD_LIBRARY_PATH=/usr/local/src/perl-5.8.2 ./miniperl -w -Ilib -MExporter -e '' || gmake minitest&lt;BR /&gt;/bin/sh: 13992 Memory fault(coredump)&lt;BR /&gt;gmake[1]: Entering directory `/usr/local/src/perl-5.8.2'&lt;BR /&gt;cp ext/re/re.pm ext/re/re.tmp &amp;amp;&amp;amp; sh mv-if-diff ext/re/re.tmp lib/re.pm&lt;BR /&gt;gmake[2]: Entering directory `/usr/local/src/perl-5.8.2'&lt;BR /&gt;LD_LIBRARY_PATH=/usr/local/src/perl-5.8.2 ./miniperl -Ilib configpm configpm.tmp&lt;BR /&gt;/bin/sh: 14003 Memory fault(coredump)&lt;BR /&gt;gmake[2]: *** [lib/Config.pm] Error 139&lt;BR /&gt;gmake[2]: Leaving directory `/usr/local/src/perl-5.8.2'&lt;BR /&gt;gmake[1]: [minitest] Error 2 (ignored)&lt;BR /&gt;&lt;BR /&gt;Lowering the optimization level does not have any effect.&lt;BR /&gt;&lt;BR /&gt;Compilation with HP's ansic works. Gcc successfully compiles perl 5.8.0 as well. Did anyone have more success with newer versions?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;&lt;BR /&gt;Lars</description>
      <pubDate>Tue, 11 Nov 2003 01:54:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/any-success-compiling-perl-gt-5-8-1-on-hp-ux-11-23/m-p/3115633#M717695</guid>
      <dc:creator>Lars Holowko_2</dc:creator>
      <dc:date>2003-11-11T01:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Any success compiling perl &gt;= 5.8.1 on hp-ux 11.23?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/any-success-compiling-perl-gt-5-8-1-on-hp-ux-11-23/m-p/3115634#M717696</link>
      <description>1. useperlio, and uselargefiles are default, so you don't have to pass those&lt;BR /&gt;2. do you *need* a threaded build? If not, please could you test without it?&lt;BR /&gt;&lt;BR /&gt;Enjoy, have FUN! H.Merijn [ who does not have access to itanium ]</description>
      <pubDate>Tue, 11 Nov 2003 02:38:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/any-success-compiling-perl-gt-5-8-1-on-hp-ux-11-23/m-p/3115634#M717696</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2003-11-11T02:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Any success compiling perl &gt;= 5.8.1 on hp-ux 11.23?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/any-success-compiling-perl-gt-5-8-1-on-hp-ux-11-23/m-p/3115635#M717697</link>
      <description>Lars,&lt;BR /&gt;&lt;BR /&gt;Would you mind sharing your compilation options used for successfully building perl 5.8.0?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Vinnie Lima&lt;BR /&gt;vlima@csc.com</description>
      <pubDate>Tue, 11 Nov 2003 13:39:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/any-success-compiling-perl-gt-5-8-1-on-hp-ux-11-23/m-p/3115635#M717697</guid>
      <dc:creator>Vinnie Lima</dc:creator>
      <dc:date>2003-11-11T13:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Any success compiling perl &gt;= 5.8.1 on hp-ux 11.23?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/any-success-compiling-perl-gt-5-8-1-on-hp-ux-11-23/m-p/3115636#M717698</link>
      <description>Hi Vinnie,&lt;BR /&gt;&lt;BR /&gt;actually I used the same options for perl 5.8.0. But I think I used the source depot from the hp-ux PD porting center. Maybe they have made relevant changes to the original distribution. &lt;BR /&gt;&lt;BR /&gt;Neither did I try the original source distribution from CPAN nor did I give the resulting perl thorough testing. I was just amased that it was compiled successfully.&lt;BR /&gt;&lt;BR /&gt;Hope this helps anyway.&lt;BR /&gt;&lt;BR /&gt;About H.Merijn's suggestion:&lt;BR /&gt;&lt;BR /&gt;Omitting the     -Duseithreads='y' \&lt;BR /&gt;    -Dusethreads \&lt;BR /&gt;flags does not change anything. Any more ideas?&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Nov 2003 09:57:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/any-success-compiling-perl-gt-5-8-1-on-hp-ux-11-23/m-p/3115636#M717698</guid>
      <dc:creator>Lars Holowko_2</dc:creator>
      <dc:date>2003-11-13T09:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: Any success compiling perl &gt;= 5.8.1 on hp-ux 11.23?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/any-success-compiling-perl-gt-5-8-1-on-hp-ux-11-23/m-p/3115637#M717699</link>
      <description>HTH, Got this back from the perl community.&lt;BR /&gt;Until I get access to 11.2x (and time to work with it) it's just a workaround, but it does not please me&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Someone is trying to build perl-5.8.2 on HP-UX 11.23 (itanium) and is&lt;BR /&gt;&amp;gt; facing problems. I don't have access to Itanium architecture machines&lt;BR /&gt;&amp;gt; &lt;BR /&gt;&amp;gt; &lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=248415" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=248415&lt;/A&gt;&lt;BR /&gt;&amp;gt; &lt;BR /&gt;&lt;BR /&gt;[snip]&lt;BR /&gt;&lt;BR /&gt;&amp;gt; E -lperl -lcl -lpthread -lnsl -lnm -ldl -ldld -lm -lsec -lc&lt;BR /&gt;&amp;gt; LD_LIBRARY_PATH=/usr/local/src/perl-5.8.2 ./miniperl -w -Ilib -MExporter&lt;BR /&gt;&amp;gt; -e '' || gmake minitest&lt;BR /&gt;&amp;gt; /bin/sh: 13992 Memory fault(coredump)&lt;BR /&gt;&amp;gt; &lt;BR /&gt;&amp;gt; Lowering the optimization level does not have any effect.&lt;BR /&gt;&lt;BR /&gt;FWIW, I've been able to successfully compile perl-5.8.2 on HP-UX 11.22 &lt;BR /&gt;using gcc-3.2.  I ran into the same symptom as above, and found that &lt;BR /&gt;disabling gcc's optimization entirely, via -Doptimize=-O0 (or -Uoptimize), &lt;BR /&gt;got rid of the coredumps.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;TJ&lt;BR /&gt;&lt;BR /&gt;Enjoy, have FUN! H.Merijn</description>
      <pubDate>Wed, 19 Nov 2003 03:36:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/any-success-compiling-perl-gt-5-8-1-on-hp-ux-11-23/m-p/3115637#M717699</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2003-11-19T03:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Any success compiling perl &gt;= 5.8.1 on hp-ux 11.23?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/any-success-compiling-perl-gt-5-8-1-on-hp-ux-11-23/m-p/3115638#M717700</link>
      <description>Hi Lars&lt;BR /&gt;&lt;BR /&gt;I strongly suggest you to download the source code from Porting Center, and check to see what changes has been made. I wrote a configure file. use that configure to compile your version. I compiled version 5.8.1 and 5.8.2 just before I leave Porting Center. The both version compiled OK on 11.22 and 11.23 platforms. I didn't have time to build the depot file.&lt;BR /&gt;&lt;BR /&gt;Let me know if you need more help.&lt;BR /&gt;&lt;BR /&gt;Mehdi</description>
      <pubDate>Wed, 19 Nov 2003 08:23:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/any-success-compiling-perl-gt-5-8-1-on-hp-ux-11-23/m-p/3115638#M717700</guid>
      <dc:creator>Mehdi_1</dc:creator>
      <dc:date>2003-11-19T08:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Any success compiling perl &gt;= 5.8.1 on hp-ux 11.23?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/any-success-compiling-perl-gt-5-8-1-on-hp-ux-11-23/m-p/3115639#M717701</link>
      <description>Hi Mehdi,&lt;BR /&gt;&lt;BR /&gt;I am a little bit confused. I could not find a source package on the Porting Center for perl 5.8.x (x &amp;gt; 0). So did you mean to incorporate the changes you have made to perl 5.8.0 to the 5.8.2 sources from CPAN? I looked at the files for which there exists a .cln version but I did not find anything relevant to my memory fault problem. So maybe I need more guidance from you (do you have a 11.23 perl 5.8.2 diffs file left?)&lt;BR /&gt;&lt;BR /&gt;For something a little bit different:&lt;BR /&gt;&lt;BR /&gt;Do you have an idea how I create a perl that does not depend on a libgcc.sl/so? It seems that the additional libraries like libz and libpng seem to depend on libgcc. How do I compile these that they do not contain any unresolved symbols?&lt;BR /&gt;&lt;BR /&gt;Thanks so far,&lt;BR /&gt;&lt;BR /&gt;Lars</description>
      <pubDate>Fri, 21 Nov 2003 05:07:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/any-success-compiling-perl-gt-5-8-1-on-hp-ux-11-23/m-p/3115639#M717701</guid>
      <dc:creator>Lars Holowko_2</dc:creator>
      <dc:date>2003-11-21T05:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Any success compiling perl &gt;= 5.8.1 on hp-ux 11.23?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/any-success-compiling-perl-gt-5-8-1-on-hp-ux-11-23/m-p/3115640#M717702</link>
      <description>Hi Lars&lt;BR /&gt;&lt;BR /&gt;I am sorry, But I 've deleted all before I leave Porting Center!! (Stupid things to do ). &lt;BR /&gt;&lt;BR /&gt;First: Why do you want threaded perl??&lt;BR /&gt;Second : Why you set the optimisation to -O3?&lt;BR /&gt;&lt;BR /&gt;HP linker (ld) is sometimes plays funny when the source code compiled with gcc and optimised. &lt;BR /&gt;&lt;BR /&gt;Yes: I ment check the "*.cln" files and see what changes has been made. Also the way that you have passed some options to "Configure" file I passed some options too. I did that through a file that I created myself ( and I called it configure).&lt;BR /&gt;&lt;BR /&gt;Check The "configure" file to see what option I 've passed, Even you can just copy that file in to your 5.8.2 tree and run that to create "Makefile". I didn't have any problem to compile 5.8.1 and 5.8.2 on 11.22 and 11.23.&lt;BR /&gt;&lt;BR /&gt;The only problem that I came across was when I tried to add some more modules to standard perl source code. &lt;BR /&gt;&lt;BR /&gt;To have a perl free from "libgcc.so/sl" . depends on how you have built your gcc. If your gcc compiler have been linked to libgcc.so/sl, all the other program compiled with that gcc will depend on "libgcc.so/sl". For this reason, when I build gcc, I always disable the shared library. and link it with static library instead.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please let me know, if you need anymore help.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Mehdi&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Nov 2003 10:18:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/any-success-compiling-perl-gt-5-8-1-on-hp-ux-11-23/m-p/3115640#M717702</guid>
      <dc:creator>Mehdi_1</dc:creator>
      <dc:date>2003-11-21T10:18:37Z</dc:date>
    </item>
  </channel>
</rss>

