Thanks. I did eactly the same and it did make RPM without any errros! ..but when i tried installing it, i got and error "package XXX not relocatable" Command used to install the package: rpm -i -vv --prefix /tmp TAOlib-1.0-1.i386.rpm My spec file ------------------------------------ %define ace_base /tmp Prefix: %{ace_base} %files %{ace_base}/libACE.so.5.3a.1 ----------------------------------- - Any other clues, i'm really tired of making it relocatable ... - What command do you use to query if the package is relocatable? Thanks, Deepesh. -----Original Message----- From: rpm-list-bounces@xxxxxxxxxx [mailto:rpm-list-bounces@xxxxxxxxxx]On Behalf Of James Olin Oden Sent: Saturday, August 07, 2004 10:03 PM To: RPM Package Manager Subject: RE: Relocatable package problem On Fri, 6 Aug 2004, Agarwal Deepesh-A19519 wrote: > I do relocatable packages in 4.2, and I just define a macro like: %define ace_base /where/ace/goes/by/default And then do: Prefix: %{ace_base} ... %files %{ace_base}/file1 ... %{ace_base}/fileN Cheers...james _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list