<?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: Compiling Perl Modules in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/compiling-perl-modules/m-p/4391621#M665243</link>
    <description>apologies, I meant &lt;BR /&gt;&lt;BR /&gt;'Line 277.....'</description>
    <pubDate>Wed, 01 Apr 2009 01:36:58 GMT</pubDate>
    <dc:creator>CelesteG</dc:creator>
    <dc:date>2009-04-01T01:36:58Z</dc:date>
    <item>
      <title>Compiling Perl Modules</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compiling-perl-modules/m-p/4391618#M665240</link>
      <description>I am trying to compile the DBD::Oracle module one of our systems (HP-UX 11.23 PA-RISC 64-bit running an Oracle 10g client)with no success.  I've run into a few errors that I've been able to solve with the help of google like the 'could not open message catalog' and 'this option is available only with the C/ANSI C product'.  This latest error, however has me stumped.  I'm running into this when I do the 'make' for DBD::Oracle...&lt;BR /&gt;&lt;BR /&gt;------------------&lt;BR /&gt;cc: "Oracle.xsi", line 277: warning 524: Cast (non-lvalue) appears on left-hand side of assignment.&lt;BR /&gt;cc: "Oracle.xsi", line 277: error 1549: Modifiable lvalue required for assignment operator.&lt;BR /&gt;cc: "Oracle.xsi", line 336: warning 524: Cast (non-lvalue) appears on left-hand side of assignment.&lt;BR /&gt;cc: "Oracle.xsi", line 336: error 1549: Modifiable lvalue required for assignment operator.&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Stop.&lt;BR /&gt;&lt;BR /&gt;---------------------&lt;BR /&gt;&lt;BR /&gt;...and I can't seem to get past this.  I installed the latest DBI with the 'perl Makefile.PL/make/make test/make install' commands and it worked fine but following that same process with DBD::Oracle module fails at the 'make' step with the above error. &lt;BR /&gt;&lt;BR /&gt;I am not the least bit fluent when it comes to Perl so I am completely and utterly clueless on how to resolve this.  Am I missing an env variable, a patch maybe????  They system was built off of DVDs from the Sept. 2008 release of HP-UX 11.23.  Thanks so much for any help that will get me closer to fixing this issue.&lt;BR /&gt;&lt;BR /&gt;Celeste</description>
      <pubDate>Tue, 31 Mar 2009 23:43:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compiling-perl-modules/m-p/4391618#M665240</guid>
      <dc:creator>CelesteG</dc:creator>
      <dc:date>2009-03-31T23:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling Perl Modules</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compiling-perl-modules/m-p/4391619#M665241</link>
      <description>cc: "Oracle.xsi", line 277: warning 524: Cast (non-lvalue) appears on left-hand side of assignment.&lt;BR /&gt;cc: "Oracle.xsi", line 277: error 1549: Modifiable lvalue required for assignment operator.&lt;BR /&gt;&lt;BR /&gt;What's on line 277 and 336?  It could be an evil macro.&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Apr 2009 00:32:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compiling-perl-modules/m-p/4391619#M665241</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-04-01T00:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling Perl Modules</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compiling-perl-modules/m-p/4391620#M665242</link>
      <description>Line 227 and 336 both contain the following line from the Oracle.xsi:&lt;BR /&gt;&lt;BR /&gt; DBIc_CACHED_KIDS(imp_dbh) = Nullhv;&lt;BR /&gt;&lt;BR /&gt;Here is the entire if statement that uses that line:&lt;BR /&gt; /* pre-disconnect checks and tidy-ups */&lt;BR /&gt;    if (DBIc_CACHED_KIDS(imp_dbh)) {&lt;BR /&gt;        SvREFCNT_dec(DBIc_CACHED_KIDS(imp_dbh));      /* cast them to the winds */&lt;BR /&gt;        DBIc_CACHED_KIDS(imp_dbh) = Nullhv;&lt;BR /&gt;    }&lt;BR /&gt;&lt;BR /&gt;I played around with that line by commenting it out and then replacing it with a line that had 'Nullhv' changed to 'NULL' and 'Null'.  Neither worked.</description>
      <pubDate>Wed, 01 Apr 2009 01:29:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compiling-perl-modules/m-p/4391620#M665242</guid>
      <dc:creator>CelesteG</dc:creator>
      <dc:date>2009-04-01T01:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling Perl Modules</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compiling-perl-modules/m-p/4391621#M665243</link>
      <description>apologies, I meant &lt;BR /&gt;&lt;BR /&gt;'Line 277.....'</description>
      <pubDate>Wed, 01 Apr 2009 01:36:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compiling-perl-modules/m-p/4391621#M665243</guid>
      <dc:creator>CelesteG</dc:creator>
      <dc:date>2009-04-01T01:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling Perl Modules</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compiling-perl-modules/m-p/4391622#M665244</link>
      <description>&amp;gt;DBIc_CACHED_KIDS(imp_dbh) = Nullhv;&lt;BR /&gt;&lt;BR /&gt;This looks like an evil macro that may not be defined.&lt;BR /&gt;&lt;BR /&gt;Compile with: ... -E -Wp,-C,-G &amp;gt; Oracle.I&lt;BR /&gt;Then look at those lines and look for DBIc_CACHED_KIDS.</description>
      <pubDate>Wed, 01 Apr 2009 10:18:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compiling-perl-modules/m-p/4391622#M665244</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-04-01T10:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling Perl Modules</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compiling-perl-modules/m-p/4391623#M665245</link>
      <description>Hi Dennis, thanks for your responses.  I have been able to get past this issue, which was two fold.  We run a vendor supplied application that includes their built version of perl.  This perl would not work for our environment because it was not built to include threaded libraries.  How did I come to this conclusion?  &lt;BR /&gt;&lt;BR /&gt;After repeated attempts failed using vendor supplied perl, I decided to see if system perl would install this module. I received the same Oracle.xsi message. Well, Mr. Handly as it turns out I wasn't doing a 'make clean' after my unsuccessful compiles.  I did a 'make clean' and system perl compiled the module successfully. So I figure that my Oracle.xsi errors with DBICached_Kids was due to running a compile in an environment that was not clean. Yeah, I know, I kicked myself a couple of times, but not enough to actaully hurt. :-)&lt;BR /&gt;&lt;BR /&gt;I went back to vendor supplied perl and attempted another compile (after a 'make clean').  It still didn't work but I did receive a different error messages.  'perl Makefile.PL' returned this warning...&lt;BR /&gt;&lt;BR /&gt;WARNING: Oracle is built with multi-threading libraries&lt;BR /&gt;         You will most likely need to rebuild perl from sources&lt;BR /&gt;         with the following libraries: -lcl -lpthread&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And this time when I did a 'make test' I received....&lt;BR /&gt;&lt;BR /&gt;PERL_DL_NONLAZY=1 /opt/mincom/perl/perl_5_8_5/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t&lt;BR /&gt;t/01base.t .............. # Test loading DBI, DBD::Oracle and version&lt;BR /&gt;t/01base.t .............. 1/6 /usr/lib/dld.sl: Can't shl_load() a library containing Thread Local Storage: /usr/lib/libcl.2&lt;BR /&gt;/usr/lib/dld.sl: Exec format error&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;After a bit of googling, I checked the vendor supplied version of perl with the 'perl -V' command and it was not built with the threaded library options.  Sooooo, for now we'll point things to system perl and let the vendor rebuild their perl and repackage their software instead of mucking around with it ourselves.&lt;BR /&gt;&lt;BR /&gt;Again thanks for your help and responses.&lt;BR /&gt;&lt;BR /&gt;Celeste&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Apr 2009 22:52:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compiling-perl-modules/m-p/4391623#M665245</guid>
      <dc:creator>CelesteG</dc:creator>
      <dc:date>2009-04-01T22:52:27Z</dc:date>
    </item>
  </channel>
</rss>

