HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: swinstall problem
Operating System - HP-UX
1832282
Members
1958
Online
110041
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 09:56 AM
11-03-2003 09:56 AM
The command I used is,
swinstall -s /path/AP014 Authen-PAM
where AP014 is a bundle created with,
swpackage -s authen.psf @ /path/AP014
within the authen.psf, a postinstall script is with the following content,
PATH=${SW_PATH}:/usr/bin:/opt/perl/bin:/usr/local/bin:/usr/contrib/bin
export PATH
cd /usr/local
gunzip -c Authen-PAM-0.14.tar.gz | tar xvf -
cd Authen-PAM-0.14
perl Makefile.PL
make
make install
The swinstall error message is listed bellow.
The first line listed is the result of the command,
perl Makefile.PL
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.
///// Message for swagent.log
config.status: PAM_config.h is unchanged
Running '0 -I/opt/perl/lib/5.6.1 /opt/perl/lib/5.6.1/ExtUtils/xsubpp -v 2>&1' ex
its with status 16777215 at (eval 35) line 17.
Running '0 /opt/perl/lib/5.6.1/ExtUtils/xsubpp temp000 2>&1' exits with status 1
6777215 at (eval 35) line 43.
Unable to find a perl 5 (by these names: perl miniperl perl perl5 perl5.6.1, in
these dirs: /usr/lbin/sw/bin /var/adm/sw/sbin /sbin /usr/bin /usr/ccs/bin /usr/b
in /opt/perl/bin /usr/local/bin /usr/contrib/bin /opt/perl/bin)
Writing Makefile for Authen::PAM
sh: 0: not found.
*** Error exit code 127
Stop.
sh: 0: not found.
*** Error exit code 127
Stop.
* Running install clean command /usr/lbin/sw/install_clean.
NOTE: tlinstall is searching filesystem - please be patient
NOTE: Successfully completed
* Beginning the Configure Execution Phase.
* Summary of Execution Phase:
* 1 of 1 filesets had no Errors or Warnings.
* The Execution Phase succeeded.
///////
Jun
swinstall -s /path/AP014 Authen-PAM
where AP014 is a bundle created with,
swpackage -s authen.psf @ /path/AP014
within the authen.psf, a postinstall script is with the following content,
PATH=${SW_PATH}:/usr/bin:/opt/perl/bin:/usr/local/bin:/usr/contrib/bin
export PATH
cd /usr/local
gunzip -c Authen-PAM-0.14.tar.gz | tar xvf -
cd Authen-PAM-0.14
perl Makefile.PL
make
make install
The swinstall error message is listed bellow.
The first line listed is the result of the command,
perl Makefile.PL
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.
///// Message for swagent.log
config.status: PAM_config.h is unchanged
Running '0 -I/opt/perl/lib/5.6.1 /opt/perl/lib/5.6.1/ExtUtils/xsubpp -v 2>&1' ex
its with status 16777215 at (eval 35) line 17.
Running '0 /opt/perl/lib/5.6.1/ExtUtils/xsubpp temp000 2>&1' exits with status 1
6777215 at (eval 35) line 43.
Unable to find a perl 5 (by these names: perl miniperl perl perl5 perl5.6.1, in
these dirs: /usr/lbin/sw/bin /var/adm/sw/sbin /sbin /usr/bin /usr/ccs/bin /usr/b
in /opt/perl/bin /usr/local/bin /usr/contrib/bin /opt/perl/bin)
Writing Makefile for Authen::PAM
sh: 0: not found.
*** Error exit code 127
Stop.
sh: 0: not found.
*** Error exit code 127
Stop.
* Running install clean command /usr/lbin/sw/install_clean.
NOTE: tlinstall is searching filesystem - please be patient
NOTE: Successfully completed
* Beginning the Configure Execution Phase.
* Summary of Execution Phase:
* 1 of 1 filesets had no Errors or Warnings.
* The Execution Phase succeeded.
///////
Jun
Food lover
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2003 08:00 AM
11-06-2003 08:00 AM
Solution
Hi -
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.
# configure; make ; make test; make install
# create product.psf ( put all the diretcories files executables etc )
# swpackage -p -vv -s product.psf @ /depot/your_product
#swreg -l depot @ /depot/your_product
#swinstall -s /depot/your_product
And it will work. Please do not include make/make install inside your post-installscript, it is going to fail.
Thanks
Pratyush
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.
# configure; make ; make test; make install
# create product.psf ( put all the diretcories files executables etc )
# swpackage -p -vv -s product.psf @ /depot/your_product
#swreg -l depot @ /depot/your_product
#swinstall -s /depot/your_product
And it will work. Please do not include make/make install inside your post-installscript, it is going to fail.
Thanks
Pratyush
Die Hard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2004 07:10 AM
02-06-2004 07:10 AM
Re: swinstall problem
Pratyush,
I realized owing points to you, and here I sent.
Jun Z
I realized owing points to you, and here I sent.
Jun Z
Food lover
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP