I am not sure, but I suppose in R14B04 is already set as a warning (I will
check). Nevertheless, there is a repo for R15B01 already compiled:

https://www.erlang-solutions.com/downloads/download-erlang-otp

I make my installations by myself, but I heard that those packages are
fully compiled (with Java and wx required). I have Ubuntu 12.04 here.

CGS




On Fri, Aug 31, 2012 at 5:35 PM, Mikael Magnusson <mikma...@gmail.com>wrote:

>  On 08/31/2012 05:26 PM, CGS wrote:
>
> BINGO! :D
>
>  I changed ssl_util.erl to use ssl:peercert/1 and {ok, TestCert1} with
> TestCert1 and all the tests are passed now. I attached here the archive
> with the changes for Erlang/OTP R15B01. If you prefer it, I can make a git
> repo for it.
>
>  CGS
>
>
> I prefer a git repo, refer to
> https://github.com/fredrikt/yxa/wiki/Submitting-patches.
>
> In which version was ssl:peercert/1 introduced in Erlang? I think many
> users prefer if Yxa can be built with the Erlang versions included in
> common Linux dists without requiring building Erlang from source. For
> example Ubuntu 12.04 has erlang r14b4.
>
> /Mikael
>
>
>
>
> On Fri, Aug 31, 2012 at 4:58 PM, Mikael Magnusson <mikma...@gmail.com>wrote:
>
>> On 08/31/2012 04:10 PM, CGS wrote:
>>
>>> OK! I managed to compile it with only one warning (error/2 is not used;
>>> I set eldap:parse_error/2 which does the same). I started the tests, but I
>>> got the following error:
>>>
>>>                  ssl_util: failed (test "SSL certificates - 0", line
>>> 419) - Error:
>>> {'EXIT',
>>>     {{badmatch,
>>>          {'Certificate',
>>>
>>  ...
>>
>>       [{ssl_util,test,0,[{file,"ssl_util.erl"},{line,519}]},
>>> {autotest,test_module2,2,[{file,"autotest.erl"},{line,300}]}]}}
>>>
>>> Any idea? Do I need to set a certificate manually?
>>>
>>> CGS
>>>
>>>  Looks like there is a problem with decoding certificates. I guess they
>> have changed the return value from some function.
>>
>> /Mikael
>>
>>
>
>
_______________________________________________
Yxa-devel mailing list
Yxa-devel@lists.su.se
https://lists.su.se/mailman/listinfo/yxa-devel

Reply via email to