[erlang-bugs] erts configure fails on 64-bit Darwin

Tuncer Ayaz tuncer.ayaz@REDACTED
Tue Jun 8 23:02:29 CEST 2010


On Tue, Jun 8, 2010 at 10:09 PM, Tim Spriggs <tims@REDACTED> wrote:
> I am trying to build a 64-bit version of Erlang (R13B04) on Snow
> Leopard but the erts configure stage fails. The following patch fixes

What is the error?
What did you pass to ./configure? --enable-darwin-64bit?

> the configure stage:
>
> --- configure.in.orig   2010-06-07 13:52:09.000000000 -0700
> +++ configure.in        2010-06-07 13:52:56.000000000 -0700
> @@ -340,13 +340,13 @@
>       case $host_os in
>               darwin*)
>                       case $CFLAGS in
>                       *-m32*)
>                               ;;
>                       *)
> -                               CFLAGS="-m32 $CFLAGS"
> +                               # CFLAGS="-m32 $CFLAGS"
>                               ;;
>                       esac
>                       ;;
>               *)
>                       if test X${enable_m32_build} = Xyes;
>                       then
>
>
> but I am worried that there is some reason that somebody forced 32-bit
> on Darwin. Any sage advice?

Most likely reason is that wxErlang won't work with wxMac 2.8 (bundled
version in Darwin 10.6). Only the unreleased wxWidgets development
branch for 2.9 has Cocoa and 64-bit support.

Have you tried ./configure with CFLAGS env-var set to "-m32" instead
of modifying configure.in?


More information about the erlang-bugs mailing list