wx fails to build on Snow Leopard

View: New views
5 Messages — Rating Filter:   Alert me  

wx fails to build on Snow Leopard

by Steve Vinoski-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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*.
--steve

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

by Tuncer Ayaz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Sep 2, 2009 at 5:10 PM, Steve Vinoski<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


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

by Dan Gudmundsson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.

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<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
>
>

________________________________________________________________
erlang-bugs mailing list. See http://www.erlang.org/faq.html
erlang-bugs (at) erlang.org


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

by Tuncer Ayaz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Sep 7, 2009 at 8:00 AM, Dan Gudmundsson<dgud@...> 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<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
>>
>>
>

________________________________________________________________
erlang-bugs mailing list. See http://www.erlang.org/faq.html
erlang-bugs (at) erlang.org


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

by Tuncer Ayaz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Sep 7, 2009 at 11:24 AM, Tuncer Ayaz<tuncer.ayaz@...> wrote:
> On Mon, Sep 7, 2009 at 8:00 AM, Dan Gudmundsson<dgud@...> 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.

fyi,

2.9 branch didn't build completely. trunk built but it looks like
gen/wxe_funcs.cpp would need to be adapted to changes in
wx 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<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
>>>
>>>
>>
>

________________________________________________________________
erlang-bugs mailing list. See http://www.erlang.org/faq.html
erlang-bugs (at) erlang.org