Erlang/OTP Forums

Author Message

<  Erlang questions mailing list  ~  Problem with debugger:start()

Guest
Posted: Sat Sep 03, 2011 7:54 pm Reply with quote
Guest
Hello,

I'm currently going through the tutorials from Joe Armstrong's book "Programming Erlang" and was interested to use the erlang debugging tool.
I tried running debugger:start but it's complaining about a driver my Mac OSX Snow Leopard doesn't have. Please see statements below.


Erlang R14B01 (erts-5.8.2) [source] [64-bit] [smp:4:4] [rq:4] [async-threads:0] [hipe] [kernel-poll:false]

Eshell V5.8.2 (abort with ^G)
1> debugger:start().

=ERROR REPORT==== 3-Sep-2011::15:18:58 ===
ERROR: Could not find 'wxe_driver.so' in: /opt/local/lib/erlang/lib/wx-0.98.8/priv
{ok,<0.35.0>}


How do I install this wxe_driver.so driver? Haven't found anything in google with this issue. I would appreciate your comments.

Thanks.

Rom

_______________________________________________
erlang-questions mailing list
erlang-questions@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions
Post received from mailinglist
Guest
Posted: Sat Sep 03, 2011 9:34 pm Reply with quote
Guest
wx widgets are not supported for os x 64 bit, so if you want any wx window applications on os x you have to run a 32 bit erlang VM

Lukas

On Sat, Sep 3, 2011 at 9:54 PM, Rommel Garcia <groups.erlang@gmail.com (groups.erlang@gmail.com)> wrote:
Quote:
Hello,

I'm currently going through the tutorials from Joe Armstrong's book "Programming Erlang" and was interested to use the erlang debugging tool.
I tried running debugger:start but it's complaining about a driver my Mac OSX Snow Leopard doesn't have. Please see statements below.


Erlang R14B01 (erts-5.8.2) [source] [64-bit] [smp:4:4] [rq:4] [async-threads:0] [hipe] [kernel-poll:false]

Eshell V5.8.2
Guest
Posted: Sun Sep 04, 2011 6:05 pm Reply with quote
Guest
Thanks Lukas. Do you know if macports will be able to install a 32bit erlang vm considering my machine already has one which is 64bit?

Rommel

On Sep 3, 2011, at 5:34 PM, Lukas Larsson wrote:
Quote:
wx widgets are not supported for os x 64 bit, so if you want any wx window applications on os x you have to run a 32 bit erlang VM

Lukas

On Sat, Sep 3, 2011 at 9:54 PM, Rommel Garcia <groups.erlang@gmail.com (groups.erlang@gmail.com)> wrote:
Quote:
Hello,

I'm currently going through the tutorials from Joe Armstrong's book "Programming Erlang" and was interested to use the erlang debugging tool.
I tried running debugger:start but it's complaining about a driver my Mac OSX Snow Leopard doesn't have. Please see statements below.


Erlang R14B01 (erts-5.8.2) [source] [64-bit] [smp:4:4] [rq:4] [async-threads:0] [hipe] [kernel-poll:false]

Eshell V5.8.2
Guest
Posted: Sun Sep 04, 2011 6:26 pm Reply with quote
Guest
MacPorts defaults to 64-bit when the machine can support it. Unfortunately, it does not seem possible to install a 32-bit VM in a 64-bit MacPorts install. Instead, you have to clear out your entire MacPorts install, and set the 32-bit architecture as the default before you install packages.


I am trying to figure out a way around this issue. That does not require port removal. It might be enough to just adjust the build settings in the Portfile.


If that works, I'll add a variant case and commit it.


-Brent

Sent from my iPhone

On Sep 4, 2011, at 11:05 AM, Rommel Garcia <groups.erlang@gmail.com (groups.erlang@gmail.com)> wrote:



Quote:
Thanks Lukas. Do you know if macports will be able to install a 32bit erlang vm considering my machine already has one which is 64bit?

Rommel

On Sep 3, 2011, at 5:34 PM, Lukas Larsson wrote:
Quote:
wx widgets are not supported for os x 64 bit, so if you want any wx window applications on os x you have to run a 32 bit erlang VM

Lukas

On Sat, Sep 3, 2011 at 9:54 PM, Rommel Garcia <[url=mailto:groups.erlang@gmail.com]groups.erlang@gmail.com (groups.erlang@gmail.com)[/url]> wrote:
Quote:
Hello,

I'm currently going through the tutorials from Joe Armstrong's book "Programming Erlang" and was interested to use the erlang debugging tool.
I tried running debugger:start but it's complaining about a driver my Mac OSX Snow Leopard doesn't have. Please see statements below.


Erlang R14B01 (erts-5.8.2) [source] [64-bit] [smp:4:4] [rq:4] [async-threads:0] [hipe] [kernel-poll:false]

Eshell V5.8.2
Guest
Posted: Mon Sep 05, 2011 1:42 am Reply with quote
Guest
Thanks Brent! Please let me know once it's ready for download... Appreciate all the help guys!

Rommel

On Sep 4, 2011, at 2:26 PM, Brent Fulgham wrote:
Quote:
MacPorts defaults to 64-bit when the machine can support it. Unfortunately, it does not seem possible to install a 32-bit VM in a 64-bit MacPorts install. Instead, you have to clear out your entire MacPorts install, and set the 32-bit architecture as the default before you install packages.


I am trying to figure out a way around this issue. That does not require port removal. It might be enough to just adjust the build settings in the Portfile.


If that works, I'll add a variant case and commit it.


-Brent

Sent from my iPhone

On Sep 4, 2011, at 11:05 AM, Rommel Garcia <groups.erlang@gmail.com (groups.erlang@gmail.com)> wrote:



Quote:
Thanks Lukas. Do you know if macports will be able to install a 32bit erlang vm considering my machine already has one which is 64bit?

Rommel

On Sep 3, 2011, at 5:34 PM, Lukas Larsson wrote:
Quote:
wx widgets are not supported for os x 64 bit, so if you want any wx window applications on os x you have to run a 32 bit erlang VM

Lukas

On Sat, Sep 3, 2011 at 9:54 PM, Rommel Garcia < (groups.erlang@gmail.com)groups.erlang@gmail.com (groups.erlang@gmail.com)> wrote:
Quote:
Hello,

I'm currently going through the tutorials from Joe Armstrong's book "Programming Erlang" and was interested to use the erlang debugging tool.
I tried running debugger:start but it's complaining about a driver my Mac OSX Snow Leopard doesn't have. Please see statements below.


Erlang R14B01 (erts-5.8.2) [source] [64-bit] [smp:4:4] [rq:4] [async-threads:0] [hipe] [kernel-poll:false]

Eshell V5.8.2
Guest
Posted: Tue Sep 06, 2011 6:08 pm Reply with quote
Guest
Hi Rommel,

On Sun, Sep 4, 2011 at 6:42 PM, Rommel Garcia <groups.erlang@gmail.com> wrote:
> Thanks Brent! Please let me know once it's ready for download... Appreciate
> all the help guys!

I've checked in a few updates to the erlang port to help with this problem.

1. Please be sure your libxml2 and libxslt libraries are built with
the "+universal" variant. The Portfile syntax does not provide a
mechanism to ensure that dependencies are built with specific variant
state, so you must do this manually.

2. If you build erlang with +wxwidgets, you will get a 32-bit build of
the VM. This allows you to run the wx examples.

3. I also updated ESDL, so you can play with that as well. It also
requires a 32-bit build because it relies on wx for its OpenGL
support.

I tried to get Wings to build as well, but am running into a problem
with the erl_steal_main_thread symbol, which is provided by the Erlang
VM, but cannot be found by Wings for some reason. Sad

Hopefully this will get you back to studying with the Armstrong book Smile

-Brent
_______________________________________________
erlang-questions mailing list
erlang-questions@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions
Post received from mailinglist
wuji
Posted: Mon Aug 13, 2012 8:31 am Reply with quote
User Joined: 10 Aug 2012 Posts: 654
Bent and Brewer in the day leading up to the the [h3]jordan 6 olympic 2012[/h3] the attack.The previous day, Brewer's parents reported Bent to the
for allegedly attempting to steal a family bicycle. Brewer said said imitation designer *beep* said he stayed home from school on Oct. 12 fearing
retaliation by Bent, who he testified Thursday was targeting him him knockoff designer *beep* him because he refused to buy drug paraphernalia from Bent.Denver
17, who is serving eight years in prison for pouring pouring jordan 6 olympic pouring the alcohol on Brewer, testified Wednesday that Bent offered
$5 to do so, Schneider reminded jurors. Other witnesses testified testified cheap Ralph Lauren testified that Bent had offered money to anyone who would
up Brewer.Bent's attorneys rested their case Monday morning without calling calling [h4]cheap replica *beep*[/h4] calling a single witness and told the court that Bent
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum