<?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: PERL Install issue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-install-issue/m-p/2880798#M719451</link>
    <description>Thanks for the responses. &lt;BR /&gt;&lt;BR /&gt;I went ahead and installed a 64-bit gcc compiler from the HP site and installed it through swinstall.&lt;BR /&gt;&lt;BR /&gt;Then i re-ran the perl Configure as:&lt;BR /&gt;&lt;BR /&gt;sh Configure -Dcc=gcc&lt;BR /&gt;&lt;BR /&gt;And I get this error: &lt;BR /&gt;&lt;BR /&gt;-----------------------------&lt;BR /&gt;Configure[2933]: gcc:  not found. You need to find a working C compiler.&lt;BR /&gt;-----------------------------&lt;BR /&gt;&lt;BR /&gt;Is it a problem that it is 64 bit? Also, I added the path of gcc compiler which  is /usr/local/pa20_64/bin&lt;BR /&gt;</description>
    <pubDate>Mon, 13 Jan 2003 22:49:31 GMT</pubDate>
    <dc:creator>Scott_130</dc:creator>
    <dc:date>2003-01-13T22:49:31Z</dc:date>
    <item>
      <title>PERL Install issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-install-issue/m-p/2880792#M719445</link>
      <description>Currently we have a version of C compiler that came with our HP Version(B.11.11) so I would imagine it is fairly up-to-date.  I downloaded the newest stable release from perl and am trying to install it.  The error I am getting is this:&lt;BR /&gt;&lt;BR /&gt;Use which C compiler? [cc]&lt;BR /&gt;(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C pr&lt;BR /&gt;oduct; ignored.&lt;BR /&gt;(Bundled) cc: "try.c", line 1: error 1705: Function prototypes are an ANSI feat&lt;BR /&gt;ure.&lt;BR /&gt;Uh-oh, the C compiler 'cc' doesn't seem to be working.&lt;BR /&gt;Configure[3773]: gcc:  not found.&lt;BR /&gt;(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C pr&lt;BR /&gt;oduct; ignored.&lt;BR /&gt;(Bundled) cc: "try.c", line 1: error 1705: Function prototypes are an ANSI feat&lt;BR /&gt;ure.&lt;BR /&gt;Uh-oh, the C compiler 'cc' doesn't seem to be working.&lt;BR /&gt;You need to find a working C compiler.&lt;BR /&gt;&lt;BR /&gt;HOWEVER,&lt;BR /&gt;&lt;BR /&gt;I know the compiler is good b/c it is being used.  Also,  $PATH  contains the proper paths to the compiler.&lt;BR /&gt;&lt;BR /&gt;Any thoughts would be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Scott</description>
      <pubDate>Mon, 13 Jan 2003 21:29:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-install-issue/m-p/2880792#M719445</guid>
      <dc:creator>Scott_130</dc:creator>
      <dc:date>2003-01-13T21:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: PERL Install issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-install-issue/m-p/2880793#M719446</link>
      <description>You don't have a prayer using the bundled C compiler becausxe it only speaks K&amp;amp;R C and Perl is written in ANSI C. You can download and install gcc or use HP's ANSI C or aC++ compiler.&lt;BR /&gt;&lt;BR /&gt;Unless you have a compelling reason to compile Perl, you can use the readily available binary ports.&lt;BR /&gt;&lt;BR /&gt;If indeed you do have a configured ANSI/C compiler then /usr/bin/cc should be symbolically linked to /opt/ansic/bin/cc but the warnings you are getting indicate that the bundled c compiler is being invoked.&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Jan 2003 21:37:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-install-issue/m-p/2880793#M719446</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-01-13T21:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: PERL Install issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-install-issue/m-p/2880794#M719447</link>
      <description>We have a gcc compiler installed and running but it seems to want to use the HP bundles C compiler.  Can you tell me how to re-direct this in the makefile or config.sh.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Scott</description>
      <pubDate>Mon, 13 Jan 2003 21:43:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-install-issue/m-p/2880794#M719447</guid>
      <dc:creator>Scott_130</dc:creator>
      <dc:date>2003-01-13T21:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: PERL Install issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-install-issue/m-p/2880795#M719448</link>
      <description>I'm doing this from memory but when you run the 'configure' script, you are prompted for a compiler. Respond with 'gcc' (you make need to use the full path).&lt;BR /&gt;&lt;BR /&gt;Plan B: Edit your existing makefiles replacing cc with gcc but you will probably then have to change some compiler options as well.</description>
      <pubDate>Mon, 13 Jan 2003 21:57:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-install-issue/m-p/2880795#M719448</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-01-13T21:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: PERL Install issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-install-issue/m-p/2880796#M719449</link>
      <description>Plan A. Use the following command&lt;BR /&gt;&lt;BR /&gt;# sh ./Configure -Dcc=gcc -des&lt;BR /&gt;&lt;BR /&gt;Plan B. Use my precompiled version from &lt;A href="https://www.beepz.com/personal/merijn" target="_blank"&gt;https://www.beepz.com/personal/merijn&lt;/A&gt; or &lt;A href="http://www.cmve.net/~merijn" target="_blank"&gt;http://www.cmve.net/~merijn&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Plan C. Buy the C-ANSI-C compiler. It outperforms gcc by 25%, so if you have more than only perl to compile, or you need high performance perl, it's worth thinking about.&lt;BR /&gt;&lt;BR /&gt;Enjoy, have FUN! H.Merijn</description>
      <pubDate>Mon, 13 Jan 2003 22:19:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-install-issue/m-p/2880796#M719449</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2003-01-13T22:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: PERL Install issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-install-issue/m-p/2880797#M719450</link>
      <description>Clay, your plan B is too complicated (and unreliable). If you want to go for plan B, start with changing config.sh (cc=gcc) before you make which will cause all the makefiles to be recreated, but again, this is dangerous, because the Configure process uses the chosen C compiler to change a lot of things. look in hints/hpux.sh to see where dragons live.&lt;BR /&gt;&lt;BR /&gt;-Dcc=gcc is the way to go (you /can/ use the full path)</description>
      <pubDate>Mon, 13 Jan 2003 22:30:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-install-issue/m-p/2880797#M719450</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2003-01-13T22:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: PERL Install issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-install-issue/m-p/2880798#M719451</link>
      <description>Thanks for the responses. &lt;BR /&gt;&lt;BR /&gt;I went ahead and installed a 64-bit gcc compiler from the HP site and installed it through swinstall.&lt;BR /&gt;&lt;BR /&gt;Then i re-ran the perl Configure as:&lt;BR /&gt;&lt;BR /&gt;sh Configure -Dcc=gcc&lt;BR /&gt;&lt;BR /&gt;And I get this error: &lt;BR /&gt;&lt;BR /&gt;-----------------------------&lt;BR /&gt;Configure[2933]: gcc:  not found. You need to find a working C compiler.&lt;BR /&gt;-----------------------------&lt;BR /&gt;&lt;BR /&gt;Is it a problem that it is 64 bit? Also, I added the path of gcc compiler which  is /usr/local/pa20_64/bin&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Jan 2003 22:49:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-install-issue/m-p/2880798#M719451</guid>
      <dc:creator>Scott_130</dc:creator>
      <dc:date>2003-01-13T22:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: PERL Install issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-install-issue/m-p/2880799#M719452</link>
      <description>Well, that depends upon whether or not your platform supports 64-bit code. My first step would be to compile a very baby C program using gcc. Something as simple as&lt;BR /&gt;&lt;BR /&gt;int main(void)&lt;BR /&gt;{&lt;BR /&gt;  (void) printf("Hello World\n");&lt;BR /&gt;  return(0);&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;gcc baby.c -o baby&lt;BR /&gt;&lt;BR /&gt;and then see if baby executes. If so you have a working gcc.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Jan 2003 22:57:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-install-issue/m-p/2880799#M719452</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-01-13T22:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: PERL Install issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-install-issue/m-p/2880800#M719453</link>
      <description>Well I think I am making progress as I was able to get Perl installed (I used another method)&lt;BR /&gt;&lt;BR /&gt;I am trying now to load modules onto the box and I got an error when loading the first (Date::Calc)&lt;BR /&gt;&lt;BR /&gt;# perl -MDate::Calc -e 1&lt;BR /&gt;Can't load '/usr/local/lib/perl5/site_perl/5.8.0/PA-RISC2.0/auto/Date/Calc/Calc.sl' for mod&lt;BR /&gt;ule Date::Calc: Exec format error at /usr/local/lib/perl5/5.8.0/PA-RISC2.0/DynaLoader.pm li&lt;BR /&gt;ne 229.&lt;BR /&gt; at -e line 0&lt;BR /&gt;Compilation failed in require.&lt;BR /&gt;BEGIN failed--compilation aborted&lt;BR /&gt;&lt;BR /&gt;I'm so close. Any thoughts?</description>
      <pubDate>Mon, 13 Jan 2003 23:23:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-install-issue/m-p/2880800#M719453</guid>
      <dc:creator>Scott_130</dc:creator>
      <dc:date>2003-01-13T23:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: PERL Install issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-install-issue/m-p/2880801#M719454</link>
      <description>The PATH to cc is probably incorrect. If you loaded the (extra cost) ANSI C compiler, it will NOT be located in /usr/bin. But since /usr/bin is early in the $PATH variable, you are getting the K&amp;amp;R compiler. The install process should have put /opt/ansic/bin near the front of the PATH.&lt;BR /&gt;&lt;BR /&gt;First, check if you have the ANSI C compiler with swlist -l bundle  If you do, there are a couple of choices:&lt;BR /&gt;&lt;BR /&gt;- rename /usr/bin/cc to /usr/bin/cc-k&amp;amp;r and make sure that the ANSI compiler's path (in /opt/ansic/bin) is present. Check /etc/PATH to be sure that everyone sees this path.&lt;BR /&gt;&lt;BR /&gt;- rename /usr/bin/cc to /usr/bin/cc and create a symlink to the ANSI compiler using ln -s /opt/ansic/bin/cc /usr/bin/cc&lt;BR /&gt;&lt;BR /&gt;Perl 5 is available ready to install and run from &lt;A href="http://www.software.hp.com" target="_blank"&gt;www.software.hp.com&lt;/A&gt;</description>
      <pubDate>Tue, 14 Jan 2003 00:21:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-install-issue/m-p/2880801#M719454</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-01-14T00:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: PERL Install issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-install-issue/m-p/2880802#M719455</link>
      <description>First question: *WHY* do you need a 64bit perl??? There are still a truckload of modules on CPAN that don't work with 64bit perls (or are not threadsafe for that matter).&lt;BR /&gt;&lt;BR /&gt;Unless you want to link 64bit objects later - like DBD-Oracle to 64bit ports - it is unlikely that you need 64bit perl.&lt;BR /&gt;&lt;BR /&gt;FYI 64bit perl is 14% slower than 32bit perl accross the line.&lt;BR /&gt;&lt;BR /&gt;Have you tried my precompiled perl from &lt;A href="https://www.beepz.com/personal/merijn/" target="_blank"&gt;https://www.beepz.com/personal/merijn/&lt;/A&gt; or &lt;A href="http://www.cmve.net/~merijn/" target="_blank"&gt;http://www.cmve.net/~merijn/&lt;/A&gt; ? It comes with a lot of precompiled modules.&lt;BR /&gt;&lt;BR /&gt;If you still want to try yourself, be sure that the PATH to gcc is in you $PATH (either add it in /etc/PATH or add it to $PATH in your ~/.tcshrc, ~/.profile, or whatever shell initializing file you have)</description>
      <pubDate>Tue, 14 Jan 2003 09:43:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-install-issue/m-p/2880802#M719455</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2003-01-14T09:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: PERL Install issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-install-issue/m-p/2880803#M719456</link>
      <description>Are you by any chance related to "Pamela R.Schulz" ? She's just posted the same question in the perlbug database.</description>
      <pubDate>Tue, 14 Jan 2003 16:43:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-install-issue/m-p/2880803#M719456</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2003-01-14T16:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: PERL Install issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-install-issue/m-p/2880804#M719457</link>
      <description>Well, I finaly got  it.    &lt;BR /&gt;&lt;BR /&gt;First, the 64-bit I was referring to was the gcc compiler, not PERL. I removed the gcc compiler and installed a 32-bit version and had no problems.  I just assumed that the 64 bit compiler was backwards compatible.  After installing the 32-bit compiler I was able to add DBI and other modules.  Thanks to everyfor there help on this issue.&lt;BR /&gt;&lt;BR /&gt;Note*** I am not related to Pamela</description>
      <pubDate>Tue, 14 Jan 2003 16:49:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-install-issue/m-p/2880804#M719457</guid>
      <dc:creator>Scott_130</dc:creator>
      <dc:date>2003-01-14T16:49:47Z</dc:date>
    </item>
  </channel>
</rss>

