
Ian Lynagh wrote:
On Wed, Jan 21, 2009 at 09:36:29PM +0100, Karel Gardas wrote:
cd libffi && /usr/sfw/bin/gtar -zxf libffi*.tar.gz mv libffi/libffi*/ libffi/build mv: cannot access libffi/libffi*/ gmake[1]: *** [libffi/stamp.ffi.configure] Error 2 gmake: *** [all] Error 2
Aha, can you see if the attached patch fixes this please?
Yes, but here is next error: rm -f -rf libffi/build cd libffi && /usr/sfw/bin/gtar -zxf tarball/libffi*.tar.gz mv libffi/libffi-* libffi/build chmod +x libffi/ln cd libffi && patch -p0 < libffi.dllize-3.0.6.patch Looks like a unified context diff. Hunk #5 failed at line 344. Hunk #6 failed at line 165. Hunk #7 failed at line 33. 3 out of 7 hunks failed: saving rejects to build/include/ffi.h.in.rej The next patch looks like a unified context diff. Hunk #2 failed at line 66. Hunk #3 failed at line 26. 2 out of 3 hunks failed: saving rejects to build/include/ffi_common.h.rej done gmake[1]: *** [libffi/stamp.ffi.configure] Error 1 gmake: *** [all] Error 2 Could you be so kind and review my patch attached to http://hackage.haskell.org/trac/ghc/ticket/2957 and commit it to head and your new build system branch? Thanks, Karel