<?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 5.8.7 with threading in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/perl-5-8-7-with-threading/m-p/4929850#M102253</link>
    <description>That's an easy answer: yes&lt;BR /&gt;&lt;BR /&gt;perl32 -&amp;gt; /opt/perl&lt;BR /&gt;perl64 -&amp;gt; /opt/perl64&lt;BR /&gt;&lt;BR /&gt;Just go to my site. URL's in previous posts.&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
    <pubDate>Wed, 28 Sep 2005 13:20:11 GMT</pubDate>
    <dc:creator>H.Merijn Brand (procura</dc:creator>
    <dc:date>2005-09-28T13:20:11Z</dc:date>
    <item>
      <title>perl 5.8.7 with threading</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perl-5-8-7-with-threading/m-p/4929847#M102250</link>
      <description>I can install perl 5.8.7 without threading just fine, but when I try it with threading I receive join errors in the make test:&lt;BR /&gt;&lt;BR /&gt;ext/threads/shared/t/0nothread............ok&lt;BR /&gt;ext/threads/shared/t/av_refs..............Can't call method "join" on an undefined&lt;BR /&gt;value at ../ext/threads/shared/t/av_refs.t line 50.&lt;BR /&gt;FAILED at test 4&lt;BR /&gt;ext/threads/shared/t/av_simple............Can't call method "join" on an undefined&lt;BR /&gt;value at ../ext/threads/shared/t/av_simple.t line 47.&lt;BR /&gt;FAILED at test 10&lt;BR /&gt;ext/threads/shared/t/cond.................Can't call method "join" on an undefined&lt;BR /&gt;value at ../ext/threads/shared/t/cond.t line 53.&lt;BR /&gt;FAILED at test 3&lt;BR /&gt;ext/threads/shared/t/disabled.............ok&lt;BR /&gt;ext/threads/shared/t/hv_refs..............Can't call method "join" on an undefined&lt;BR /&gt;value at ../ext/threads/shared/t/hv_refs.t line 45.&lt;BR /&gt;FAILED at test 4&lt;BR /&gt;ext/threads/shared/t/hv_simple............Can't call method "join" on an undefined&lt;BR /&gt;value at ../ext/threads/shared/t/hv_simple.t line 43.&lt;BR /&gt;FAILED at test 3&lt;BR /&gt;ext/threads/shared/t/no_share.............Can't call method "join" on an undefined&lt;BR /&gt;value at ../ext/threads/shared/t/no_share.t line 43.&lt;BR /&gt;FAILED at test 4&lt;BR /&gt;&lt;BR /&gt;I need it with threading as when I try to include DBD-Oracle it complains thet Oracle is threaded and to recompile perl with threading..&lt;BR /&gt;&lt;BR /&gt;Any ideas as to how to get perl with threading to compile properly ?&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Sep 2005 09:55:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perl-5-8-7-with-threading/m-p/4929847#M102250</guid>
      <dc:creator>MikeL_4</dc:creator>
      <dc:date>2005-09-28T09:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: perl 5.8.7 with threading</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perl-5-8-7-with-threading/m-p/4929848#M102251</link>
      <description>Yes, I do.&lt;BR /&gt;&lt;BR /&gt;1. DBD-Oracle does *NOT* need a threaded perl, it needs a perl that has the threads library linked in. I admid this may sound confusing, but just believe me.&lt;BR /&gt;&lt;BR /&gt;2. Any special reason to build it yourself? I have all versions of perl available in 32 and 64bit for HP-UX 11.11 (11i), 11.00 and 10.20 and they all include the most recent DBI at the time of build, and are prepared to be linked to Oracle. A good reason to build yourself might be that you do have HP's C-ANSI-C, which compiles better than gcc.&lt;BR /&gt;&lt;BR /&gt;Point 1 is verbosely explained in both perl's README.hpux and in DBD-Oracle's README.hpux&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>Wed, 28 Sep 2005 10:32:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perl-5-8-7-with-threading/m-p/4929848#M102251</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2005-09-28T10:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: perl 5.8.7 with threading</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perl-5-8-7-with-threading/m-p/4929849#M102252</link>
      <description>procura, Do you have 5.8.7 for hpux 11i in both 32 &amp;amp; 64 bit that can be loaded to /opt ?</description>
      <pubDate>Wed, 28 Sep 2005 11:48:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perl-5-8-7-with-threading/m-p/4929849#M102252</guid>
      <dc:creator>MikeL_4</dc:creator>
      <dc:date>2005-09-28T11:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: perl 5.8.7 with threading</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perl-5-8-7-with-threading/m-p/4929850#M102253</link>
      <description>That's an easy answer: yes&lt;BR /&gt;&lt;BR /&gt;perl32 -&amp;gt; /opt/perl&lt;BR /&gt;perl64 -&amp;gt; /opt/perl64&lt;BR /&gt;&lt;BR /&gt;Just go to my site. URL's in previous posts.&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Wed, 28 Sep 2005 13:20:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perl-5-8-7-with-threading/m-p/4929850#M102253</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2005-09-28T13:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: perl 5.8.7 with threading</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perl-5-8-7-with-threading/m-p/4929851#M102254</link>
      <description>procura, I downloaded from your recommended site: perl-5.8.7-dor-11.11.sd.bz which from the description will give me what the applications group is after.&lt;BR /&gt;&lt;BR /&gt;If I am correct swinstall will install this depot in /opt/perl &amp;lt;32bit&amp;gt; and /opt/perl64 &amp;lt;64bit&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Our current production perl is loaded in /opt/perl and we don't want to overwrite that directory, is there a way around that ?</description>
      <pubDate>Wed, 28 Sep 2005 13:27:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perl-5-8-7-with-threading/m-p/4929851#M102254</guid>
      <dc:creator>MikeL_4</dc:creator>
      <dc:date>2005-09-28T13:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: perl 5.8.7 with threading</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perl-5-8-7-with-threading/m-p/4929852#M102255</link>
      <description>There is no way around /opt/perl and /opt/perl64&lt;BR /&gt;&lt;BR /&gt;If you only want perl64, there is no problem. My site describes:&lt;BR /&gt;&lt;BR /&gt;# bzip2 -d perl-5.8.7-dor-11.11.sd.bz&lt;BR /&gt;# swinstall -s `pwd`/perl-5.8.7-dor-11.11.sd perl64&lt;BR /&gt;&lt;BR /&gt;Just make sure /opt/perl64/bin is in your $PATH before /opt/perl/bin&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Wed, 28 Sep 2005 13:49:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perl-5-8-7-with-threading/m-p/4929852#M102255</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2005-09-28T13:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: perl 5.8.7 with threading</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perl-5-8-7-with-threading/m-p/4929853#M102256</link>
      <description>Thanks, I understand that for the 64bit, but on a couple of servers they are still using 32bit so if I install the 32bit depot it will over write there current production version that is currently in /opt/perl.&lt;BR /&gt;&lt;BR /&gt;Can I tar my current production perl version in /opt/perl&lt;BR /&gt;&lt;BR /&gt;Load the new 32bit depot which will overwrite /opt/perl.&lt;BR /&gt;&lt;BR /&gt;Then say move the /opt/perl to /opt/perl32 and then reload the production tar backup into /opt/perl ??</description>
      <pubDate>Wed, 28 Sep 2005 14:01:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perl-5-8-7-with-threading/m-p/4929853#M102256</guid>
      <dc:creator>MikeL_4</dc:creator>
      <dc:date>2005-09-28T14:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: perl 5.8.7 with threading</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perl-5-8-7-with-threading/m-p/4929854#M102257</link>
      <description>in that case, a simple&lt;BR /&gt;&lt;BR /&gt;# mv /opt/perl /opt/perl32&lt;BR /&gt;&lt;BR /&gt;would suffice, but sorry, you cannot do that, because the default include tree (/opt/perl/lib) is compiled into the binary/ies&lt;BR /&gt;&lt;BR /&gt;You *can* get it to work using PERL5LIB environment, but it's likely more trouble than it's worth&lt;BR /&gt;&lt;BR /&gt;What is special about the current release that you want to keep it? Does it have modules installed that my build does not have?&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn [ who would not mind some points for my site support ]</description>
      <pubDate>Wed, 28 Sep 2005 14:23:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perl-5-8-7-with-threading/m-p/4929854#M102257</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2005-09-28T14:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: perl 5.8.7 with threading</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perl-5-8-7-with-threading/m-p/4929855#M102258</link>
      <description>This is on on production server and they won't allow me to overwrite what is currently working.&lt;BR /&gt;&lt;BR /&gt;I guess I have no other option but to recompile perl from scratch and then I'm back to my origional problem.&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Sep 2005 14:30:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perl-5-8-7-with-threading/m-p/4929855#M102258</guid>
      <dc:creator>MikeL_4</dc:creator>
      <dc:date>2005-09-28T14:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: perl 5.8.7 with threading</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perl-5-8-7-with-threading/m-p/4929856#M102259</link>
      <description>In which case you should have no problem at all in the first place :)&lt;BR /&gt;&lt;BR /&gt;From README.hpux (I know, I wrote this myself):&lt;BR /&gt;--8&amp;lt;---&lt;BR /&gt;=head2 Oracle on HP-UX&lt;BR /&gt;&lt;BR /&gt;Using perl to connect to Oracle databases through DBI and DBD::Oracle&lt;BR /&gt;has caused a lot of people many headaches. Read README.hpux in the&lt;BR /&gt;DBD::Oracle for much more information. The reason to mention it here&lt;BR /&gt;is that Oracle requires a perl built with libcl and libpthread, the&lt;BR /&gt;latter even when perl is build without threads. Building perl using&lt;BR /&gt;all defaults, but still enabling to build DBD::Oracle later on can be&lt;BR /&gt;achieved using&lt;BR /&gt;&lt;BR /&gt;  Configure -A prepend:libswanted='cl pthread ' ...&lt;BR /&gt;&lt;BR /&gt;Do not forget the space before the trailing quote.&lt;BR /&gt;&lt;BR /&gt;Also note that this does not (yet) work with all configurations,&lt;BR /&gt;it is known to fail with 64-bit versions of GCC.&lt;BR /&gt;--&amp;gt;8---&lt;BR /&gt;&lt;BR /&gt;Ahh, and the last remark is not true anymore. I should remove it :)&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Wed, 28 Sep 2005 14:41:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perl-5-8-7-with-threading/m-p/4929856#M102259</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2005-09-28T14:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: perl 5.8.7 with threading</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perl-5-8-7-with-threading/m-p/4929857#M102260</link>
      <description>Merijn, thanks for all your help with this. I recompiled perl with following as you suggested: sh Configure -Dcc=gcc -Dprefix=/opt/perl-5.8.7 -A prepend:libswanted='cl pthread '&lt;BR /&gt;and all went good. Is there a way to verify that I have perl as needed for DBD-Oracle ?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Sep 2005 07:56:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perl-5-8-7-with-threading/m-p/4929857#M102260</guid>
      <dc:creator>MikeL_4</dc:creator>
      <dc:date>2005-09-29T07:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: perl 5.8.7 with threading</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perl-5-8-7-with-threading/m-p/4929858#M102261</link>
      <description>Merijn, I get to the DBD-Oracle make run and it's compile errors out...&lt;BR /&gt;&lt;BR /&gt;I scripted it's Makefile.PL and make and was hoping you or someone might tell me what's going wrong ...&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Sep 2005 08:40:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perl-5-8-7-with-threading/m-p/4929858#M102261</guid>
      <dc:creator>MikeL_4</dc:creator>
      <dc:date>2005-09-29T08:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: perl 5.8.7 with threading</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perl-5-8-7-with-threading/m-p/4929859#M102262</link>
      <description>Thanks can be expressed in assigning points.&lt;BR /&gt;&lt;BR /&gt;There is no better way to check than to build and install DBI and DBD::Oracle&lt;BR /&gt;I have full confidence in that the *perl* binary you just created is not causing that to fail&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Thu, 29 Sep 2005 08:52:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perl-5-8-7-with-threading/m-p/4929859#M102262</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2005-09-29T08:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: perl 5.8.7 with threading</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perl-5-8-7-with-threading/m-p/4929860#M102263</link>
      <description>I'm afraid you don't have the include files installed&lt;BR /&gt;&lt;BR /&gt;# find /opt/oracle/product/9.2.0.6.0 -name oci.h&lt;BR /&gt;&lt;BR /&gt;If you cannot find it, you have to install the part that contains it (C development or something)&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Thu, 29 Sep 2005 09:59:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perl-5-8-7-with-threading/m-p/4929860#M102263</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2005-09-29T09:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: perl 5.8.7 with threading</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perl-5-8-7-with-threading/m-p/4929861#M102264</link>
      <description>Merijn, Thanks for your help aad patience, if I could give more points I would..&lt;BR /&gt;&lt;BR /&gt;I ran through the entire setup on another server which had the files installed in the $ORACLE_HOME/rdbms/demo and everything installed without a problem, including the DBD-Oracle. So as soon as the DBA's give me a rdbms/demo directory with everything in it I install it on the problem server.&lt;BR /&gt;&lt;BR /&gt;As a comment when you build new depots, the reason we couldn't over write our current production /opt/perl is that we are in the middle of an upgrade to a version 9 of Oracle. The production is running Version 8, so if I update /opt/perl with the ORACLE_HOME for Version 9 then the production application scripts will not work.&lt;BR /&gt;&lt;BR /&gt;As a suggestion may I recommend that you build the depots to install in as an example:  /opt/perl-5.8.7&lt;BR /&gt;&lt;BR /&gt;Thanks Again..</description>
      <pubDate>Thu, 29 Sep 2005 12:06:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perl-5-8-7-with-threading/m-p/4929861#M102264</guid>
      <dc:creator>MikeL_4</dc:creator>
      <dc:date>2005-09-29T12:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: perl 5.8.7 with threading</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perl-5-8-7-with-threading/m-p/4929862#M102265</link>
      <description>Thread closed, but I'll answer that anyway.&lt;BR /&gt;&lt;BR /&gt;The solution to that problem is to NOT install DBD::Oracle in the default perl tree&lt;BR /&gt;&lt;BR /&gt;I face the same problem, and since you can only install one single DBD::Oracle in the default tree, and I want to support multiple versions of Oracle on the same perl, I have a directory called 'perl' on $ORACLE_HOME (on *each* $ORACLE_HOME) and install your DBD::Oracle in there&lt;BR /&gt;&lt;BR /&gt;When you then switch to the product, you set $PERL5LIB to find that first:&lt;BR /&gt;&lt;BR /&gt;bev r3:/pro/po/bev/4gl 101 &amp;gt; echo $PERL5LIB&lt;BR /&gt;/pro/asql/o82C/lib/perl:/pro/po/bev/4gl/c19f000/vog&lt;BR /&gt;bev r3:/pro/po/bev/4gl 102 &amp;gt; perl -MV=DBI&lt;BR /&gt;DBI&lt;BR /&gt;        /pro/lib/perl5/site_perl/5.8.5/PA-RISC2.0-LP64/DBI.pm: 1.48&lt;BR /&gt;bev r3:/pro/po/bev/4gl 103 &amp;gt; perl -MV=DBD::Oracle&lt;BR /&gt;DBD::Oracle&lt;BR /&gt;        /pro/asql/o82C/lib/perl/5.8.5/DBD/Oracle.pm: 1.16&lt;BR /&gt;bev r3:/pro/po/bev/4gl 104 &amp;gt;&lt;BR /&gt;&lt;BR /&gt;Another nice thing is that this works also for multiple versions of perl :)&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Thu, 06 Oct 2005 06:06:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perl-5-8-7-with-threading/m-p/4929862#M102265</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2005-10-06T06:06:50Z</dc:date>
    </item>
  </channel>
</rss>

