Sponsored Content
Top Forums UNIX for Advanced & Expert Users perl and HP-UX : instmodsh in combination with software depot : update inventory for installed Perl Post 302624285 by bora99 on Monday 16th of April 2012 11:25:42 AM
Old 04-16-2012
perl and HP-UX : instmodsh in combination with software depot : update inventory for installed Perl

we create a HP-UX software depot with a new perl-modul. after installation of the software depot, the perl module
i can't find with instmodsh in the inventory for installed Perl modules.

- i have learned of using instmodsh command : i find out what modules are already installed on my system.

- we have following system
- at a one server we install a perl modul to a different directory (INSTALLDIRS="vendor").
- then we use HP-UX swpackage to create a software depot with the files of the perl module.
- finally we install a perl module with HP-UX "swinstall"


this system works well and the perl modul works well after installation with HP-UX "swinstall" .

but now i find out, i can't see the perl modul with "instmodsh"
when i install it interactive with "perl Makefile.PL" and "make install", i can see it with "instmodsh".

so i think, i have to start a command to update the inventory for installed Perl modules ?

i think it is a part of the created "Makefile" (with "perl Makefile.PL") ?

for update perllocal.pod i find a debug in the Makefile:

/usr/bin/perl "-MExtUtils::Command::MM" -e perllocal_install "Module" "<New-Module" "installed into" "/opt/perl_32/lib/vendor_perl/5.8.8" LINKTYPE "dynamic" VERSION "<Version>" EXE_FILES " /opt/perl_32/lib/5.8.8/IA64.ARCHREV_0-thread-multi/perllocal.pod"

---------- Post updated at 05:25 PM ---------- Previous update was at 11:14 AM ----------

i have news :

i have little skills of Makefile.

i can update the inventory with following sections of Makefile:

make pure_perl_install and make doc_vendor_install. but i check with Perl Module Manager | Free software downloads at SourceForge.net the inventory like /usr/bin/perlmod -f Module::Mod1 and the module exists , but no detail informations. this is the part of Makefile , which i want to extend after software depot installation:

make pure_perl_install
/usr/bin/perl -MExtUtils::Install -e 'install({@ARGV}, '\''0'\'', 0, '\''0'\'');' \
read /opt/perl_32/lib/5.8.8/IA64.ARCHREV_0-thread-multi/auto/Module/Mod1/.packlist \
write /opt/perl_32/lib/5.8.8/IA64.ARCHREV_0-thread-multi/auto/Module/Mod1/.packlist \
blib/lib /opt/perl_32/lib/5.8.8 \
blib/arch /opt/perl_32/lib/5.8.8/IA64.ARCHREV_0-thread-multi \
blib/bin /opt/perl_32/bin \
blib/script /opt/perl_32/bin \
blib/man1 /opt/perl_32/man/man1 \
blib/man3 /opt/perl_32/man/man3

/usr/bin/perl "-MExtUtils::Command::MM" -e warn_if_old_packlist \
/opt/perl_32/lib/site_perl/5.8.8/IA64.ARCHREV_0-thread-multi/auto/Module/Mod1


make doc_vendor_install
/usr/bin/perl "-MExtUtils::Command" -e mkpath /opt/perl_32/lib/5.8.8/IA64.ARCHREV_0-thread-multi

/usr/bin/perl "-MExtUtils::Command::MM" -e perllocal_install "Module" "Module::Mod1" "installed into" "/opt/perl_32/lib/vendor_perl/5.8.8" LINKTYPE "dynamic" VERSION "0.92" EXE_FILES " /opt/perl_32/lib/5.8.8/IA64.ARCHREV_0-thread-multi/perllocal.pod"
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Software Inventory

How can I find out what software is installed on the machine, other than ls? Is there a registry program like in Windows? The os is Sun 2.5. Thanks (1 Reply)
Discussion started by: ViperD
1 Replies

2. Shell Programming and Scripting

How to check if perl is installed?

Hi, i'm designing a unix script and i want to know if there is a shell command or a way to see if perl is installed in the system. thanks in advance! (5 Replies)
Discussion started by: kfad
5 Replies

3. Shell Programming and Scripting

Which version of perl is installed on my system?

Hi, With the command perl -v i can see the perl version, but it's like a text file.. is there a command which could give me just the perl version number? i.e.: "5.8.1" thanks!! (6 Replies)
Discussion started by: kfad
6 Replies

4. UNIX for Advanced & Expert Users

Collecting software inventory

how to obtain/ collect a list of all the applications installed in the system.. is there a configuration file(like the one which exists for hardware ) which holds all this information?? if no is there any command/shell script or utility that we can use for the same ?? I am using Red hat linux... (2 Replies)
Discussion started by: superghost
2 Replies

5. UNIX for Dummies Questions & Answers

How to know the program 'perl' is installed ?

Hi, How can I know the perl interpreter is installed in the system? When I type 'find / -name perl -print 2>/dev/null', there is 6 lines listing: /usr/local/bin/perl /usr/bin/perl /usr/lib/perl-5.8.0/bin/perl /usr/opt/IAFW310/PERL/perl /usr/opt/IAFW310/PERL/t/perl... (3 Replies)
Discussion started by: zp523444
3 Replies

6. AIX

Perl installed by default?

Hi all, I wanted to know if Perl comes installed by default on AIX 5.2 and 5.3. I know it's available through the Linux affinity toolbox, but couldn't figure out if it's installed by default along with the RPM (rpm.rte). Does anyone know for sure? Thanks, JP (4 Replies)
Discussion started by: jbeaudry
4 Replies

7. UNIX for Dummies Questions & Answers

Utilities/Scipts to Inventory Hardware and Software

Hi All, I am looking for a way to inventory the hardware and software components of many Solaris 8 servers/workstations. I would like to script this to run against a list of IP's in a text file. For Windows there are many such programs available (like Belarc) Is there anything similar for... (4 Replies)
Discussion started by: limey
4 Replies

8. HP-UX

DEPOT software

I am using SAM and it is asking for the location of the DEPOT software. I don't know what the DEPOT software is. Can anyone explain and tell me where the default location for the software is? Thanks in advance (3 Replies)
Discussion started by: Randydog
3 Replies

9. HP-UX

Good acl for remote depot software

This is the situation On hpux2.domain.com i have set a depot source,copying various depots on /var/spool/sw I can install from hpux2,but i want to do a remote access to other hosts,i have tried this swacl -l global_product_template -M host:hpux3.domain.com:crw-t swacl -l depot -M... (1 Reply)
Discussion started by: Linusolaradm1
1 Replies

10. UNIX for Advanced & Expert Users

Server inventory software

Hi, do you know any good server inventory open source products? I want information like, server hostnames, ram, cpu, os, filesystems, volume groups, disks, adapters, installed software versions, firmware levels and so on os: aix, solaris, linux, hpux data should be kept in a database, web... (7 Replies)
Discussion started by: funksen
7 Replies
SVK::Command::Info(3)					User Contributed Perl Documentation				     SVK::Command::Info(3)

NAME
SVK::Command::Info - Display information about a file or directory SYNOPSIS
info [PATH | DEPOTPATH]... OPTIONS
-R [--recursive] : descend recursively DESCRIPTION
For example, here's the way to display the info of a checkout path: % svk info ~/dev/svk Checkout Path: /Users/gugod/dev/svk Depot Path: //svk/local Revision: 447 Last Changed Rev.: 447 Last Changed Date: 2006-11-28 Copied From: /svk/trunk, Rev. 434 Merged From: /svk/trunk, Rev. 445 You can see the result has some basic information: the actual depot path, and current revision. Next are advanced information about copy and merge source for this depot path. The result of "svk info //svk/local" is almost the same as above, except for the "Checkout Path:" line is not there, because you are not referring to a checkout path. Note that the revision numbers on "Copied From:" and "Merged From:" lines are for the source path (//svk/trunk), not the target path (//svk/local). The example above state that, //svk/local is copied from the revision 434 of //svk/trunk, and //svk/local was merged from the revision 445 of //svk/trunk. Hence if you do a "svk log -r 434 //svk/local", svk would tell you that //svk/local does not exist at revision 434. So far there is no easy way to tell the actual revision number of //svk/local right after a copy or merge. If the target is a depot path, or the corresponding depot path of the target checkout path is actually a mirroring path, the output of this command will look like this: % svk info //svk/trunk Depot Path: //svk/trunk Revision: 447 Last Changed Rev.: 445 Mirrored From: svn://svn.clkao.org/svk, Rev. 1744 So you can see this depot path is mirrored from a remote repository, and so far mirrored up to revision 1744. perl v5.10.0 2008-08-04 SVK::Command::Info(3)
All times are GMT -4. The time now is 07:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy