pcp
[Top] [All Lists]

Build & Installation Problem

To: Linux Perf CoPilot Majordomo <pcp@xxxxxxxxxxx>
Subject: Build & Installation Problem
From: "Rapacki, George R" <george.r.rapacki@xxxxxxxx>
Date: Wed, 06 Mar 2002 16:10:13 -0700
Sender: owner-pcp@xxxxxxxxxxx
Hi,
I am trying to build and install PCP on a Dell Computer with two Intel686
chips and keep tripping over the same problem, ie no rpm package to install
I would appreciate any advice you can offer.   I've tried the installation
as root and verified that I have autoconf and gmake installed in /usr/bin
but no joy.

Executing ./Makepkgs -verbose results in an error message which is at the
end of the Logs/pcp file that follows.    The Logs/configure file follows
the extract from Logs/pcp and shows an i686-pc-linux as the system
description. The configure file also shows (I think) no /usr/bin/gmake but I
do have it.

Would the rpm package available from the SGI download site work?
How can I make the build work?

Thanks
George R.
 
Logs/pcp last 30 lines:
=== build ===
make[2]: Entering directory `/home/grapacki/pcp/pcp-2.2.2/build'
make[2]: Nothing to be done for `install_pcp'.
make[2]: Leaving directory `/home/grapacki/pcp/pcp-2.2.2/build'
./install-sh -o root -g bin -m 755 -d /usr/share/pcp/doc
./install-sh -o root -g bin -m 644 LSM README INSTALL CHANGELOG VERSION.pcp
COPYING /usr/share/pcpmake[1]: Leaving directory
`/home/grapacki/pcp/pcp-2.2.2'
=== rpm ===
sed -e '/^macrofiles:/s|~/.rpmmacros|'`pwd`'/rpmmacros|' <
/usr/lib/rpm/rpmrc > rpm-4.rc
. ../../VERSION.pcp; \
sed -e"s|@package_name@|$PACKAGE_NAME|g" \
    -e"s|@package_version@|$PACKAGE_VERSION|g" \
    -e"s|@package_release@|$PACKAGE_BUILD|g" \
    -e"s|@package_distribution@|$PACKAGE_DISTRIBUTION|g" \
    -e"s|@pcp_min_required@|$PCP_MIN_REQUIRED|g" \
    -e's|@package_builder@|root@Apollo|g' \
    -e's|@build_root@|/tmp/10075|g' \
    -e'/^BuildRoot: *$/d' \
    -e's|@pcp_var_dir@|/var/pcp|g' \
    -e's|@pcp_share_dir@|/usr/share/pcp|g' \
    -e's|@pcp_log_dir@|/var/log/pcp|g' \
    -e's|@pcp_tmp_dir@|/var/tmp|g' \
    -e's|@make@|/usr/bin/make|g' < pcp.spec.in > pcp.spec
/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'


Logs/configure first 20 lines:
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
Building on i686-pc-linux for i686-pc-linux
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for /usr/bin/gmake... no
checking for GNU make elsewhere... /usr/bin/make
checking how to run the C preprocessor... gcc -E
checking for simple cpp args... /lib/cpp  -traditional -undef
checking for ld... /usr/bin/ld
checking for a BSD compatible install... /usr/bin/install -c
checking for tar... /bin/tar
checking for gzip... /bin/gzip
checking for bzip2... /usr/bin/bzip2
checking for rpm... /bin/rpm

<Prev in Thread] Current Thread [Next in Thread>
  • Build & Installation Problem, Rapacki, George R <=