According to the libffi docs this relates is a known bug in Mac OS X shell. I believe Andrew has been playing with using the ctypes libffi or something, perhaps that doesn't have the same problems?

Tom


Malcolm Wallace wrote:
Brent Fulgham <[EMAIL PROTECTED]> wrote:

Attempting to build with gcc 4.0 on OS X fails with the following errors. Has anyone else successfully built on OS X?

Not yet.  The problem you encountered seems to be the case-insensitivity
of the MacOS file system.  obj/FFI.o is overwriting obj/ffi.o.

But my build does not even get that far.  I have a couple of different
errors, earlier in the build, when first trying to compile the libffi
component:

    make -C libffi -f ConfigAndMake.makefile
    ln -s libffi/config-ml.in ../config-ml.in  # HACK for broken configure
    sh ./configure
    checking build system type... powerpc-apple-darwin8.6.0
    [...output of configure...]
    make
    make "AR_FLAGS=" "CC_FOR_BUILD=" "CFLAGS=-g -O2" "CXXFLAGS=" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "JC1FLAGS=" "LDFLAGS=" 
"LIBCFLAGS=" "LIBCFLAGS_FOR_TARGET=" "MAKE=make" "MAKEINFO=/bin/sh /Users/malcolm/Haskell/yhc-devel/src/runtime/libffi/missing --run makeinfo " "PICFLAG=" "PICFLAG_FOR_TARGET=" "RUNTESTFLAGS=" "SHELL=/bin/sh" "exec_prefix=/usr/local" "infodir=/usr/local/info" "libdir=/usr/local/lib" 
"prefix=/usr/local" "AR=ar" "AS=as" "CC=gcc" "CXX=g++" "LD=ld" "NM=" "RANLIB=ranlib" "DESTDIR=" all-recursive
    Making all in include
    cat: ../../gcc/BASE-VER: No such file or directory
    make[5]: Nothing to be done for `all'.
    Making all in testsuite
    make[5]: Nothing to be done for `all'.
    make[5]: execvp: 
/Users/malcolm/Haskell/yhc-devel/src/runtime/libffi/install-sh: Permission 
denied
    make[5]: *** [src/.dirstamp] Error 127
    make[4]: *** [all-recursive] Error 1
    make[3]: *** [all] Error 2
    make[2]: *** [make] Error 2
    make[1]: *** [libffi] Error 2
    make: *** [runtime] Error 2

Regards,
    Malcolm
_______________________________________________
Yhc mailing list
[email protected]
http://www.haskell.org//mailman/listinfo/yhc

_______________________________________________
Yhc mailing list
[email protected]
http://www.haskell.org//mailman/listinfo/yhc

Reply via email to