Follow up on RB12-1<div>/configure --enable-threads --enable-smp-support --enable-kernel-poll --enable-darwin-64bit --without-gd</div><div><br class="webkit-block-placeholder"></div><div>make resulted in  follow error</div>
<div><br class="webkit-block-placeholder"></div><div><div>Undefined symbols:</div><div>  "_main", referenced from:</div><div>      start in crt1.10.5.o</div><div>ld: symbol(s) not found</div><div>collect2: ld returned 1 exit status</div>
<div>make[4]: *** [../priv/bin/i386-apple-darwin9.2.0/obj_init_port] Error 1</div><div>make[3]: *** [opt] Error 2</div><div>make[2]: *** [opt] Error 2</div><div>make[1]: *** [opt] Error 2</div><div>make: *** [libs] Error 2</div>
<div><br class="webkit-block-placeholder"></div><div>art</div><div><br class="webkit-block-placeholder"></div><div><br><br><div class="gmail_quote">2008/2/26  <<a href="mailto:erlang-questions-request@erlang.org">erlang-questions-request@erlang.org</a>>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Send erlang-questions mailing list submissions to<br>
        <a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:erlang-questions-request@erlang.org">erlang-questions-request@erlang.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:erlang-questions-owner@erlang.org">erlang-questions-owner@erlang.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of erlang-questions digest..."<br>
<br>Today's Topics:<br>
<br>
   1. Erlang RB12-1 Mac OS X Leopard problems (<a href="mailto:kg9020@gmail.com">kg9020@gmail.com</a>)<br>
   2. Re: (newbie) How to install Erlang selectively (Thomas Lindgren)<br>
   3. how: to serialize a function? (Tim Fletcher)<br>
   4. Re: how: to serialize a function? (Renato Lucindo)<br>
   5. Re: how: to serialize a function? (Matthew Dempsky)<br>
   6. Re: how: to serialize a function? (Tim Fletcher)<br>
   7. Re: how: to serialize a function? (Matthew Dempsky)<br>
   8. Re: how: to serialize a function? (Renato Lucindo)<br>
   9. Re: Erlounge in San Francisco, 17-22 February (Robert Virding)<br>
  10. Re: Erlang RB12-1 Mac OS X Leopard problems (=Bill.Barnhill)<br>
  11. Erlang Testing frameworks, sorry. (Berlin Brown)<br>
  12. Re: Erlang Testing frameworks, sorry. (Bengt Kleberg)<br>
<br><br>---------- Forwarded message ----------<br>From: <a href="mailto:kg9020@gmail.com">kg9020@gmail.com</a><br>To: <a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>Date: Mon, 25 Feb 2008 12:16:23 -0600<br>
Subject: [erlang-questions] Erlang RB12-1 Mac OS X Leopard problems<br>Hello,<div><br></div><div>Is there anyone else having problems with RB12-1 </div><div>tried several configure options like darwin-universal would not build.</div>
<div><br>
</div><div>When I did get a build to work </div><div>erl c(program) gave file error</div><div><br></div><div>I went back to RB12-0 able to build with 64 bit  smp .. no problems</div><div>same configure on RB12-1 fails.</div>

<div><br></div><div><div>aezbizs-macbook-pro-17:doc a$ sw_vers</div><div>ProductName:<span style="white-space:pre">   </span>Mac OS X</div><div>ProductVersion:<span style="white-space:pre">       </span>10.5.2</div>
<div>BuildVersion:<span style="white-space:pre">  </span>9C31</div><div><br></div><div>aezbizs-macbook-pro-17:doc a$ sw_vers</div><div>ProductName:<span style="white-space:pre"> </span>Mac OS X</div>
<div>ProductVersion:<span style="white-space:pre">        </span>10.5.2</div><div>BuildVersion:<span style="white-space:pre">   </span>9C31</div><div><br>
</div><div>Let me know if more information is needed</div><div><br></div><div>thanks</div><div><br></div><div>art</div><div><br>
</div></div><div><br></div>
<br><br>---------- Forwarded message ----------<br>From: Thomas Lindgren <<a href="mailto:thomasl_erlang@yahoo.com">thomasl_erlang@yahoo.com</a>><br>To: <a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
Date: Mon, 25 Feb 2008 10:34:43 -0800 (PST)<br>Subject: Re: [erlang-questions] (newbie) How to install Erlang selectively<br><br>
--- Dimitry Golubovsky <<a href="mailto:golubovsky@gmail.com">golubovsky@gmail.com</a>> wrote:<br>
<br>
> Hi,<br>
><br>
> I need to perform a customized/selective Erlang<br>
> installation,<br>
> basically only kernel, sasl, stdlib (and whatever<br>
> they require, but<br>
> nothing beyond that).<br>
<br>
Create a 'release' containing only the applications<br>
you need. Have a look at the OTP docs for how to do<br>
this.<br>
<br>
Best,<br>
Thomas<br>
<br>
<br>
<br>
<br>
      ____________________________________________________________________________________<br>
Looking for last minute shopping deals?<br>
Find them fast with Yahoo! Search.  <a href="http://tools.search.yahoo.com/newsearch/category.php?category=shopping" target="_blank">http://tools.search.yahoo.com/newsearch/category.php?category=shopping</a><br>
<br>
<br><br>---------- Forwarded message ----------<br>From: "Tim Fletcher" <<a href="mailto:twoggle@gmail.com">twoggle@gmail.com</a>><br>To: <a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
Date: Mon, 25 Feb 2008 20:35:07 +0000<br>Subject: [erlang-questions] how: to serialize a function?<br>Given an example function like so:<br>
<br>
    > F = fun(X) -> X * X end.<br>
<br>
My first question is: how can I serialize (and de-serialize) that<br>
function completely (i.e. including its args)? I know that it's easy<br>
to send that function between processes/nodes, but how do I replicate<br>
that serialization myself?<br>
<br>
Next, given that I can get a string representation of the function like so:<br>
<br>
    > erlang:fun_to_list(F).<br>
    "#Fun<erl_eval.6.49591080>"<br>
<br>
My second question is: what function do I use to turn that string back<br>
into (a proper "reference" to) the function F?<br>
<br>
<br><br>---------- Forwarded message ----------<br>From: "Renato Lucindo" <<a href="mailto:lucindo@gmail.com">lucindo@gmail.com</a>><br>To: "Tim Fletcher" <<a href="mailto:twoggle@gmail.com">twoggle@gmail.com</a>><br>
Date: Mon, 25 Feb 2008 17:51:38 -0300<br>Subject: Re: [erlang-questions] how: to serialize a function?<br>1> F = fun(X) -> X * X end.<br>
#Fun<erl_eval.6.35866844><br>
2> B = term_to_binary(F).<br>
<<131,112,0,0,2,177,1,193,97,132,164,217,241,72,144,2,77,<br>
 131,144,112,241,112,21,0,0,0,2,0,0,...>><br>
%%% you can send the binary to other processes<br>
3> apply(F, [2]).<br>
4<br>
4> apply(binary_to_term(B), [2]).<br>
4<br>
5><br>
<br>
[]'s<br>
<br>
Lucindo<br>
<br>
On Mon, Feb 25, 2008 at 5:35 PM, Tim Fletcher <<a href="mailto:twoggle@gmail.com">twoggle@gmail.com</a>> wrote:<br>
> Given an example function like so:<br>
><br>
>     > F = fun(X) -> X * X end.<br>
><br>
>  My first question is: how can I serialize (and de-serialize) that<br>
>  function completely (i.e. including its args)? I know that it's easy<br>
>  to send that function between processes/nodes, but how do I replicate<br>
>  that serialization myself?<br>
><br>
>  Next, given that I can get a string representation of the function like so:<br>
><br>
>     > erlang:fun_to_list(F).<br>
>     "#Fun<erl_eval.6.49591080>"<br>
><br>
>  My second question is: what function do I use to turn that string back<br>
>  into (a proper "reference" to) the function F?<br>
>  _______________________________________________<br>
>  erlang-questions mailing list<br>
>  <a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
>  <a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br>
><br>
<br>
<br><br>---------- Forwarded message ----------<br>From: "Matthew Dempsky" <<a href="mailto:matthew@dempsky.org">matthew@dempsky.org</a>><br>To: "Tim Fletcher" <<a href="mailto:twoggle@gmail.com">twoggle@gmail.com</a>><br>
Date: Mon, 25 Feb 2008 13:10:00 -0800<br>Subject: Re: [erlang-questions] how: to serialize a function?<br>On 2/25/08, Tim Fletcher <<a href="mailto:twoggle@gmail.com">twoggle@gmail.com</a>> wrote:<br>
>  Next, given that I can get a string representation of the function like so:<br>
><br>
>     > erlang:fun_to_list(F).<br>
>     "#Fun<erl_eval.6.49591080>"<br>
><br>
>  My second question is: what function do I use to turn that string back<br>
>  into (a proper "reference" to) the function F?<br>
<br>
The string representation of a fun is insufficient to reconstruct the<br>
fun.  It lacks important things like bound variables.  You need to use<br>
term_to_binary and binary_to_term for that.<br>
<br>
<br><br>---------- Forwarded message ----------<br>From: "Tim Fletcher" <<a href="mailto:twoggle@gmail.com">twoggle@gmail.com</a>><br>To: "Matthew Dempsky" <<a href="mailto:matthew@dempsky.org">matthew@dempsky.org</a>><br>
Date: Mon, 25 Feb 2008 21:16:32 +0000<br>Subject: Re: [erlang-questions] how: to serialize a function?<br>> The string representation of a fun is insufficient to reconstruct the<br>
>  fun.  It lacks important things like bound variables.  You need to use<br>
>  term_to_binary and binary_to_term for that.<br>
<br>
Just checking - I wasn't sure whether it was something that could<br>
somehow be "looked up" in the process that defined the function.<br>
<br>
Thanks both.<br>
<br>
<br><br>---------- Forwarded message ----------<br>From: "Matthew Dempsky" <<a href="mailto:matthew@dempsky.org">matthew@dempsky.org</a>><br>To: "Tim Fletcher" <<a href="mailto:twoggle@gmail.com">twoggle@gmail.com</a>><br>
Date: Mon, 25 Feb 2008 13:33:33 -0800<br>Subject: Re: [erlang-questions] how: to serialize a function?<br>On 2/25/08, Tim Fletcher <<a href="mailto:twoggle@gmail.com">twoggle@gmail.com</a>> wrote:<br>
> Just checking - I wasn't sure whether it was something that could<br>
>  somehow be "looked up" in the process that defined the function.<br>
<br>
Nope, two different funs at the same place with different bound<br>
variables will have the same string representation, even though<br>
they're different terms:<br>
<br>
1> A = fun() -> true end.<br>
#Fun<erl_eval.20.67289768><br>
2> B = fun() -> false end.<br>
#Fun<erl_eval.20.67289768><br>
3> A == B.<br>
false<br>
<br>
<br><br>---------- Forwarded message ----------<br>From: "Renato Lucindo" <<a href="mailto:lucindo@gmail.com">lucindo@gmail.com</a>><br>To: "Matthew Dempsky" <<a href="mailto:matthew@dempsky.org">matthew@dempsky.org</a>><br>
Date: Mon, 25 Feb 2008 18:52:18 -0300<br>Subject: Re: [erlang-questions] how: to serialize a function?<br>With some limitations its possible to use something like this:<br>
<br>
Eshell V5.6  (abort with ^G)<br>
1> EvalStr = fun(Str) -><br>
1> {ok, Tokens, _} = erl_scan:string(Str),<br>
1> {ok, [Form]} = erl_parse:parse_exprs(Tokens),<br>
1> {value, Result, _} = erl_eval:expr(Form, erl_eval:new_bindings()),<br>
1> Result<br>
1> end.<br>
#Fun<erl_eval.6.35866844><br>
2> FStr = "fun(X) -> X * X end.".<br>
"fun(X) -> X * X end."<br>
3> F = EvalStr(FStr).<br>
#Fun<erl_eval.6.35866844><br>
4> F(4).<br>
16<br>
5> GStr = "fun(X) -> A = 10, X * A end.".<br>
"fun(X) -> A = 10, X * A end."<br>
6> G = EvalStr(GStr).<br>
#Fun<erl_eval.6.35866844><br>
7> G(4).<br>
40<br>
8><br>
<br>
[]'s<br>
<br>
Lucindo<br>
<br>
On Mon, Feb 25, 2008 at 6:33 PM, Matthew Dempsky <<a href="mailto:matthew@dempsky.org">matthew@dempsky.org</a>> wrote:<br>
> On 2/25/08, Tim Fletcher <<a href="mailto:twoggle@gmail.com">twoggle@gmail.com</a>> wrote:<br>
><br>
> > Just checking - I wasn't sure whether it was something that could<br>
>  >  somehow be "looked up" in the process that defined the function.<br>
><br>
>  Nope, two different funs at the same place with different bound<br>
>  variables will have the same string representation, even though<br>
>  they're different terms:<br>
><br>
>  1> A = fun() -> true end.<br>
>  #Fun<erl_eval.20.67289768><br>
>  2> B = fun() -> false end.<br>
>  #Fun<erl_eval.20.67289768><br>
>  3> A == B.<br>
>  false<br>
><br>
><br>
> _______________________________________________<br>
>  erlang-questions mailing list<br>
>  <a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
>  <a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br>
><br>
<br>
<br><br>---------- Forwarded message ----------<br>From: "Robert Virding" <<a href="mailto:rvirding@gmail.com">rvirding@gmail.com</a>><br>To: "Erlang Questions" <<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a>><br>
Date: Tue, 26 Feb 2008 01:58:55 +0100<br>Subject: Re: [erlang-questions] Erlounge in San Francisco, 17-22 February<br>Thanks for the turn-out last Monday. It was fun to meet other Erlangers in San Francisco, especially, for me, new faces I hadn't met before. I'm back in Sweden now and managed to bring home some real US-flu. :-) Anyway I got the most important things done early on, like meeting the right people.<br>

<br>I have 2 photos from the 21st amendment which I can post if there is interest.<br><br>Thanks again,<br><br>Robert<br><br>
<br><br>---------- Forwarded message ----------<br>From: "=Bill.Barnhill" <<a href="mailto:xmlarchitect@gmail.com">xmlarchitect@gmail.com</a>><br>To: <a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
Date: Tue, 26 Feb 2008 01:44:43 +0000 (UTC)<br>Subject: Re: [erlang-questions] Erlang RB12-1 Mac OS X Leopard problems<br><kg9020 <at> <a href="http://gmail.com" target="_blank">gmail.com</a>> writes:<br>
<br>
><br>
> Is there anyone else having problems with RB12-1<br>
> tried several configure options like darwin-universal would not build.<br>
><br>
<br>
Had this this problem myself, with libgd seemingly the culprit.<br>
<br>
Built successfully by:<br>
<br>
./configure \<br>
     --enable-smp-support \<br>
     --enable-hipe \<br>
     --enable-darwin-64bit \<br>
     --without-gd \<br>
     --enable-kernel-poll<br>
<br>
make<br>
<br>
sudo make install<br>
<br>
<br>
Hope that helps,<br>
=Bill.Barnhill<br>
Communitivity, Inc.<br>
<br>
<br>
<br>
<br>
<br>
<br><br>---------- Forwarded message ----------<br>From: "Berlin Brown" <<a href="mailto:berlin.brown@gmail.com">berlin.brown@gmail.com</a>><br>To: <a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
Date: Tue, 26 Feb 2008 00:20:38 -0500<br>Subject: [erlang-questions] Erlang Testing frameworks, sorry.<br>I have been researching the erlang test frameworks.  I still can't<br>
come to a consensus on what to use.<br>
<br>
I can tell you my background and why I am trying to do and maybe you can help.<br>
<br>
I am used to junit/unit test driven development and ideally would like<br>
a stable system that has some of these properties.  I have also been<br>
looking at the behavior driven systems like ruby's rspec and maybe<br>
combining the unit testing and behavior tests.<br>
<br>
Is there anything similar.  I also, don't want to stray too far from<br>
what is established on the erlang platform ("When in rome?")<br>
<br>
So far, I want to use test server; it is unique but seems very stable<br>
and robust.<br>
<a href="http://www.erlang.org/project/test_server/index.html" target="_blank">http://www.erlang.org/project/test_server/index.html</a><br>
<br>
--<br>
Berlin Brown<br>
<a href="http://botspiritcompany.com/botlist/spring/help/about.html" target="_blank">http://botspiritcompany.com/botlist/spring/help/about.html</a><br>
<br>
<br><br>---------- Forwarded message ----------<br>From: Bengt Kleberg <<a href="mailto:bengt.kleberg@ericsson.com">bengt.kleberg@ericsson.com</a>><br>To: <br>Date: Tue, 26 Feb 2008 08:08:07 +0100<br>Subject: Re: [erlang-questions] Erlang Testing frameworks, sorry.<br>
Greetings,<br>
<br>
You do not mention if you have looked in the FAQ:<br>
<br>
<a href="http://erlang.org/faq/faq.html#AEN785" target="_blank">http://erlang.org/faq/faq.html#AEN785</a><br>
<br>
<br>
In addition to those there is also<br>
<br>
Eunit<br>
(<a href="http://svn.process-one.net/contribs/trunk/eunit/doc/overview-summary.html" target="_blank">http://svn.process-one.net/contribs/trunk/eunit/doc/overview-summary.html</a>)<br>
and<br>
yatsy (<a href="http://code.google.com/p/yatsy/" target="_blank">http://code.google.com/p/yatsy/</a>)<br>
<br>
<br>
bengt<br>
<br>
On Tue, 2008-02-26 at 00:20 -0500, Berlin Brown wrote:<br>
> I have been researching the erlang test frameworks.  I still can't<br>
> come to a consensus on what to use.<br>
><br>
> I can tell you my background and why I am trying to do and maybe you can help.<br>
><br>
> I am used to junit/unit test driven development and ideally would like<br>
> a stable system that has some of these properties.  I have also been<br>
> looking at the behavior driven systems like ruby's rspec and maybe<br>
> combining the unit testing and behavior tests.<br>
><br>
> Is there anything similar.  I also, don't want to stray too far from<br>
> what is established on the erlang platform ("When in rome?")<br>
><br>
> So far, I want to use test server; it is unique but seems very stable<br>
> and robust.<br>
> <a href="http://www.erlang.org/project/test_server/index.html" target="_blank">http://www.erlang.org/project/test_server/index.html</a><br>
><br>
<br>
<br>
<br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br></blockquote></div><br></div></div>