<?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 make test fails DBD::Oracle 1.20 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/make-test-fails-dbd-oracle-1-20/m-p/4163219#M90780</link>
    <description>I'm trying to build DBD::Oracle 1.20 using Merijn's current Perl and GCC  builds for HPUX 11.11 against Oracle Instant Client 10.2. Ran into two problems (solved) and an stuck with one I have not been able to crack. The two solved issues (since they represent changes I made to the system):&lt;BR /&gt;&lt;BR /&gt;1.  modified gcc's type.h to include:&lt;BR /&gt;&lt;BR /&gt;# ifndef _CMPTID_T&lt;BR /&gt;# define _CMPTID_T&lt;BR /&gt;typedef int32_t cid_t; /* For compartment IDs */&lt;BR /&gt;typedef cid_t cmpt_t;&lt;BR /&gt;# endif /* _CMPTID_T */&lt;BR /&gt;(&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do;HP-FORUMS-S-WPA-IDX=HpgT1TKY5s3Fhbb8hpzTPmZ541VKx1mL2HyKf1FWq1V4Tz2g1mK6!-1200587909!1449797411?threadId=964154&amp;amp;admit=109447626+1205772307767+28353475)" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do;HP-FORUMS-S-WPA-IDX=HpgT1TKY5s3Fhbb8hpzTPmZ541VKx1mL2HyKf1FWq1V4Tz2g1mK6!-1200587909!1449797411?threadId=964154&amp;amp;admit=109447626+1205772307767+28353475)&lt;/A&gt;&lt;BR /&gt;2. Modified the Makefile produced by Makefile.PL to NOT include -Wl in the ld line.&lt;BR /&gt;&lt;BR /&gt;Make completes with several warning regarding int and unsigned int in various places (I can provide this output if relevant, but I don't think it is.)  Make test kicks back:&lt;BR /&gt;&lt;BR /&gt;t/10general.............DBI connect('','USER/PASS',...) failed: ERROR OCIEnvsCreate. Check ORACLE_HOME env var, NLS settings, permissions, etc. at t/10genal.t line 20&lt;BR /&gt;&lt;BR /&gt;I have confirmed that TNS_ADMIN, ORACLE_BASE, ORACLE_HOME, SHLIB_PATH, PATH, and LD_LIBRARY_PATH all contain the instant client directory.  TWO_TASK is set to the correct SID, and that instance is defined in the tnsnames.ora file. I have also tried specifying ORACLE_SID with no change in behavior. ORACLE_USERID is set with correct USER/PASS information.  I have also confirmed that I can log in via sqlplus using the user/password/SID.&lt;BR /&gt;&lt;BR /&gt;Most of the posts I've been able to find (here and elsewhere) center of environment variables missing when running through apache or similar environments (mostly loosing LD_LIBRARY_PATH and SHLIB_PATH), but that doesn't apply here. &lt;BR /&gt;&lt;BR /&gt;If I change paths to the full oracle client (which I'm trying to replace) and recompile, DBD::Oracle tests fine, and appears to function normally, so I think this is an Oracle Instant Client specific issue.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Has anyone seen this or have suggestions on a next step?</description>
    <pubDate>Mon, 17 Mar 2008 21:09:05 GMT</pubDate>
    <dc:creator>Ben Wern</dc:creator>
    <dc:date>2008-03-17T21:09:05Z</dc:date>
    <item>
      <title>make test fails DBD::Oracle 1.20</title>
      <link>https://community.hpe.com/t5/operating-system-linux/make-test-fails-dbd-oracle-1-20/m-p/4163219#M90780</link>
      <description>I'm trying to build DBD::Oracle 1.20 using Merijn's current Perl and GCC  builds for HPUX 11.11 against Oracle Instant Client 10.2. Ran into two problems (solved) and an stuck with one I have not been able to crack. The two solved issues (since they represent changes I made to the system):&lt;BR /&gt;&lt;BR /&gt;1.  modified gcc's type.h to include:&lt;BR /&gt;&lt;BR /&gt;# ifndef _CMPTID_T&lt;BR /&gt;# define _CMPTID_T&lt;BR /&gt;typedef int32_t cid_t; /* For compartment IDs */&lt;BR /&gt;typedef cid_t cmpt_t;&lt;BR /&gt;# endif /* _CMPTID_T */&lt;BR /&gt;(&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do;HP-FORUMS-S-WPA-IDX=HpgT1TKY5s3Fhbb8hpzTPmZ541VKx1mL2HyKf1FWq1V4Tz2g1mK6!-1200587909!1449797411?threadId=964154&amp;amp;admit=109447626+1205772307767+28353475)" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do;HP-FORUMS-S-WPA-IDX=HpgT1TKY5s3Fhbb8hpzTPmZ541VKx1mL2HyKf1FWq1V4Tz2g1mK6!-1200587909!1449797411?threadId=964154&amp;amp;admit=109447626+1205772307767+28353475)&lt;/A&gt;&lt;BR /&gt;2. Modified the Makefile produced by Makefile.PL to NOT include -Wl in the ld line.&lt;BR /&gt;&lt;BR /&gt;Make completes with several warning regarding int and unsigned int in various places (I can provide this output if relevant, but I don't think it is.)  Make test kicks back:&lt;BR /&gt;&lt;BR /&gt;t/10general.............DBI connect('','USER/PASS',...) failed: ERROR OCIEnvsCreate. Check ORACLE_HOME env var, NLS settings, permissions, etc. at t/10genal.t line 20&lt;BR /&gt;&lt;BR /&gt;I have confirmed that TNS_ADMIN, ORACLE_BASE, ORACLE_HOME, SHLIB_PATH, PATH, and LD_LIBRARY_PATH all contain the instant client directory.  TWO_TASK is set to the correct SID, and that instance is defined in the tnsnames.ora file. I have also tried specifying ORACLE_SID with no change in behavior. ORACLE_USERID is set with correct USER/PASS information.  I have also confirmed that I can log in via sqlplus using the user/password/SID.&lt;BR /&gt;&lt;BR /&gt;Most of the posts I've been able to find (here and elsewhere) center of environment variables missing when running through apache or similar environments (mostly loosing LD_LIBRARY_PATH and SHLIB_PATH), but that doesn't apply here. &lt;BR /&gt;&lt;BR /&gt;If I change paths to the full oracle client (which I'm trying to replace) and recompile, DBD::Oracle tests fine, and appears to function normally, so I think this is an Oracle Instant Client specific issue.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Has anyone seen this or have suggestions on a next step?</description>
      <pubDate>Mon, 17 Mar 2008 21:09:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/make-test-fails-dbd-oracle-1-20/m-p/4163219#M90780</guid>
      <dc:creator>Ben Wern</dc:creator>
      <dc:date>2008-03-17T21:09:05Z</dc:date>
    </item>
  </channel>
</rss>

