Hello all,

When installing ghc, using a locally make binary-dist, some path's in
ghc-4.07 and mkdependHS scripts are given the wrong value.

E.g. mkdependHS after installing:

#! /usr/bin/perl
$bindir='/wing6/home/sietse/ghc/ghc-4.07/bin/i386-unknown-linux';
$libdir='/wing6/home/sietse/ghc/ghc-4.07/lib/i386-unknown-linux';
$libexecdir='/wing6/home/sietse/ghc/ghc-4.07/lib/i386-unknown-linux';
$datadir='/wing6/home/sietse/ghc/ghc-4.07/share';
$SED='/bin/sed';
$TMPDIR='/tmp';
#! /usr/bin/perl
$TOP_PWD="/usr/local";
$INSTALLING="1";
$RAWCPP="gcc -E -undef -traditional";
$HscIfaceFileVersion="5";
$libdir="/usr/local/lib";
$libexecdir="/usr/local/lib";
$datadir="/usr/local/share";
       .....

The make install prepends the first 6 lines (I guess), but the original
values
still are there and being used. I fix this by also changing the last
three lines
shown by hand. This both in ghc-4.07 and mkdependHS.

I'm not familiar with perl, but I guess this is a bug.


   Sietse Achterop

Reply via email to