|
From: Alasdair F. <ala...@sp...> - 2005-12-22 13:15:04
|
I'm trying to build Valgrind 3.1.0 on RedHat 7.2, and it fails in the
"make install" stage - the compile runs fine. I've successfully built
and installed on Redhat 9, and that binary runs fine on anything newer.
I did:
./configure --prefix=/space/tools/
make
make install
Using GCC 2.96 (the default) or GCC 3.2
I've added the relevant parts from the output below.
Anyone got any ideas?
Alasdair
make[3]: Entering directory `/space/downloads/valgrind-3.1.0/cachegrind'
for f in cachegrind-x86-linux ; do \
p=`echo $f | sed -e 's/^[^-]*-//' -e 's/\..*$//'`; \
n=`echo $f | sed -e 's/-[^-]\{1,\}-[^-.]\{1,\}//'`; \
mkdir -p ../.in_place/$p; \
rm -f ../.in_place/$p/$n; \
ln -f -s ../../cachegrind/$f ../.in_place/$p/$n; \
done
make[4]: Entering directory `/space/downloads/valgrind-3.1.0/cachegrind'
test -z "/space/tools//bin" || mkdir -p -- "/space/tools//bin"
/usr/bin/install -c 'cg_annotate' '/space/tools//bin/cg_annotate'
for f in cachegrind-x86-linux ; do \
p=`echo $f | sed -e 's/^[^-]*-//' -e 's/\..*$//'`; \
n=`echo $f | sed -e 's/-[^-]\{1,\}-[^-.]\{1,\}//'`; \
/space/downloads/valgrind-3.1.0/install-sh -d
/space/tools//lib/valgrind/$p; \
/usr/bin/install -c $f /space/tools//lib/valgrind/$p/$n; \
done ; \
for f in ; do \
if expr match $f libcoregrind_ > /dev/null ; then \
pU=`echo $f | sed -e 's/libcoregrind_//g' -e 's/\.a//g'` ; \
pD=`echo $pU | sed -e 's/_/-/g'` ; \
/usr/bin/install -c -m 644 $f
/space/tools//lib/valgrind/$pD/libcoregrind.a ; \
/usr/bin/install -c -m 644 ../VEX/libvex_$pU.a
/space/tools//lib/valgrind/$pD/libvex.a ; \
fi ; \
done
/bin/sh: -c: line 1: syntax error near unexpected token `;'
/bin/sh: -c: line 1: `for f in cachegrind-x86-linux ; do p=`echo $f |
sed -e 's/^[^-]*-//' -e 's/\..*$//'`; n=`echo $f | sed -e
's/-[^-]\{1,\}-[^-.]\{1,\}//'`;
/space/downloads/valgrind-3.1.0/install-sh -d
/space/tools//lib/valgrind/$p; /usr/bin/install -c $f
/space/tools//lib/valgrind/$p/$n; done ; for f in ; do if expr match
$f libcoregrind_ > /dev/null ; then pU=`echo $f | sed -e
's/libcoregrind_//g' -e 's/\.a//g'` ; pD=`echo $pU | sed -e 's/_/-/g'`
; /usr/bin/install -c -m 644 $f
/space/tools//lib/valgrind/$pD/libcoregrind.a ; /usr/bin/install -c -m
644 ../VEX/libvex_$pU.a /space/tools//lib/valgrind/$pD/libvex.a ; fi ;
done'
make[4]: *** [install-exec-local] Error 2
make[4]: Leaving directory `/space/downloads/valgrind-3.1.0/cachegrind'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/space/downloads/valgrind-3.1.0/cachegrind'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/space/downloads/valgrind-3.1.0/cachegrind'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/space/downloads/valgrind-3.1.0'
make: *** [install] Error 2
--
------------------------------------------------------------------------
Alasdair Ferro SpiraTech Ltd,
Product Engineer Carrington Business Park,
mailto:ala...@sp... Manchester,
Work: +44 (0)161 776 4582 M31 4DD, U.K.
http://www.spiratech.com
------------------------------------------------------------------------
This email and any files transmitted with it are confidential and
may be legally privileged. It is intended solely for the use of the
individual or entity to whom it is addressed. If you have received
this in error, please contact the sender and delete the material
immediately. Whilst this email has been swept for viruses, you
should carry out your own virus check before opening any
attachment. SpiraTech Ltd accepts no liability for any loss or
damage which may be caused by software viruses or interception
or interruption of this email.
|