<?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: Building Curses.pm fails in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-building-curses-pm-fails/m-p/4161660#M639713</link>
    <description>Hi (again) MArk:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; how do I get CPAN to compile modules with the gcc compiler instead of the default HP compiler?&lt;BR /&gt;&lt;BR /&gt;That's automatic.  Perl knows which compiler and what options to use.  In fact, you can see what it knows with:&lt;BR /&gt;&lt;BR /&gt;# perl -V&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Fri, 14 Mar 2008 11:27:46 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2008-03-14T11:27:46Z</dc:date>
    <item>
      <title>perl: Building Curses.pm fails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-building-curses-pm-fails/m-p/4161656#M639709</link>
      <description>I'm trying to get Curses.pm installed on my system, but the CPAN shell gets this error message when it tries to compile:&lt;BR /&gt;&lt;BR /&gt;        cc -c    -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+&lt;BR /&gt;vnocompatwarnings +Z -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_F&lt;BR /&gt;ILE_OFFSET_BITS=64 -fast +Onolimit +Opromote_indirect_calls +DAportable +DS2.0  &lt;BR /&gt;  -DVERSION=\"1.23\"  -DXS_VERSION=\"1.23\" +Z "-I/opt/perl_32/lib/5.8.8/PA-RISC&lt;BR /&gt;1.1-thread-multi/CORE"   Curses.c&lt;BR /&gt;(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C pro&lt;BR /&gt;duct; ignored.&lt;BR /&gt;(Bundled) cc: warning 480: The +Z option is available only with the C/ANSI C pro&lt;BR /&gt;duct; ignored.&lt;BR /&gt;(Bundled) cc: warning 422: Unknown option "f" ignored.&lt;BR /&gt;(Bundled) cc: warning 480: The +Onolimit option is available only with the C/ANS&lt;BR /&gt;I C product; ignored.&lt;BR /&gt;(Bundled) cc: warning 480: The +Opromote_indirect_calls option is available only&lt;BR /&gt; with the C/ANSI C product; ignored.&lt;BR /&gt;(Bundled) cc: warning 480: The +Z option is available only with the C/ANSI C pro&lt;BR /&gt;duct; ignored.&lt;BR /&gt;cpp: "/opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE/perlio.h", line 121: e&lt;BR /&gt;rror 4065: Recursion in macro "PerlIO".&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Details:&lt;BR /&gt;&lt;BR /&gt;HP-UX 11iv1&lt;BR /&gt;Perl D.5.8.8.A&lt;BR /&gt;CPAN version 1.7602&lt;BR /&gt;Standard K&amp;amp;R HP C compiler&lt;BR /&gt;&lt;BR /&gt;I have gcc 3.0 available, but am not sure how to get CPAN to use it.&lt;BR /&gt;&lt;BR /&gt;Any help appreciated!</description>
      <pubDate>Fri, 14 Mar 2008 10:00:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-building-curses-pm-fails/m-p/4161656#M639709</guid>
      <dc:creator>Mark Landin</dc:creator>
      <dc:date>2008-03-14T10:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: perl: Building Curses.pm fails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-building-curses-pm-fails/m-p/4161657#M639710</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Since your Perl was built with the HP ANSI C compiler you really need that to compile modules requiring compilation for installation.&lt;BR /&gt;&lt;BR /&gt;You can purchase that compiler here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B9007AA" target="_blank"&gt;http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B9007AA&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;An alternative would be to fetch and install a binary 'gcc'-compiled Perl from Merijn's site:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://mirrors.develooper.com/hpux/" target="_blank"&gt;http://mirrors.develooper.com/hpux/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 14 Mar 2008 10:53:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-building-curses-pm-fails/m-p/4161657#M639710</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-03-14T10:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: perl: Building Curses.pm fails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-building-curses-pm-fails/m-p/4161658#M639711</link>
      <description>Ok. My best bet is the gcc-compiled Perl. So then I guess my next question is, how do I get CPAN to compile modules with the gcc compiler instead of the default HP compiler?</description>
      <pubDate>Fri, 14 Mar 2008 10:56:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-building-curses-pm-fails/m-p/4161658#M639711</guid>
      <dc:creator>Mark Landin</dc:creator>
      <dc:date>2008-03-14T10:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: perl: Building Curses.pm fails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-building-curses-pm-fails/m-p/4161659#M639712</link>
      <description>A well-designed Perl module should honor standard environment variables.&lt;BR /&gt;&lt;BR /&gt;The command&lt;BR /&gt;&lt;BR /&gt;export CC=gcc&lt;BR /&gt;&lt;BR /&gt;before "perl Makefile.pl" should be enough to indicate that you wish to use gcc rather than the default cc. (That's the standard way to indicate that you wish to use a non-default compiler.)&lt;BR /&gt;&lt;BR /&gt;If that does not work, read the installation documentation for your module. There may be a compile-time option you can use, or a variable at the beginning of the Makefile.pl file you can edit to specify the correct compiler.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Fri, 14 Mar 2008 11:22:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-building-curses-pm-fails/m-p/4161659#M639712</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2008-03-14T11:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: perl: Building Curses.pm fails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-building-curses-pm-fails/m-p/4161660#M639713</link>
      <description>Hi (again) MArk:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; how do I get CPAN to compile modules with the gcc compiler instead of the default HP compiler?&lt;BR /&gt;&lt;BR /&gt;That's automatic.  Perl knows which compiler and what options to use.  In fact, you can see what it knows with:&lt;BR /&gt;&lt;BR /&gt;# perl -V&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 14 Mar 2008 11:27:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-building-curses-pm-fails/m-p/4161660#M639713</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-03-14T11:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: perl: Building Curses.pm fails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-building-curses-pm-fails/m-p/4161661#M639714</link>
      <description>OK, some progress. I installed procura's gcc-compiled Perl 5.8.8 on my system. Now, when I try to compile and install Curses, I get:&lt;BR /&gt;&lt;BR /&gt;        gcc -c    -mpa-risc-2-0 -DDEBUGGING -D_HPUX_SOURCE -DDEBUGGING -fno-stri&lt;BR /&gt;ct-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/pa20_32/include -D_&lt;BR /&gt;LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O    -DVERSION=\"1.23\"  -DXS_VERSIO&lt;BR /&gt;N=\"1.23\" -fPIC "-I/opt/perl/lib/5.8.8/PA-RISC2.0/CORE"   Curses.c&lt;BR /&gt;In file included from /opt/perl/lib/5.8.8/PA-RISC2.0/CORE/perl.h:997,&lt;BR /&gt;                 from Curses.c:46:&lt;BR /&gt;/usr/include/sys/socket.h:742: parse error before "__sendfile64"&lt;BR /&gt;/usr/include/sys/socket.h:742: parse error before "bsize_t"&lt;BR /&gt;/usr/include/sys/socket.h:743: parse error before "__sendpath64"&lt;BR /&gt;/usr/include/sys/socket.h:743: parse error before "bsize_t"&lt;BR /&gt;/usr/include/sys/socket.h:746: parse error before "sendfile"&lt;BR /&gt;/usr/include/sys/socket.h:746: parse error before "bsize_t"&lt;BR /&gt;/usr/include/sys/socket.h: In function `sendfile':&lt;BR /&gt;/usr/include/sys/socket.h:746: `a' undeclared (first use in this function)&lt;BR /&gt;/usr/include/sys/socket.h:746: (Each undeclared identifier is reported only once&lt;BR /&gt; &lt;BR /&gt;/usr/include/sys/socket.h:746: for each function it appears in.)&lt;BR /&gt;/usr/include/sys/socket.h:746: `b' undeclared (first use in this function)&lt;BR /&gt;/usr/include/sys/socket.h:746: `c' undeclared (first use in this function)&lt;BR /&gt;/usr/include/sys/socket.h:746: `d' undeclared (first use in this function)&lt;BR /&gt;/usr/include/sys/socket.h:746: `e' undeclared (first use in this function)&lt;BR /&gt;/usr/include/sys/socket.h:746: `f' undeclared (first use in this function)&lt;BR /&gt;/usr/include/sys/socket.h: At top level:&lt;BR /&gt;/usr/include/sys/socket.h:747: parse error before "sendpath"&lt;BR /&gt;/usr/include/sys/socket.h:747: parse error before "bsize_t"&lt;BR /&gt;/usr/include/sys/socket.h: In function `sendpath':&lt;BR /&gt;/usr/include/sys/socket.h:747: `a' undeclared (first use in this function)&lt;BR /&gt;/usr/include/sys/socket.h:747: `b' undeclared (first use in this function)&lt;BR /&gt;/usr/include/sys/socket.h:747: `c' undeclared (first use in this function)&lt;BR /&gt;/usr/include/sys/socket.h:747: `d' undeclared (first use in this function)&lt;BR /&gt;/usr/include/sys/socket.h:747: `e' undeclared (first use in this function)&lt;BR /&gt;/usr/include/sys/socket.h:747: `f' undeclared (first use in this function)&lt;BR /&gt;In file included from /opt/perl/lib/5.8.8/PA-RISC2.0/CORE/perl.h:3951,&lt;BR /&gt;                 from Curses.c:46:&lt;BR /&gt;/opt/perl/lib/5.8.8/PA-RISC2.0/CORE/proto.h: At top level:&lt;BR /&gt;/opt/perl/lib/5.8.8/PA-RISC2.0/CORE/proto.h:31: warning: `warn_unused_result' at&lt;BR /&gt;tribute directive ignored&lt;BR /&gt;/opt/perl/lib/5.8.8/PA-RISC2.0/CORE/proto.h:42: warning: `warn_unused_result' at&lt;BR /&gt;tribute directive ignored&lt;BR /&gt;/opt/perl/lib/5.8.8/PA-RISC2.0/CORE/proto.h:46: warning: `warn_unused_result' at&lt;BR /&gt;tribute directive ignored&lt;BR /&gt;/opt/perl/lib/5.8.8/PA-RISC2.0/CORE/proto.h:50: warning: `warn_unused_result' at&lt;BR /&gt;tribute directive ignored&lt;BR /&gt;/opt/perl/lib/5.8.8/PA-RISC2.0/CORE/proto.h:60: warning: `warn_unused_result' at&lt;BR /&gt;tribute directive ignored&lt;BR /&gt;In file included from /opt/perl/lib/5.8.8/PA-RISC2.0/CORE/perl.h:3951,&lt;BR /&gt;                 from Curses.c:46:&lt;BR /&gt;/opt/perl/lib/5.8.8/PA-RISC2.0/CORE/proto.h:72: warning: `warn_unused_result' at&lt;BR /&gt;tribute directive ignored&lt;BR /&gt;/opt/perl/lib/5.8.8/PA-RISC2.0/CORE/proto.h:88: warning: `warn_unused_result' at&lt;BR /&gt;tribute directive ignored&lt;BR /&gt;/opt/perl/lib/5.8.8/PA-RISC2.0/CORE/proto.h:92: warning: `warn_unused_result' at&lt;BR /&gt;tribute directive ignored&lt;BR /&gt;/opt/perl/lib/5.8.8/PA-RISC2.0/CORE/proto.h:95: warning: `warn_unused_result' at&lt;BR /&gt;tribute directive ignored&lt;BR /&gt;&lt;BR /&gt;   (...deleting a few hundred more of these...)&lt;BR /&gt;&lt;BR /&gt;/opt/perl/lib/5.8.8/PA-RISC2.0/CORE/proto.h:2089: warning: `warn_unused_result' &lt;BR /&gt;attribute directive ignored&lt;BR /&gt;/opt/perl/lib/5.8.8/PA-RISC2.0/CORE/proto.h:2291: warning: `warn_unused_result' &lt;BR /&gt;attribute directive ignored&lt;BR /&gt;/opt/perl/lib/5.8.8/PA-RISC2.0/CORE/proto.h:2294: warning: `warn_unused_result' &lt;BR /&gt;attribute directive ignored&lt;BR /&gt;In file included from Curses.c:390:&lt;BR /&gt;CursesFun.c: In function `XS_Curses_subpad':&lt;BR /&gt;CursesFun.c:2493: warning: initialization makes pointer from integer without a c&lt;BR /&gt;ast&lt;BR /&gt;CursesFun.c: In function `XS_Curses_slk_label':&lt;BR /&gt;CursesFun.c:2895: warning: initialization makes pointer from integer without a c&lt;BR /&gt;ast&lt;BR /&gt;CursesFun.c: In function `XS_Curses_termname':&lt;BR /&gt;CursesFun.c:3214: warning: initialization makes pointer from integer without a c&lt;BR /&gt;ast&lt;BR /&gt;CursesFun.c: In function `XS_Curses_unctrl':&lt;BR /&gt;CursesFun.c:3392: warning: initialization makes pointer from integer without a c&lt;BR /&gt;ast&lt;BR /&gt;CursesFun.c: In function `XS_Curses_putwin':&lt;BR /&gt;CursesFun.c:3483: warning: initialization from incompatible pointer type&lt;BR /&gt;CursesFun.c: In function `XS_Curses_getwin':&lt;BR /&gt;CursesFun.c:3502: warning: initialization from incompatible pointer type&lt;BR /&gt;CursesFun.c:3503: warning: initialization makes pointer from integer without a c&lt;BR /&gt;ast&lt;BR /&gt;CursesFun.c: In function `XS_Curses_derwin':&lt;BR /&gt;CursesFun.c:3655: warning: pointer/integer type mismatch in conditional expressi&lt;BR /&gt;on&lt;BR /&gt;CursesFun.c: In function `XS_Curses_dupwin':&lt;BR /&gt;CursesFun.c:3697: warning: pointer/integer type mismatch in conditional expressi&lt;BR /&gt;on&lt;BR /&gt;In file included from Curses.c:393:&lt;BR /&gt;CursesBoot.c: In function `boot_Curses':&lt;BR /&gt;CursesBoot.c:459: `A_INVIS' undeclared (first use in this function)&lt;BR /&gt;CursesBoot.c:459: `A_PROTECT' undeclared (first use in this function)&lt;BR /&gt;CursesBoot.c:459: `A_ALTCHARSET' undeclared (first use in this function)&lt;BR /&gt;CursesBoot.c:459: `A_COLOR' undeclared (first use in this function)&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt; &lt;BR /&gt;Stop.&lt;BR /&gt;  /usr/bin/make  -- NOT OK&lt;BR /&gt;Running make test&lt;BR /&gt;  Can't test without successful make&lt;BR /&gt;Running make install&lt;BR /&gt;  make had returned bad status, install seems impossible&lt;BR /&gt;Failed during this command:&lt;BR /&gt;  GIRAFFED/Curses-1.23.tgz                     : make NO&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Mar 2008 12:16:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-building-curses-pm-fails/m-p/4161661#M639714</guid>
      <dc:creator>Mark Landin</dc:creator>
      <dc:date>2008-03-14T12:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: perl: Building Curses.pm fails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-building-curses-pm-fails/m-p/5384553#M639715</link>
      <description>&lt;P&gt;For me it worked after changing Makefile.PL line 116 from:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 116&amp;nbsp;&amp;nbsp;&amp;nbsp; 'hpux'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;gt; [ ''&amp;nbsp;&amp;nbsp; =&amp;gt; '-lcurses -ltermcap'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 116&amp;nbsp;&amp;nbsp;&amp;nbsp; 'hpux'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;gt; [ '-I/usr/local/include/ncurses'&amp;nbsp;&amp;nbsp; =&amp;gt; '-lcurses -ltermcap'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;after that change comilation worked&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2011 10:54:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-building-curses-pm-fails/m-p/5384553#M639715</guid>
      <dc:creator>Holger Dietze</dc:creator>
      <dc:date>2011-11-08T10:54:31Z</dc:date>
    </item>
  </channel>
</rss>

