[erlang-questions] Impossible to get wxErlang running on Ubuntu/MacOSX x64 platform
caio ariede
caio.ariede@REDACTED
Fri May 21 15:29:42 CEST 2010
Ops, just forgot that I needed to run apt-get update between
add-apt-repository and apt-get install.
Caio Ariede
http://caioariede.com/
On Fri, May 21, 2010 at 10:28 AM, caio ariede <caio.ariede@REDACTED> wrote:
> Just got it to run on Ubuntu machine.
>
> First I removed the current installation, and installed all again:
>
> sudo add-apt-repository ppa:erlang-dev/ppa
> sudo apt-get install erlang libwxgtk2.8-dbg wx2.8-headers
>
> wx:new() ran like a charm :)
>
> Anyone knows how can I get the driver file for the MacOSX platform?
>
> Caio Ariede
> http://caioariede.com/
>
>
> On Fri, May 21, 2010 at 12:18 AM, Elliot Murphy <elliot.murphy@REDACTED> wrote:
>>
>> The Ubuntu dev team disabled wx stuff in Erlang for Ubuntu 10.04 (we may have done this for 9.10 also) because we needed the erlang core on the LiveCD for CouchDB but could not support wx in Ubuntu "main", and did not have time to split the packages so that the wx related stuff could be in universe instead. I am working on fixing this for the next release of Ubuntu. In the meantime another option is installing Erlang from the erlang-dev PPA on Launchpad, which I maintain. That version is unchanged from debian, which means you get it built with debug info and with the wx bindings included.
>>
>> Sorry for the inconvenience, there were some tough choices to get Erlang onto the LiveCD, and while those choices were right for the liveCD they don't make things easy for Erlang developers working on Ubuntu. I hope to improve that. If there are any other quirks with the Erlang builds on Ubuntu, please let me know and I will try to help.
>>
>> --
>> Elliot Murphy
>>
>> On May 19, 2010, at 16:28, caio ariede <caio.ariede@REDACTED> wrote:
>>
>>> I know this. I think that they removed Wx support because it's dependencies.
>>>
>>> I can run wx:module_info() on both systems (mac and linux), but when I run
>>> wx:new() I get the same error:
>>>
>>> =ERROR REPORT==== 11-May-2010::10:01:54 ===
>>> WX ERROR: Could not find suitable 'wxe_driver' for x86_64-pc-linux-gnu in:
>>> /usr/lib/erlang/lib/wx-0.98.2/
>>> priv
>>> ** exception error: {load_driver,"No driver found"}
>>> in function wxe_server:start/0
>>> in call from wx:new/1
>>>
>>> Caio Ariede
>>> http://caioariede.com/
>>>
>>>
>>> On Wed, May 19, 2010 at 2:27 PM, Doug Edmunds (gmail) <dougedmunds@REDACTED
>>>>
>>>> wrote:
>>>
>>>> All official Ubuntu builds of erlang simply have wx disabled. If you
>>>>>
>>>>> want to use it, you have to build your own version of erlang.
>>>>>
>>>>> Ralf
>>>>>
>>>>
>>>> Who makes that decision, and why?
>>>>
>>>> == dae
>>>>
>>>>
>>>> ________________________________________________________________
>>>> erlang-questions (at) erlang.org mailing list.
>>>> See http://www.erlang.org/faq.html
>>>> To unsubscribe; mailto:erlang-questions-unsubscribe@REDACTED
>>>>
>>>>
>
More information about the erlang-questions
mailing list