Errors building git-1.5.6 from source on Mac OS X 10.4.11
- From
- Ifejinelo Onyiah <nelo.onyiah@googlemail.com>
- Date
- Jun 25, 2008, 13:20 UTC
- Message-ID
- <2eb980790806250620t73ae0ff7heedb65780a66ad00@mail.gmail.com>
Hi,
I have made several attempts to build Git (version 1.5.6) on my Mac OS X 10.4.11 (Tiger) but have had little luck. At the time of my last try (2008-06-25 11:08) there were no pre-built binaries for Tiger on the Git home page. I downloaded the source file from home page and issued the following commands:
% tar -xzf git-1.5.6.tar.gz % cd git-1.5.6 % ./configure --prefix=/Users/io1/Applications/Git/1.5.6 % make
They all run fine but when I issue the make test command, it dies at the following:
% make test
... TRUNCATED OUTPUT ...
*** t2004-checkout-cache-temp.sh *** * FAIL 1: preparation
mkdir asubdir &&
echo tree1path0 >path0 &&
echo tree1path1 >path1 &&
echo tree1path3 >path3 &&
echo tree1path4 >path4 &&
echo tree1asubdir/path5 >asubdir/path5 &&
git update-index --add path0 path1 path3 path4 asubdir/path5 &&
t1=$(git write-tree) &&
rm -f path* .merge_* out .git/index &&
echo tree2path0 >path0 &&
echo tree2path1 >path1 &&
echo tree2path2 >path2 &&
echo tree2path4 >path4 &&
git update-index --add path0 path1 path2 path4 &&
t2=$(git write-tree) &&
rm -f path* .merge_* out .git/index &&
echo tree2path0 >path0 &&
echo tree3path1 >path1 &&
echo tree3path2 >path2 &&
echo tree3path3 >path3 &&
git update-index --add path0 path1 path2 path3 &&
t3=$(git write-tree)
* ok 2: checkout one stage 0 to temporary file
* ok 3: checkout all stage 0 to temporary files
* ok 4: prepare 3-way merge
* FAIL 5: checkout one stage 2 to temporary file rm -f path* .merge_* out &&
git checkout-index --stage=2 --temp -- path1 >out &&
test $(wc -l <out) = 1 &&
test $(cut "-d " -f2 out) = path1 &&
p=$(cut "-d " -f1 out) &&
test -f $p &&
test $(cat $p) = tree2path1
* FAIL 6: checkout all stage 2 to temporary files rm -f path* .merge_* out &&
git checkout-index --all --stage=2 --temp >out &&
test $(wc -l <out) = 3 &&
for f in path1 path2 path4
do
test $(grep $f out | cut "-d " -f2) = $f &&
p=$(grep $f out | cut "-d " -f1) &&
test -f $p &&
test $(cat $p) = tree2$f
done
* ok 7: checkout all stages/one file to nothing
* FAIL 8: checkout all stages/one file to temporary files rm -f path* .merge_* out &&
git checkout-index --stage=all --temp -- path1 >out &&
test $(wc -l <out) = 1 &&
test $(cut "-d " -f2 out) = path1 &&
cut "-d " -f1 out | (read s1 s2 s3 &&
test -f $s1 &&
test -f $s2 &&
test -f $s3 &&
test $(cat $s1) = tree1path1 &&
test $(cat $s2) = tree2path1 &&
test $(cat $s3) = tree3path1)
* FAIL 9: checkout some stages/one file to temporary files rm -f path* .merge_* out &&
git checkout-index --stage=all --temp -- path2 >out &&
test $(wc -l <out) = 1 &&
test $(cut "-d " -f2 out) = path2 &&
cut "-d " -f1 out | (read s1 s2 s3 &&
test $s1 = . &&
test -f $s2 &&
test -f $s3 &&
test $(cat $s2) = tree2path2 &&
test $(cat $s3) = tree3path2)
* FAIL 10: checkout all stages/all files to temporary files rm -f path* .merge_* out &&
git checkout-index -a --stage=all --temp >out &&
test $(wc -l <out) = 5
* ok 11: -- path0: no entry
* FAIL 12: -- path1: all 3 stages test $(grep path1 out | cut "-d " -f2) = path1 &&
grep path1 out | cut "-d " -f1 | (read s1 s2 s3 &&
test -f $s1 &&
test -f $s2 &&
test -f $s3 &&
test $(cat $s1) = tree1path1 &&
test $(cat $s2) = tree2path1 &&
test $(cat $s3) = tree3path1)
* FAIL 13: -- path2: no stage 1, have stage 2 and 3 test $(grep path2 out | cut "-d " -f2) = path2 &&
grep path2 out | cut "-d " -f1 | (read s1 s2 s3 &&
test $s1 = . &&
test -f $s2 &&
test -f $s3 &&
test $(cat $s2) = tree2path2 &&
test $(cat $s3) = tree3path2)
* FAIL 14: -- path3: no stage 2, have stage 1 and 3 test $(grep path3 out | cut "-d " -f2) = path3 &&
grep path3 out | cut "-d " -f1 | (read s1 s2 s3 &&
test -f $s1 &&
test $s2 = . &&
test -f $s3 &&
test $(cat $s1) = tree1path3 &&
test $(cat $s3) = tree3path3)
* FAIL 15: -- path4: no stage 3, have stage 1 and 3 test $(grep path4 out | cut "-d " -f2) = path4 &&
grep path4 out | cut "-d " -f1 | (read s1 s2 s3 &&
test -f $s1 &&
test -f $s2 &&
test $s3 = . &&
test $(cat $s1) = tree1path4 &&
test $(cat $s2) = tree2path4)
* FAIL 16: -- asubdir/path5: no stage 2 and 3 have stage 1 test $(grep asubdir/path5 out | cut "-d " -f2) = asubdir/path5 &&
grep asubdir/path5 out | cut "-d " -f1 | (read s1 s2 s3 &&
test -f $s1 &&
test $s2 = . &&
test $s3 = . &&
test $(cat $s1) = tree1asubdir/path5)
* FAIL 17: checkout --temp within subdir (cd asubdir &&
git checkout-index -a --stage=all >out &&
test $(wc -l <out) = 1 &&
test $(grep path5 out | cut "-d " -f2) = path5 &&
grep path5 out | cut "-d " -f1 | (read s1 s2 s3 &&
test -f ../$s1 &&
test $s2 = . &&
test $s3 = . &&
test $(cat ../$s1) = tree1asubdir/path5)
)
* ok 18: checkout --temp symlink
* failed 12 among 18 test(s)
make[1]: *** [t2004-checkout-cache-temp.sh] Error 1
make: *** [test] Error 2%
I have searched the mailing lists and googled around but have yet to turn up a satisfactory solution. Hence I come to you.
Any assistance will be greatly appreciated.
_____________________________
Ifejinelo Onyiah
Computer Biologist Genome Dynamics and Evolution Group Wellcome Trust Sanger Institute Hinxton Cambridge CB10 1SA UK