<?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: swinstall problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-problem/m-p/3109159#M148463</link>
    <description>Hi - &lt;BR /&gt;&lt;BR /&gt;    You trying to compile something thru swinstall. It is not going to work. Make/Configure etc have lots of enviroment variables in place, which probably is not set in your system. Hence the make and the perl module is going to fail. If you really want to make this product this is how you have to proceed.&lt;BR /&gt;&lt;BR /&gt;# configure; make ; make test; make install&lt;BR /&gt;# create product.psf ( put all the diretcories files executables etc )&lt;BR /&gt;# swpackage -p -vv -s product.psf @ /depot/your_product &lt;BR /&gt;#swreg -l depot @ /depot/your_product&lt;BR /&gt;&lt;BR /&gt;#swinstall -s /depot/your_product&lt;BR /&gt;&lt;BR /&gt;And it will work. Please do not include make/make install inside your post-installscript, it is going to fail.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Pratyush</description>
    <pubDate>Thu, 06 Nov 2003 16:00:16 GMT</pubDate>
    <dc:creator>Pratyush Paul_1</dc:creator>
    <dc:date>2003-11-06T16:00:16Z</dc:date>
    <item>
      <title>swinstall problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-problem/m-p/3109158#M148462</link>
      <description>The command I used is,&lt;BR /&gt;swinstall -s /path/AP014 Authen-PAM&lt;BR /&gt;where AP014 is a bundle created with,&lt;BR /&gt;swpackage -s authen.psf @ /path/AP014&lt;BR /&gt;within the authen.psf, a postinstall script is with the following content,&lt;BR /&gt;PATH=${SW_PATH}:/usr/bin:/opt/perl/bin:/usr/local/bin:/usr/contrib/bin&lt;BR /&gt;export PATH&lt;BR /&gt;cd /usr/local&lt;BR /&gt;gunzip -c Authen-PAM-0.14.tar.gz | tar xvf -&lt;BR /&gt;cd Authen-PAM-0.14&lt;BR /&gt;perl Makefile.PL&lt;BR /&gt;make&lt;BR /&gt;make install&lt;BR /&gt;The swinstall error message is listed bellow.&lt;BR /&gt;The first line listed is the result of the command,&lt;BR /&gt;perl Makefile.PL&lt;BR /&gt;so perl is found and is being used until that line, and then it no longer being located, otherwise, the "0" should be "perl". The strange thing is that perl is really under /opt/perl/bin. The program looked, but didn't see.&lt;BR /&gt;///// Message for swagent.log&lt;BR /&gt;config.status: PAM_config.h is unchanged&lt;BR /&gt;Running '0 -I/opt/perl/lib/5.6.1 /opt/perl/lib/5.6.1/ExtUtils/xsubpp -v 2&amp;gt;&amp;amp;1' ex&lt;BR /&gt;its with status 16777215 at (eval 35) line 17.&lt;BR /&gt;Running '0 /opt/perl/lib/5.6.1/ExtUtils/xsubpp temp000 2&amp;gt;&amp;amp;1' exits with status 1&lt;BR /&gt;6777215 at (eval 35) line 43.&lt;BR /&gt;Unable to find a perl 5 (by these names: perl miniperl perl perl5 perl5.6.1, in&lt;BR /&gt;these dirs: /usr/lbin/sw/bin /var/adm/sw/sbin /sbin /usr/bin /usr/ccs/bin /usr/b&lt;BR /&gt;in /opt/perl/bin /usr/local/bin /usr/contrib/bin /opt/perl/bin)&lt;BR /&gt;Writing Makefile for Authen::PAM&lt;BR /&gt;sh: 0:  not found.&lt;BR /&gt;*** Error exit code 127&lt;BR /&gt;&lt;BR /&gt;Stop.&lt;BR /&gt;sh: 0:  not found.&lt;BR /&gt;*** Error exit code 127&lt;BR /&gt;&lt;BR /&gt;Stop.&lt;BR /&gt;       * Running install clean command /usr/lbin/sw/install_clean.&lt;BR /&gt;NOTE:    tlinstall is searching filesystem - please be patient&lt;BR /&gt;NOTE:    Successfully completed&lt;BR /&gt;&lt;BR /&gt;       * Beginning the Configure Execution Phase.&lt;BR /&gt;&lt;BR /&gt;       * Summary of Execution Phase:&lt;BR /&gt;       * 1 of 1 filesets had no Errors or Warnings.&lt;BR /&gt;       * The Execution Phase succeeded.&lt;BR /&gt;/////// &lt;BR /&gt;&lt;BR /&gt;Jun</description>
      <pubDate>Mon, 03 Nov 2003 17:56:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-problem/m-p/3109158#M148462</guid>
      <dc:creator>Jun Zhang_4</dc:creator>
      <dc:date>2003-11-03T17:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: swinstall problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-problem/m-p/3109159#M148463</link>
      <description>Hi - &lt;BR /&gt;&lt;BR /&gt;    You trying to compile something thru swinstall. It is not going to work. Make/Configure etc have lots of enviroment variables in place, which probably is not set in your system. Hence the make and the perl module is going to fail. If you really want to make this product this is how you have to proceed.&lt;BR /&gt;&lt;BR /&gt;# configure; make ; make test; make install&lt;BR /&gt;# create product.psf ( put all the diretcories files executables etc )&lt;BR /&gt;# swpackage -p -vv -s product.psf @ /depot/your_product &lt;BR /&gt;#swreg -l depot @ /depot/your_product&lt;BR /&gt;&lt;BR /&gt;#swinstall -s /depot/your_product&lt;BR /&gt;&lt;BR /&gt;And it will work. Please do not include make/make install inside your post-installscript, it is going to fail.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Pratyush</description>
      <pubDate>Thu, 06 Nov 2003 16:00:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-problem/m-p/3109159#M148463</guid>
      <dc:creator>Pratyush Paul_1</dc:creator>
      <dc:date>2003-11-06T16:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: swinstall problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-problem/m-p/3109160#M148464</link>
      <description>Pratyush,&lt;BR /&gt;   I realized owing points to you, and here I sent.&lt;BR /&gt;&lt;BR /&gt;Jun Z</description>
      <pubDate>Fri, 06 Feb 2004 15:10:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-problem/m-p/3109160#M148464</guid>
      <dc:creator>Jun Zhang_4</dc:creator>
      <dc:date>2004-02-06T15:10:29Z</dc:date>
    </item>
  </channel>
</rss>

