<?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: software question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/software-question/m-p/3919073#M285692</link>
    <description>Subhashni,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;here is a procedure for building a perl module: &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Building a Perl Module&lt;BR /&gt;To build a Perl module, you issue four commands from the module directory: &lt;BR /&gt;   perl Makefile.PL&lt;BR /&gt;   make&lt;BR /&gt;   make test&lt;BR /&gt;   make install&lt;BR /&gt;  &lt;BR /&gt;perl Makefile.PL&lt;BR /&gt;The first step is to run Makefile.PL to create the makefile. Makefile.PL is a Perl program, but it has no #! line, so you have to invoke the interpreter explicitly. &lt;BR /&gt;make&lt;BR /&gt;This creates a directory named blib (for Build LIB) in the module directory, and installs the module in it. blib is a private test area for the module. Try doing &lt;BR /&gt;   .../development/Foo-Bar&amp;gt;ls -R blib/&lt;BR /&gt;  &lt;BR /&gt;Pretty amazing, no? If Foo::Bar linked to C code, you'd see those subdirectories populated with .ix files and .al files and .bs files and .so files and maybe a griffin or two. A copy of your .pm file is down there too: it's at &lt;BR /&gt;   .../development/Foo-Bar/blib/lib/Foo/Bar.pm&lt;BR /&gt;  &lt;BR /&gt;make test&lt;BR /&gt;This runs t/Foo-Bar.t, with special command line switches that cause Perl to find the copy of your module that is buried under blib/, and not any other copies that might be floating around. This is where you'll see syntax errors flagged, and functional errors if you added your own tests. &lt;BR /&gt;make install&lt;BR /&gt;This installs your module in /usr/local/lib/perl5/site_perl. On Unix systems, you typically need root access to do this. As soon as it's installed, it's available to everyone on your system. &lt;BR /&gt;make dist&lt;BR /&gt;If you want to share your module with users on other systems, do a &lt;BR /&gt;        .../development/Foo-Bar&amp;gt;make dist&lt;BR /&gt;  &lt;BR /&gt;This locates all the files listed in MANIFEST, tar's and compresses them, and writes the archive to (for example) &lt;BR /&gt;          Foo-Bar-1.00.tar.gz&lt;BR /&gt;  &lt;BR /&gt;in the development directory. This archive is a complete distribution of your module. You can give it to anyone, and they can build and install your module on their own system. &lt;BR /&gt;pm_to_blib&lt;BR /&gt;All good makefiles compare the modification times on the source and object files, and only rebuild things that are out of date. Tracking the modification times of all the files under blib/ would be complicated, so the makefile creates a zero-length file named pm_to_blib in the module directory and tracks its modification time instead. &lt;BR /&gt;If pm_to_blib gets out of sync with your .pm files, then the makefile will think blib/ is up to date and won't rebuild it. If this happens, just delete pm_to_blib and run make again. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can check this link further:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://world.std.com/~swmcd/steven/perl/module_mechanics.html#TOC19" target="_blank"&gt;http://world.std.com/~swmcd/steven/perl/module_mechanics.html#TOC19&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hth and Cheers,&lt;BR /&gt;Raj.</description>
    <pubDate>Fri, 29 Dec 2006 16:49:07 GMT</pubDate>
    <dc:creator>Raj D.</dc:creator>
    <dc:date>2006-12-29T16:49:07Z</dc:date>
    <item>
      <title>software question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/software-question/m-p/3919072#M285691</link>
      <description>Hi,&lt;BR /&gt;I would like to compile and make 5.8.2 expect libraries(perl) on hpux-11.23. What would be the appropriate procedure for this.&lt;BR /&gt;Thanks in adavnce.</description>
      <pubDate>Fri, 29 Dec 2006 16:12:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/software-question/m-p/3919072#M285691</guid>
      <dc:creator>subhashni</dc:creator>
      <dc:date>2006-12-29T16:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: software question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/software-question/m-p/3919073#M285692</link>
      <description>Subhashni,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;here is a procedure for building a perl module: &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Building a Perl Module&lt;BR /&gt;To build a Perl module, you issue four commands from the module directory: &lt;BR /&gt;   perl Makefile.PL&lt;BR /&gt;   make&lt;BR /&gt;   make test&lt;BR /&gt;   make install&lt;BR /&gt;  &lt;BR /&gt;perl Makefile.PL&lt;BR /&gt;The first step is to run Makefile.PL to create the makefile. Makefile.PL is a Perl program, but it has no #! line, so you have to invoke the interpreter explicitly. &lt;BR /&gt;make&lt;BR /&gt;This creates a directory named blib (for Build LIB) in the module directory, and installs the module in it. blib is a private test area for the module. Try doing &lt;BR /&gt;   .../development/Foo-Bar&amp;gt;ls -R blib/&lt;BR /&gt;  &lt;BR /&gt;Pretty amazing, no? If Foo::Bar linked to C code, you'd see those subdirectories populated with .ix files and .al files and .bs files and .so files and maybe a griffin or two. A copy of your .pm file is down there too: it's at &lt;BR /&gt;   .../development/Foo-Bar/blib/lib/Foo/Bar.pm&lt;BR /&gt;  &lt;BR /&gt;make test&lt;BR /&gt;This runs t/Foo-Bar.t, with special command line switches that cause Perl to find the copy of your module that is buried under blib/, and not any other copies that might be floating around. This is where you'll see syntax errors flagged, and functional errors if you added your own tests. &lt;BR /&gt;make install&lt;BR /&gt;This installs your module in /usr/local/lib/perl5/site_perl. On Unix systems, you typically need root access to do this. As soon as it's installed, it's available to everyone on your system. &lt;BR /&gt;make dist&lt;BR /&gt;If you want to share your module with users on other systems, do a &lt;BR /&gt;        .../development/Foo-Bar&amp;gt;make dist&lt;BR /&gt;  &lt;BR /&gt;This locates all the files listed in MANIFEST, tar's and compresses them, and writes the archive to (for example) &lt;BR /&gt;          Foo-Bar-1.00.tar.gz&lt;BR /&gt;  &lt;BR /&gt;in the development directory. This archive is a complete distribution of your module. You can give it to anyone, and they can build and install your module on their own system. &lt;BR /&gt;pm_to_blib&lt;BR /&gt;All good makefiles compare the modification times on the source and object files, and only rebuild things that are out of date. Tracking the modification times of all the files under blib/ would be complicated, so the makefile creates a zero-length file named pm_to_blib in the module directory and tracks its modification time instead. &lt;BR /&gt;If pm_to_blib gets out of sync with your .pm files, then the makefile will think blib/ is up to date and won't rebuild it. If this happens, just delete pm_to_blib and run make again. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can check this link further:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://world.std.com/~swmcd/steven/perl/module_mechanics.html#TOC19" target="_blank"&gt;http://world.std.com/~swmcd/steven/perl/module_mechanics.html#TOC19&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hth and Cheers,&lt;BR /&gt;Raj.</description>
      <pubDate>Fri, 29 Dec 2006 16:49:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/software-question/m-p/3919073#M285692</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2006-12-29T16:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: software question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/software-question/m-p/3919074#M285693</link>
      <description>Also check this link for perl make,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=39553&amp;amp;admit=-682735245+1167429038057+28353475" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=39553&amp;amp;admit=-682735245+1167429038057+28353475&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.</description>
      <pubDate>Fri, 29 Dec 2006 16:54:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/software-question/m-p/3919074#M285693</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2006-12-29T16:54:09Z</dc:date>
    </item>
  </channel>
</rss>

