<?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: Building Perl Module XML::Parser in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/building-perl-module-xml-parser/m-p/5174538#M682271</link>
    <description>Closing the Thread.</description>
    <pubDate>Wed, 13 May 2009 08:09:58 GMT</pubDate>
    <dc:creator>Syed Madar J S</dc:creator>
    <dc:date>2009-05-13T08:09:58Z</dc:date>
    <item>
      <title>Building Perl Module XML::Parser</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/building-perl-module-xml-parser/m-p/5174534#M682267</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We had been normally building the XML::Parser perl module in shared mode, but previously it was built in static/archive mode. The difference is, when built in shared mode the module does not load if the "libexpat" library is NOT present in "/usr/local/lib/". But it archive mode it doesn't requires such conditions.&lt;BR /&gt;&lt;BR /&gt;Posting the chatr of both the perl module binaries:&lt;BR /&gt;&lt;BR /&gt;Perl Module in Archive mode:&lt;BR /&gt;# chatr ./lib/site_perl/5.8.8/IA64.ARCHREV_0-thread-multi/auto/XML/Parser/Expat/Expat.so&lt;BR /&gt;./lib/site_perl/5.8.8/IA64.ARCHREV_0-thread-multi/auto/XML/Parser/Expat/Expat.so:&lt;BR /&gt;         32-bit ELF shared library&lt;BR /&gt;         shared library dynamic path search:&lt;BR /&gt;             LD_LIBRARY_PATH    enabled  first&lt;BR /&gt;             SHLIB_PATH         enabled  second&lt;BR /&gt;             embedded path      enabled  third  /usr/lib/hpux32&lt;BR /&gt;         shared library mapped private disabled&lt;BR /&gt;         shared vtable support disabled&lt;BR /&gt;         explicit unloading enabled&lt;BR /&gt;         linkage table protection disabled&lt;BR /&gt;         segments:&lt;BR /&gt;             index type     address      flags size&lt;BR /&gt;                 6 text     04000000     z---c-    D (default)&lt;BR /&gt;                 7 data     40000000     ---m--    D (default)&lt;BR /&gt;         kernel assisted branch prediction enabled&lt;BR /&gt;         lazy swap allocation for dynamic segments disabled&lt;BR /&gt;         nulptr dereferences trap disabled&lt;BR /&gt;         address space model: default&lt;BR /&gt;         caliper dynamic instrumentation disabled&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Perl Module in Shared Mode:&lt;BR /&gt;# chatr ./lib/site_perl/5.8.8/IA64.ARCHREV_0-thread-multi/auto/XML/Parser/Expat/Expat.so&lt;BR /&gt;./lib/site_perl/5.8.8/IA64.ARCHREV_0-thread-multi/auto/XML/Parser/Expat/Expat.so:&lt;BR /&gt;         32-bit ELF shared library&lt;BR /&gt;         shared library dynamic path search:&lt;BR /&gt;             LD_LIBRARY_PATH    enabled  first&lt;BR /&gt;             SHLIB_PATH         enabled  second&lt;BR /&gt;             embedded path      enabled  third  /usr/lib/hpux32:/usr/local/lib/hpux32&lt;BR /&gt;         shared library list:&lt;BR /&gt;             libexpat.so&lt;BR /&gt;         shared library mapped private disabled&lt;BR /&gt;         shared vtable support disabled&lt;BR /&gt;         explicit unloading enabled&lt;BR /&gt;         linkage table protection disabled&lt;BR /&gt;         segments:&lt;BR /&gt;             index type     address      flags size&lt;BR /&gt;                 7 text     04000000     z---c-    D (default)&lt;BR /&gt;                 8 data     40010000     ---m--    D (default)&lt;BR /&gt;         kernel assisted branch prediction enabled&lt;BR /&gt;         lazy swap allocation for dynamic segments disabled&lt;BR /&gt;         nulptr dereferences trap disabled&lt;BR /&gt;         address space model: default&lt;BR /&gt;         caliper dynamic instrumentation disabled&lt;BR /&gt;&lt;BR /&gt;As you can see there is a dependency on library "shared library list:  libexpat.so", but not so in Archive mode.&lt;BR /&gt;&lt;BR /&gt;Can any one suggest how this module could be built in Archive Mode ?&lt;BR /&gt;&lt;BR /&gt;I use the following method to build the module in Shared Mode.&lt;BR /&gt;&lt;BR /&gt;#perl Makefile.PL EXPATLIBPATH=&lt;PATH to="" libexpat=""&gt; EXPATINCPATH=&lt;PATH to="" expat.h=""&gt;&lt;BR /&gt;&lt;BR /&gt;I am asking of the build option, in which the dependency can be resolved, by building this module in Archive Mode, Which i don't know how to!!&lt;/PATH&gt;&lt;/PATH&gt;</description>
      <pubDate>Tue, 12 May 2009 04:27:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/building-perl-module-xml-parser/m-p/5174534#M682267</guid>
      <dc:creator>Syed Madar J S</dc:creator>
      <dc:date>2009-05-12T04:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Building Perl Module XML::Parser</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/building-perl-module-xml-parser/m-p/5174535#M682268</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;See if this helps:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1326545" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1326545&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;See Shinji commentary therein.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 12 May 2009 10:34:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/building-perl-module-xml-parser/m-p/5174535#M682268</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-05-12T10:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Building Perl Module XML::Parser</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/building-perl-module-xml-parser/m-p/5174536#M682269</link>
      <description>&lt;!--!*#--&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I don't have a smart procedure. But after generating Makefile, you can&lt;BR /&gt;change Expat/Makefile to use libexpat.a instead of libexpat.so.&lt;BR /&gt;&lt;BR /&gt;% diff Expat/Makefile.orig Expat/Makefile&lt;BR /&gt;265c265&lt;BR /&gt;&amp;lt; LDLOADLIBS = -L/home/shinji/oss/httpd-2.2.8/srclib/apr-util/xml/expat/lib/.libs -lexpat&lt;BR /&gt;---&lt;BR /&gt;&amp;gt; LDLOADLIBS = /home/shinji/oss/httpd-2.2.8/srclib/apr-util/xml/expat/lib/.libs/libexpat.a&lt;BR /&gt;%&lt;BR /&gt;&lt;BR /&gt;% chatr blib/arch/auto/XML/Parser/Expat/Expat.so&lt;BR /&gt;blib/arch/auto/XML/Parser/Expat/Expat.so:&lt;BR /&gt;         64-bit ELF shared library&lt;BR /&gt;         shared library dynamic path search:&lt;BR /&gt;             LD_LIBRARY_PATH    enabled  first &lt;BR /&gt;             SHLIB_PATH         enabled  second&lt;BR /&gt;             embedded path      enabled  third  /usr/lib/hpux64&lt;BR /&gt;         shared library mapped private disabled&lt;BR /&gt;         shared vtable support disabled&lt;BR /&gt;         explicit unloading enabled &lt;BR /&gt;         linkage table protection disabled &lt;BR /&gt;         segments:&lt;BR /&gt;             index type     address      flags size&lt;BR /&gt;                 7 text 4000000000000000 z---c-    D (default)&lt;BR /&gt;                 8 data 6000000000000000 ---m--    D (default)&lt;BR /&gt;         kernel assisted branch prediction enabled &lt;BR /&gt;         lazy swap allocation for dynamic segments disabled&lt;BR /&gt;         nulptr dereferences trap disabled&lt;BR /&gt;         address space model: default&lt;BR /&gt;         caliper dynamic instrumentation disabled&lt;BR /&gt;%  &lt;BR /&gt;</description>
      <pubDate>Wed, 13 May 2009 03:49:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/building-perl-module-xml-parser/m-p/5174536#M682269</guid>
      <dc:creator>Shinji Teragaito_1</dc:creator>
      <dc:date>2009-05-13T03:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Building Perl Module XML::Parser</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/building-perl-module-xml-parser/m-p/5174537#M682270</link>
      <description>Thanks All, i would try building on the suggested lines.</description>
      <pubDate>Wed, 13 May 2009 08:09:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/building-perl-module-xml-parser/m-p/5174537#M682270</guid>
      <dc:creator>Syed Madar J S</dc:creator>
      <dc:date>2009-05-13T08:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: Building Perl Module XML::Parser</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/building-perl-module-xml-parser/m-p/5174538#M682271</link>
      <description>Closing the Thread.</description>
      <pubDate>Wed, 13 May 2009 08:09:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/building-perl-module-xml-parser/m-p/5174538#M682271</guid>
      <dc:creator>Syed Madar J S</dc:creator>
      <dc:date>2009-05-13T08:09:58Z</dc:date>
    </item>
  </channel>
</rss>

