10 More Discussions You Might Find Interesting
1. AIX
dears
i am trying to install the autoconf-2.63-1.aix6.1.noarch.rpm but its shows the below error message .
P700_dev/svn/dependencies>rpm -i autoconf-2.63-1.aix6.1.noarch.rpm
error: failed dependencies:
m4 is needed by autoconf-2.63-1
P700_dev/svn/dependencies> (6 Replies)
Discussion started by: thecobra151
6 Replies
2. Linux
Hi All,
I am trying to make rpm package for unixODBC driver manager 2.3.0 using below spec file. During rpmbuild i am getting the error. Can you pls advice how we can overcome this issue
%define name unixODBC
%define ver 2.3.0
%define prefix /usr
%define sysconfdir /etc
%define libdir... (2 Replies)
Discussion started by: kamauv234
2 Replies
3. UNIX for Advanced & Expert Users
Hello Everybody,
I am having a cluster which is not connected to internet. I want to check its performance do I downloaded required packages from the internet and copied them in a particular folder. As per the instructions given at
http:... (6 Replies)
Discussion started by: albertspade
6 Replies
4. Shell Programming and Scripting
Good day people,
Hereby wish to have your advise for below:
I have some .jar files, some script files (install.sh, action.sh) , and a libaes.so file. Basically, the .jar files compute the operation of my system and define the working directory for my system.
My current scenario:
i trigger... (1 Reply)
Discussion started by: cielle
1 Replies
5. SuSE
Hi All,
I am new to linux. Still I am asked to package a war file as an RPM package. That is an unusual RPM packaging(To me). If you guys could guide me, on how to do that, will be great. I have a war file inside a folder, that folder is inside a tar file as a SOURCE for RPM package.... (8 Replies)
Discussion started by: dirshah
8 Replies
6. Shell Programming and Scripting
How to make RPM not write to RPM database if RPM fails to deploy?
IE I create an rpm spec file that contains the following
if
then
exit 1
fi
My rpm will fail at deployment, but if I do rpm -qa , I can see the rpm in the rpm db (3 Replies)
Discussion started by: 3junior
3 Replies
7. Red Hat
Hi,
I need to create an RPM package for my java application.
Already build package for that application avail;able.
I need to create binary RPM package for my java application.
For that in spec file, do I need to write any script kind of thing to install my package.
any one have idea... (1 Reply)
Discussion started by: ram.sj
1 Replies
8. Linux
Hi guys,
Can anyone tell me, how .tar files could be convert into .RPM package.
Hoping soon replay with positive assistance.
Thanks. (1 Reply)
Discussion started by: daya.pandit
1 Replies
9. UNIX for Dummies Questions & Answers
Hi,
For example, I want to install abc.rpm to /abc directory.
How can I do that?
Please help. (2 Replies)
Discussion started by: beeloo
2 Replies
10. UNIX for Dummies Questions & Answers
Dear expert,
Suppose I have an application that comes in rpm format.
Let's call it:
my_downloaded_package.rpm
How can I install it in my particular home directory (since I'm not
a root user). Say the directory where I want to install above rpm package is:
~/.my_desired_location... (1 Reply)
Discussion started by: monkfan
1 Replies
GPT-PKG(8) User Contributed Perl Documentation GPT-PKG(8)
NAME
gpt-pkg - Creates flavored binary packages out of an installation
SYNOPSIS
gpt-pkg [options] packages
Options:
-verbose Print copious output
-help Print usage
-man Print man page.
-version Print GPT version.
-native Create native pkgs as well as GPT pkgs (RPMs only).
-all Archive everything in the package directory..
-installdir=PATH Override $GLOBUS_LOCATION
-pkgdir=PATH Directory to put the packages
-rpmprefix=PATH Absolute path encoded in the RPM.
-buildnumber=NUMBER Build number used for pgm_static packages
-rpmlicense=LABEL License Label added to the RPM header
[packages] List of packages to be archived
DESCRIPTION
gpt-pkg Creates binary packages from an installation. The installation needs to contain GPT packaging data files. An installation is
created by running gpt-build on a collection of source packages or bundles.
FILES IN PGM PACKAGES
Installed files such as executables that are found in pgm and ptm_static packages will overwrite one another when multiple flavors of the
same package are built by gpt-build. To preserve multiple flavors of these files, gpt-build copies them into flavored subdirectories. For
example, the program $GLOBUS_LOCATION/bin/foo will be copied into the location $GLOBUS_LOCATION/bin/gcc32/shared if it was built with
dynamically with the gcc32 flavor. gpt-pkg retrieves these files and copies them back to their proper location before packaging them.
Thus gpt-pkg will also overwrite these files as it archives the different flavors of a pgm package.
OPTIONS
-installdir
Specify the directory in which the installed files currently live. If this argument is not supplied, the value of the environment
variable GLOBUS_LOCATION is used instead.
-all Packages all of the binaries in an installation.
-native Creates a package in the native packaging format. Currently only rpm is supported.
-rpmprefix=<path_to_installation>
This should be set to the path to your GLOBUS_LOCATION. GPT will use a value of "/usr/grid" if this option is not specified.
-rpmlicense=<label>
Provides an alternate copyright label for the rpms. The default is whatever GPT was configured with.
-verbose
Prints out all of the build messages.
-log=FILE
Appends all of the build messages to FILE. This option also sets -verbose.
-help Print a brief help message and exits.
-man Prints the manual page and exits.
-version
Prints the version of GPT and exits.
pgm and pgm_static packages
gpt-build copies the files for these packages in a flavored location because different flavors of these types of packages will conflict
with each other. gpt-pkg restores these files when it packages pgm and pgm_static types.
SEE ALSO
gpt-bundle(8) gpt-install(8) gpt-build(8)
AUTHOR
Michael Bletzinger <mbletzin.ncsa.uiuc.edu> and Eric Blau <blau.mcs.anl.gov>
perl v5.14.2 2012-04-30 GPT-PKG(8)