pcp
[Top] [All Lists]

RedHat 8.0 build

To: pcp@xxxxxxxxxxx
Subject: RedHat 8.0 build
From: "Davis, Todd C" <todd.c.davis@xxxxxxxxx>
Date: Fri, 8 Nov 2002 12:45:37 -0800
Sender: pcp-bounce@xxxxxxxxxxx
I had to make the following changes to build pcp-2.2.2-11 RPMs in RedHat
8.0:

In file ./configure.in add lines
dnl check if the rpmbuild program is available
test -z "$RPMBUILD" && AC_PATH_PROG(RPMBUILD, rpmbuild, /usr/bin/rpmbuild)
rpmbuild=$RPMBUILD
AC_SUBST(rpmbuild)
        before the line
dnl check if the rpm program is available

In file ./src/include/builddefs.in add line
RPMBUILD = @rpmbuild@

In file ./build/rpm/GNUmakefile change
$(RPM) -ba --rcfile rpm-$(RPM_VERSION).rc \
        to
$(RPMBUILD) -ba --rcfile rpm-$(RPM_VERSION).rc \


RedHat has discontinued the rpm -ba option so the rpmbuild utility must be
used. I believe these changes will work for previous versions of RedHat
since rmp -ba was using rpmbuild.


Todd C. Davis
These are my opinions and absolutely not official opinions of Intel Corp.
Telco Systems Development
Intel Corporation, Columbia Design Center
CBA-2, Suite 100
250 Berry Hill Road
Columbia, SC 29210
(803) 461-6108
fax:: (803) 461-6292
mailto:todd.c.davis@xxxxxxxxx
 


<Prev in Thread] Current Thread [Next in Thread>