[erlang-bugs] Re: [erlang-questions] wx fails to build on Snow Leopard

Tuncer Ayaz <>
Mon Sep 7 11:24:12 CEST 2009


On Mon, Sep 7, 2009 at 8:00 AM, Dan Gudmundsson<> wrote:
> I don't think wxWidgets 2.8.* works in 64-bit, it uses the old gui api.
> They are working on fixing that in wxWidgets 2.9 and 3.0.

http://wiki.wxwidgets.org/Development:_wxMac#Building_under_10.6_Snow_Leopard

I'll try the WX_2_9_0_BRANCH branch and/or trunk.

> But the problem remains, for me the emulator crashes with a SIGTRAP when
> loading the driver.
>
> /Dan
>
> Tuncer Ayaz wrote:
>>
>> On Wed, Sep 2, 2009 at 5:10 PM, Steve Vinoski<> wrote:
>>>
>>> I'm seeing that the wx part of the Erlang/OTP build doesn't work on OS X
>>> 10.6 (Snow Leopard). I don't use wx so it's no big deal to me, but I'm
>>> seeing the g++ compiler appear to hang when compiling
>>> lib/wx/c_src/gen/wxe_funcs.cpp. I let it run quite awhile and it never
>>> got
>>> past that point, but my laptop fans were running full blast so I wonder
>>> if
>>> the compilation got stuck in an infinite loop. If I manually edit wx out
>>> of
>>> the lib/Makefile, then everything builds and seems to work as normal.
>>> There
>>> are also lots of compilation warnings in the wx area due to deprecation
>>> of
>>> some APIs being used and due to string constants being passed as char*.
>>
>> The build continues once that one long compile step has finished.
>> What was "quite a while"? 10 minutes? 30 minutes?
>>
>> Can you try to build again and wait a little longer?
>>
>> This does not mean that the wx driver now automatically works on OSX:
>>  "WX Failed loading "wxe_driver"@[...]".
>> Also, by default on OSX.6 it's -m64, so:
>>  wxe_driver.so: Mach-O 64-bit bundle x86_64.).
>>
>> The wx driver not easily working is an issue specific to Darwin,
>> there are no problems like that on linux.
>>
>> For the record, Snow Leopard seems to bundle wx-2.8.8 and the
>> on 10.5 it also failed with 2.8.10. That's why I didn't try to use
>> a 2.8.10 install of wxMac for the driver, yet.
>>
>> ________________________________________________________________
>> erlang-bugs mailing list. See http://www.erlang.org/faq.html
>> erlang-bugs (at) erlang.org
>>
>>
>


More information about the erlang-questions mailing list