<?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 errors on DBI module in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/compile-errors-on-dbi-module/m-p/3696896#M796334</link>
    <description>Thanks for the tips.  I am working on the first suggestion as that seems easier.&lt;BR /&gt;&lt;BR /&gt;Currently working on removing the options.&lt;BR /&gt;&lt;BR /&gt;Ran into a issue with that as PIC was not a valid option.&lt;BR /&gt;&lt;BR /&gt;        /usr/bin/perl -p -e "s/~DRIVER~/Perl/g" ./Driver.xst &amp;gt; Perl.xsi&lt;BR /&gt;        /usr/bin/perl /opt/perl/lib/5.8.3/ExtUtils/xsubpp  -typemap /opt/perl/lib/5.8.3/ExtUtils/typemap -typemap typemap  Perl.xs &amp;gt; Perl.xsc &amp;amp;&amp;amp; mv Perl.xsc Perl.c&lt;BR /&gt;        /usr/local/bin/gcc -c    -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -mpa-risc-1-1    -DVERSION=\"1.50\"  -DXS_VERSION=\"1.50\" -mPIC "-I/opt/perl/lib/5.8.3/PA-RISC1.1-thread-multi/CORE"   Perl.c&lt;BR /&gt;cc1: error: invalid option `PIC'&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;</description>
    <pubDate>Thu, 22 Dec 2005 12:40:07 GMT</pubDate>
    <dc:creator>Tim Nelson</dc:creator>
    <dc:date>2005-12-22T12:40:07Z</dc:date>
    <item>
      <title>compile errors on DBI module</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compile-errors-on-dbi-module/m-p/3696894#M796332</link>
      <description>I see some previous questions about this but need to ask again.&lt;BR /&gt;&lt;BR /&gt;Having issues compiling perl DBI module.&lt;BR /&gt;HPUX 11i&lt;BR /&gt;Perl5-32         D.5.8.3.B&lt;BR /&gt;gcc              3.3.3                         &lt;BR /&gt;binutils         2.15a                         &lt;BR /&gt;DBI-1.50&lt;BR /&gt;&lt;BR /&gt;perl Makefile.PL "cc=/usr/local/bin/gcc" completes without error.&lt;BR /&gt;&lt;BR /&gt;Looks like GCC does not like the OPTIMIZE options.&lt;BR /&gt;&lt;BR /&gt;gcc: +Onolimit: No such file or directory&lt;BR /&gt;gcc: +Opromote_indirect_calls: No such file or directory&lt;BR /&gt;gcc: +DAportable: No such file or directory&lt;BR /&gt;gcc: +DS2.0: No such file or directory&lt;BR /&gt;gcc: +Z: No such file or directory&lt;BR /&gt;cc1: error: unrecognized option `-fast'&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any suggestions ?&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Dec 2005 11:13:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compile-errors-on-dbi-module/m-p/3696894#M796332</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2005-12-22T11:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: compile errors on DBI module</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compile-errors-on-dbi-module/m-p/3696895#M796333</link>
      <description>Your perl is built with HP C-ANSI-C?&lt;BR /&gt;&lt;BR /&gt;DBI tries to use the flags that perl was built with, and they are native C flags, not applicable to gcc&lt;BR /&gt;&lt;BR /&gt;You can try to change the makefile&lt;BR /&gt;&lt;BR /&gt;remove +Onolimit&lt;BR /&gt;remove +Opromote_indirect_calls&lt;BR /&gt;replace +DAportable with -mpa-risc-1-1&lt;BR /&gt;Ahhhrg: +DS2.0 contradicts +DAportable! remove or use -mpa-risc-2-0&lt;BR /&gt;replace +Z with -mPIC&lt;BR /&gt;remove -fast (which should never have been there, because it is unreliable with perl)&lt;BR /&gt;&lt;BR /&gt;The EASIER solution would be to remove the perl distro as installed with swremove, and install a gcc built version instead. You can find very recent builds on my sit.&lt;BR /&gt;&lt;BR /&gt;My HP ITRC site pages can be found at (please use LA as primary choice):&lt;BR /&gt;&lt;BR /&gt;USA Los Angeles &lt;A href="http://mirrors.develooper.com/hpux/" target="_blank"&gt;http://mirrors.develooper.com/hpux/&lt;/A&gt;&lt;BR /&gt;SGP Singapore   &lt;A href="https://www.beepz.com/personal/merijn/" target="_blank"&gt;https://www.beepz.com/personal/merijn/&lt;/A&gt;&lt;BR /&gt;USA Chicago     &lt;A href="http://ww.hpux.ws/merijn/" target="_blank"&gt;http://ww.hpux.ws/merijn/&lt;/A&gt;&lt;BR /&gt;NL  Hoofddorp   &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;Enjoy, have FUN! H.Merijn</description>
      <pubDate>Thu, 22 Dec 2005 11:25:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compile-errors-on-dbi-module/m-p/3696895#M796333</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2005-12-22T11:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: compile errors on DBI module</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compile-errors-on-dbi-module/m-p/3696896#M796334</link>
      <description>Thanks for the tips.  I am working on the first suggestion as that seems easier.&lt;BR /&gt;&lt;BR /&gt;Currently working on removing the options.&lt;BR /&gt;&lt;BR /&gt;Ran into a issue with that as PIC was not a valid option.&lt;BR /&gt;&lt;BR /&gt;        /usr/bin/perl -p -e "s/~DRIVER~/Perl/g" ./Driver.xst &amp;gt; Perl.xsi&lt;BR /&gt;        /usr/bin/perl /opt/perl/lib/5.8.3/ExtUtils/xsubpp  -typemap /opt/perl/lib/5.8.3/ExtUtils/typemap -typemap typemap  Perl.xs &amp;gt; Perl.xsc &amp;amp;&amp;amp; mv Perl.xsc Perl.c&lt;BR /&gt;        /usr/local/bin/gcc -c    -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -mpa-risc-1-1    -DVERSION=\"1.50\"  -DXS_VERSION=\"1.50\" -mPIC "-I/opt/perl/lib/5.8.3/PA-RISC1.1-thread-multi/CORE"   Perl.c&lt;BR /&gt;cc1: error: invalid option `PIC'&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Dec 2005 12:40:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compile-errors-on-dbi-module/m-p/3696896#M796334</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2005-12-22T12:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: compile errors on DBI module</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compile-errors-on-dbi-module/m-p/3696897#M796335</link>
      <description>Sorry, that was a typo, should have been -fPIC (not -mPIC but -fPIC)&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Thu, 22 Dec 2005 12:44:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compile-errors-on-dbi-module/m-p/3696897#M796335</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2005-12-22T12:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: compile errors on DBI module</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compile-errors-on-dbi-module/m-p/3696898#M796336</link>
      <description>ran into another issue with&lt;BR /&gt;/perl/lib/5.8.3/PA-RISC1.1-thread-multi/CORE"   Perl.c&lt;BR /&gt;&lt;COMMAND line=""&gt;:6:2: missing '(' after predicate&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I am pulling down the gcc compiled version of perl.&lt;BR /&gt;&lt;BR /&gt;I will post the results.&lt;BR /&gt;&lt;BR /&gt;Thanks again!!&lt;/COMMAND&gt;</description>
      <pubDate>Thu, 22 Dec 2005 13:13:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compile-errors-on-dbi-module/m-p/3696898#M796336</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2005-12-22T13:13:50Z</dc:date>
    </item>
  </channel>
</rss>

