This bounced first time due to mailing list problems ..
---------- Forwarded message ----------
Date: Thu, 7 Mar 2002 10:18:40 +1100 (EST)
From: Mark Goodwin <markgw@xxxxxxx>
To: "Rapacki, George R" <george.r.rapacki@xxxxxxxx>
Cc: Linux Perf CoPilot Majordomo <pcp@xxxxxxxxxxx>
Subject: Re: Build & Installation Problem
On Wed, 6 Mar 2002, Rapacki, George R wrote:
> /bin/rpm -ba --rcfile rpm-4.rc \
> --target=i386-pc-linux \
> pcp.spec
> --target=i386-pc-linux: unknown option
> make[1]: *** [pack_pcp] Error 1
> gmake: *** [pack_pcp] Error 2
> gmake: Leaving directory `/home/grapacki/pcp/pcp-2.2.2/build'
This is an rpm v4 problem. In build/rpm/GNUmakefile, remove '='
from --target since rpm v4 doesn't seem to like it.
Here's the patch:
--- build/rpm/GNUmakefile_1.27 Wed Mar 13 06:09:36 2002
+++ build/rpm/GNUmakefile_1.28 Wed Mar 13 06:09:36 2002
@@ -50,7 +50,7 @@
# going to make sure it'll be rebuild next time we come here
pack_pcp : rpm-$(RPM_VERSION).rc $(SPEC)
$(RPM) -ba --rcfile rpm-$(RPM_VERSION).rc \
- --target=$(TARGET_CPU)-$(TARGET_VENDOR)-$(TARGET_OS) \
+ --target $(TARGET_CPU)-$(TARGET_VENDOR)-$(TARGET_OS) \
$(SPEC)
rm -f $(SPEC)
|