[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Fwd: Help with relocatable packages



I posted this yesterday, but never saw it....

If anyone can provide some help with trouble-shooting this, I'd really appreciate it.

Cheers,
Dave

Date: Tue, 08 Apr 2003 08:49:07 -0500
To: rpm-list@redhat.com
From: Dave Barnett <barnett2@houston.westerngeco.slb.com>
Subject: Help with relocatable packages

All:

I'm using a freshly compiled version of "RPM version 4.1", and have run into problems.

I've created a package spec file as follows:
Summary: Interactive Velocity Picker (IVP)
Name: ivp
Version: 2.0.0
Release: 1
Copyright: Commercial
Group: Applications/SeismicProcessing
Vendor: WesternGeco, Inc. (omegasupport@slb.com)
Distribution: Omega2-2.0.0
URL: http://www.westerngeco.com
Packager: Release Management <rmisg@slb.com>
Autoreqprov: 0
Prefix: /omega/2.0.0/184_test
Buildroot: /tmp/buildroot

%description
The IVP package is required by InVA (Interactive
Velocity Analysis), and provides some underlying
database access routines, and processing routines.

%build
echo "Nothing requires building...."

%install
echo "installing files"

%clean

%files
/omega/2.0.0/184_test/bin/IvpAlert
/omega/2.0.0/184_test/bin/PMmain
/omega/2.0.0/184_test/bin/bulk_edit
/omega/2.0.0/184_test/bin/hedit


The above builds fine, and looks fine from what I can see:
orpm -qip /tmp/buildroot/RPMS/i386/ivp-2.0.0-1.i386.rpm
Name        : ivp                          Relocations: /omega/2.0.0/184_test
Version     : 2.0.0                             Vendor: WesternGeco, Inc. (omegasupport@slb.com)
Release     : 1                             Build Date: Tue Apr  8 07:50:22 2003
Install date: (not installed)               Build Host: hslx3g25.prod.houston.nam.slb.com
Group       : Applications/SeismicProcessing   Source RPM: ivp-2.0.0-1.src.rpm
Size        : 8644297                          License: Commercial
Signature   : (none)
Packager    : Release Management <rmisg@slb.com>
URL         : http://www.westerngeco.com
Summary     : Interactive Velocity Picker (IVP)
Description :
The IVP package is required by InVA (Interactive
Velocity Analysis), and provides some underlying
database access routines, and processing routines.


However, when installed the files end up in "/omega/2.0.0/..." instead of where I told them to go.....

I try installing them using:
orpm -ivh /tmp/buildroot/RPMS/i386/ivp-2.0.0-1.i386.rpm --prefix=/omrel/cs144/omega2_pic

I am using an alternate "dbpath", but that shouldn't matter, should it?  In the above "orpm" is just a wrapper script around rpm which throws the correct "--dbpath".

Can anyone advise me what I've missed?

At present, I'm experimenting with using RPM to package up our commercial product, but not for building it.  We have a whole separate infrastructure for building.....

Thanks.

Cheers,
Dave

Dave Barnett                         x2784

Linux user 60350        http://counter.li.org
User since 10/15/97

Dave Barnett                         x2784

Linux user 60350        http://counter.li.org
User since 10/15/97


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []