Excerpts from Edward Z. Yang's message of Fri Sep 17 02:40:18 -0400 2010:
> This build error is affecting me too.  The problem appears to
> be that libraries/process/dist-install/build/.depend-v-p-dyn.c_asm has
> Windows style paths "C:", and make doesn't like the extra colon.
> The sed magic in ./rules/build-dependencies.mk doesn't seem to
> be working because it's backslashes not slashes.  But I don't have
> enough sed-fu to fix it...

Here is a terrible, terrible hack that gets the build going again for me.

hunk ./rules/build-dependencies.mk 129
-   $(foreach w,$5,sed -e "1s|\.o|\.$($w_osuf)|" -e "1s|^|$(dir $4)|" -e 
"1s|$1/|$1/$2/build/|" -e "1s|$2/build/$2/build|$2/build|g" -e 
"s|$(TOP)/||g$(CASE_INSENSITIVE_SED)" $3.bit >> $3.tmp &&) true
+   $(foreach w,$5,sed -e "1s|\.o|\.$($w_osuf)|" -e "1s|^|$(dir $4)|" -e 
"1s|$1/|$1/$2/build/|" -e "1s|$2/build/$2/build|$2/build|g" -e "s|\\\\|/|g" -e 
"s|$(TOP)/||g$(CASE_INSENSITIVE_SED)" -e "s|/$$|\\\\|g" $3.bit >> $3.tmp &&) 
true

It basically canonicalizes the path to have slashes only, and manually
fixes the end of line continuation punctuation.

Cheers,
Edward

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to