<?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: Compile perl 5.6.1 on hpux 11.0 - make test fails in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/compile-perl-5-6-1-on-hpux-11-0-make-test-fails/m-p/2566774#M858487</link>
    <description>&lt;BR /&gt;Have you tried to load a precompiled version? Try this:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Languages/perl-5.6.1/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Languages/perl-5.6.1/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 20 Aug 2001 13:32:46 GMT</pubDate>
    <dc:creator>harry d brown jr</dc:creator>
    <dc:date>2001-08-20T13:32:46Z</dc:date>
    <item>
      <title>Compile perl 5.6.1 on hpux 11.0 - make test fails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compile-perl-5-6-1-on-hpux-11-0-make-test-fails/m-p/2566773#M858486</link>
      <description>I am compiling perl 5.6.1 on hpux 11.0 using the HP ANSI C compiler and PA-RISC2.0 architecture and my make test fails in two places - op/grent and op/pwent.  These tests generate a core dump on my system.  A forum search comes up with a couple of people having the same problem - but no solution.  Perl 5.6.0 did not have this problem.  Does anybody know of a solution?&lt;BR /&gt;&lt;BR /&gt;I also did a google group seach and found more information about this problem, but again no solution.  Thanks to Jim Garner for the following:&lt;BR /&gt;&lt;BR /&gt;If you succeed in compiling on HP-UX 11.0, let me know your experience with the &lt;BR /&gt;following: I've had a problem with the perl-5.6.1 getpwent() function when &lt;BR /&gt;compiled under HP-UX 11.0 -- it dumps core if I call it at eof.  The pwent() &lt;BR /&gt;test that comes with perl calls the function a fixed number of times (25), so &lt;BR /&gt;if your /etc/passwd is 25 or more entries, the test appears to pass.  I can &lt;BR /&gt;write a C program to call getpwent() past eof and it returns properly, so the &lt;BR /&gt;problem is not with the HP library call.  I'd like confirmation of this problem &lt;BR /&gt;before reporting it as a bug.&lt;BR /&gt;</description>
      <pubDate>Sat, 18 Aug 2001 19:07:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compile-perl-5-6-1-on-hpux-11-0-make-test-fails/m-p/2566773#M858486</guid>
      <dc:creator>Raymond Cordoni</dc:creator>
      <dc:date>2001-08-18T19:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Compile perl 5.6.1 on hpux 11.0 - make test fails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compile-perl-5-6-1-on-hpux-11-0-make-test-fails/m-p/2566774#M858487</link>
      <description>&lt;BR /&gt;Have you tried to load a precompiled version? Try this:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Languages/perl-5.6.1/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Languages/perl-5.6.1/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Aug 2001 13:32:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compile-perl-5-6-1-on-hpux-11-0-make-test-fails/m-p/2566774#M858487</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2001-08-20T13:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Compile perl 5.6.1 on hpux 11.0 - make test fails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compile-perl-5-6-1-on-hpux-11-0-make-test-fails/m-p/2566775#M858488</link>
      <description>I am not able to use the binary distribution for perl because it does not work with the DBD-Oracle module.  In order to install DBD-Oracle, you have to compile perl with additional linker flags -lpthread -lcl.</description>
      <pubDate>Mon, 20 Aug 2001 14:13:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compile-perl-5-6-1-on-hpux-11-0-make-test-fails/m-p/2566775#M858488</guid>
      <dc:creator>Raymond Cordoni</dc:creator>
      <dc:date>2001-08-20T14:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Compile perl 5.6.1 on hpux 11.0 - make test fails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compile-perl-5-6-1-on-hpux-11-0-make-test-fails/m-p/2566776#M858489</link>
      <description>Ray,&lt;BR /&gt;&lt;BR /&gt;You might try using 'gcc' to compile perl 5.6.1 on your 11.0 machine.  I've had success in compiling perl from the source using gcc instead of the default HP C compiler.  You can find a binary distribution here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-2.95.3/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-2.95.3/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Be sure to download binutils as well and have both of these in your PATH when compiling perl 5.6.1.  Hope that helps.&lt;BR /&gt;&lt;BR /&gt;- Mike</description>
      <pubDate>Mon, 20 Aug 2001 14:41:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compile-perl-5-6-1-on-hpux-11-0-make-test-fails/m-p/2566776#M858489</guid>
      <dc:creator>Mike Hassell</dc:creator>
      <dc:date>2001-08-20T14:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: Compile perl 5.6.1 on hpux 11.0 - make test fails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compile-perl-5-6-1-on-hpux-11-0-make-test-fails/m-p/2566777#M858490</link>
      <description>I believe that you will also need the gmake utility from GNU also.</description>
      <pubDate>Mon, 20 Aug 2001 15:17:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compile-perl-5-6-1-on-hpux-11-0-make-test-fails/m-p/2566777#M858490</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2001-08-20T15:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: Compile perl 5.6.1 on hpux 11.0 - make test fails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compile-perl-5-6-1-on-hpux-11-0-make-test-fails/m-p/2566778#M858491</link>
      <description>Mike,&lt;BR /&gt;&lt;BR /&gt;the default C compiler is only for the kernel. It shouldn't be used for programming (or building anything).&lt;BR /&gt;&lt;BR /&gt;I've used gcc and gmake with 5.6.0 it works fine.&lt;BR /&gt;&lt;BR /&gt;I have an Admin here who built 5.6.0 on 11.0 with HP C/ANSIC. He had to tweak something in the ./Configure script to make it work. I'm sure that 5.6.1 isn't much different from that perspective. I'll ask him in the morning (9am PST). Email me if I haven't posted anything shortly thereafter.&lt;BR /&gt;&lt;BR /&gt;David Lieberman&lt;BR /&gt;david.lieberman@i21.com</description>
      <pubDate>Mon, 20 Aug 2001 23:47:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compile-perl-5-6-1-on-hpux-11-0-make-test-fails/m-p/2566778#M858491</guid>
      <dc:creator>David Lieberman_1</dc:creator>
      <dc:date>2001-08-20T23:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: Compile perl 5.6.1 on hpux 11.0 - make test fails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compile-perl-5-6-1-on-hpux-11-0-make-test-fails/m-p/2566779#M858492</link>
      <description>Mike,&lt;BR /&gt;&lt;BR /&gt;I meant to say that if HP C/ANSIC isn't available, something else like gcc must be used since the default compiler is for the kernel.&lt;BR /&gt;&lt;BR /&gt;After reading my earlier response, it kinda came out pretty sukky. Sorry 'bout that.&lt;BR /&gt;&lt;BR /&gt;David Lieberman</description>
      <pubDate>Mon, 20 Aug 2001 23:55:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compile-perl-5-6-1-on-hpux-11-0-make-test-fails/m-p/2566779#M858492</guid>
      <dc:creator>David Lieberman_1</dc:creator>
      <dc:date>2001-08-20T23:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: Compile perl 5.6.1 on hpux 11.0 - make test fails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compile-perl-5-6-1-on-hpux-11-0-make-test-fails/m-p/2566780#M858493</link>
      <description>Thanks for all the input.  I have the HP Ansi C compiler so I don't need gcc and I am not trying to use the braindead kernel compiler.  I suspect that there is a bug in the pwent() and grent() routines in perl 5.6.1 that wasn't there in 5.6.0.  I don't really need (as of this writing) either of these routines - I just wanted a clean "make test".  I have since installed all the perl modules I use and done some basic testing and all looks OK.</description>
      <pubDate>Tue, 21 Aug 2001 23:14:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compile-perl-5-6-1-on-hpux-11-0-make-test-fails/m-p/2566780#M858493</guid>
      <dc:creator>Raymond Cordoni</dc:creator>
      <dc:date>2001-08-21T23:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Compile perl 5.6.1 on hpux 11.0 - make test fails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compile-perl-5-6-1-on-hpux-11-0-make-test-fails/m-p/2566781#M858494</link>
      <description>You may be able to get around this by having the libraries (-lpthread -lcl) first and then the default libraries.  This works on our N class running HP-UX 11.00.  You can set the order of the libraries when running the configure program.  When asked for libraries use -lpthread -lcl $*.  This solution is bothersome since the order of the libraries should not make any difference.  Possibly a word boundary problem.&lt;BR /&gt;Steve</description>
      <pubDate>Tue, 04 Sep 2001 17:17:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compile-perl-5-6-1-on-hpux-11-0-make-test-fails/m-p/2566781#M858494</guid>
      <dc:creator>Steven Schladale</dc:creator>
      <dc:date>2001-09-04T17:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Compile perl 5.6.1 on hpux 11.0 - make test fails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compile-perl-5-6-1-on-hpux-11-0-make-test-fails/m-p/2566782#M858495</link>
      <description>I did try -lpthread -lcl at the beginning and it made no difference.  Interestingly enough, putting it in reverse order "-lcl -lpthread" makes the DBD-Oracle install fail - so order is important!</description>
      <pubDate>Tue, 04 Sep 2001 20:08:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compile-perl-5-6-1-on-hpux-11-0-make-test-fails/m-p/2566782#M858495</guid>
      <dc:creator>Raymond Cordoni</dc:creator>
      <dc:date>2001-09-04T20:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Compile perl 5.6.1 on hpux 11.0 - make test fails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compile-perl-5-6-1-on-hpux-11-0-make-test-fails/m-p/2566783#M858496</link>
      <description>Ray,&lt;BR /&gt;&lt;BR /&gt;What I've found is that the pwent.t and grent.t tests read $max entries from the /etc/passwd and /etc/group files.  If there are less than $max enties that test fails.  To get it to pass count the number of entries in both files:&lt;BR /&gt;cat /etc/passwd | wc -l &lt;BR /&gt;cat /etc/group | wc -l&lt;BR /&gt;Next edit pwent.t and modify $max to equal the number of entries in the passwd file.  The $max variable is around line 64.&lt;BR /&gt;Do the same with grent.t using the number of lines in the group file.&lt;BR /&gt;Good Luck,&lt;BR /&gt;Steve&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Sep 2001 14:28:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compile-perl-5-6-1-on-hpux-11-0-make-test-fails/m-p/2566783#M858496</guid>
      <dc:creator>Steven Schladale</dc:creator>
      <dc:date>2001-09-06T14:28:31Z</dc:date>
    </item>
  </channel>
</rss>

