You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Benoit Chesneau <bc...@gmail.com> on 2011/06/07 12:01:26 UTC

[ann] erica 0.1

Hi all,

Just a quick mail to annonce you the release of erica 0.1 a new tools
to handle couchapp built in Erlang. You can find some informations
here:

http://groups.google.com/group/couchapp/browse_thread/thread/66739caee08342f0

and the code is available on github:

https://github.com/benoitc/erica

Enjoy,

- benoît

Re: [ann] erica 0.1

Posted by Benoit Chesneau <bc...@gmail.com>.
On Tue, Jun 28, 2011 at 4:24 PM, Nils Breunese <N....@vpro.nl> wrote:
> Benoit Chesneau wrote:
>
>> On Tue, Jun 28, 2011 at 2:54 PM, Nils Breunese <N....@vpro.nl> wrote:
>>>
>>
>>> (...)
>>>
>>> But sadly make failes:
>>>
>>> ----
>>> $ cd erica
>>> $ make
>>> Uncaught error in rebar_core: {'EXIT',
>>>                                  {undef,
>>>                                      [{crypto,start,[]},
>>>                                       {rebar,run_aux,1},
>>>                                       {rebar,main,1},
>>>                                       {escript,run,2},
>>>                                       {escript,start,1},
>>>                                       {init,start_it,1},
>>>                                       {init,start_em,1}]}}
>>> make: *** [deps] Error 1
>>> ----
>>>
>>> What is wrong here?
>>
>> Is erlang buit with crypto support ?
>
> Apparently it wasn't. I'm using MacPorts, so I ran 'sudo port install erlang' and this is what I got. I just found out about port variants [0] and apparently there is an ssl variant available for the Erlang port. After running 'sudo port install erlang +ssl' it seems the erica build is now indeed working. Maybe updating the requirements to "Erlang R13B04 (or higher) with crypto support" will help others in the future.
>
> Nils.
>
> [0] http://guide.macports.org/#using.variants
> ------------------------------------------------------------------------
>  VPRO   www.vpro.nl
> ------------------------------------------------------------------------
>
Hi,

Right. I've updated the README based on your advice. Thanks.

- benoît

Re: [ann] erica 0.1

Posted by Nils Breunese <N....@vpro.nl>.
Benoit Chesneau wrote:

> On Tue, Jun 28, 2011 at 2:54 PM, Nils Breunese <N....@vpro.nl> wrote:
>>
>
>> (...)
>>
>> But sadly make failes:
>>
>> ----
>> $ cd erica
>> $ make
>> Uncaught error in rebar_core: {'EXIT',
>>                                  {undef,
>>                                      [{crypto,start,[]},
>>                                       {rebar,run_aux,1},
>>                                       {rebar,main,1},
>>                                       {escript,run,2},
>>                                       {escript,start,1},
>>                                       {init,start_it,1},
>>                                       {init,start_em,1}]}}
>> make: *** [deps] Error 1
>> ----
>>
>> What is wrong here?
>
> Is erlang buit with crypto support ?

Apparently it wasn't. I'm using MacPorts, so I ran 'sudo port install erlang' and this is what I got. I just found out about port variants [0] and apparently there is an ssl variant available for the Erlang port. After running 'sudo port install erlang +ssl' it seems the erica build is now indeed working. Maybe updating the requirements to "Erlang R13B04 (or higher) with crypto support" will help others in the future.

Nils.

[0] http://guide.macports.org/#using.variants
------------------------------------------------------------------------
 VPRO   www.vpro.nl
------------------------------------------------------------------------

Re: [ann] erica 0.1

Posted by Benoit Chesneau <bc...@gmail.com>.
On Tue, Jun 28, 2011 at 2:54 PM, Nils Breunese <N....@vpro.nl> wrote:
> Benoit Chesneau wrote:
>
>> Just a quick mail to annonce you the release of erica 0.1 a new tools
>> to handle couchapp built in Erlang. You can find some informations
>> here:
>>
>> http://groups.google.com/group/couchapp/browse_thread/thread/66739caee08342f0
>>
>> and the code is available on github:
>>
>> https://github.com/benoitc/erica
>
> I wanted to try out erica, but sadly did not succeed in building it. I have gcc and Erlang on my Mac (OS X 10.6.8):
>
> ----
> $ erl +V
> Erlang (SMP,ASYNC_THREADS,HIPE) (BEAM) emulator version 5.8.2
>
> $ gcc -v
> Using built-in specs.
> Target: i686-apple-darwin10
> Configured with: /var/tmp/gcc/gcc-5666.3~6/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1
> Thread model: posix
> gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)
> ----
>
> I cloned the erica repo:
>
> ----
> $ git clone git://github.com/benoitc/erica.git
> Cloning into erica...
> remote: Counting objects: 4860, done.
> remote: Compressing objects: 100% (1615/1615), done.
> remote: Total 4860 (delta 2796), reused 4852 (delta 2789)
> Receiving objects: 100% (4860/4860), 5.53 MiB | 2.45 MiB/s, done.
> Resolving deltas: 100% (2796/2796), done.
> ----
>
> But sadly make failes:
>
> ----
> $ cd erica
> $ make
> Uncaught error in rebar_core: {'EXIT',
>                                  {undef,
>                                      [{crypto,start,[]},
>                                       {rebar,run_aux,1},
>                                       {rebar,main,1},
>                                       {escript,run,2},
>                                       {escript,start,1},
>                                       {init,start_it,1},
>                                       {init,start_em,1}]}}
> make: *** [deps] Error 1
> ----
>
> What is wrong here?
>
> Nils.
> ------------------------------------------------------------------------
>  VPRO   www.vpro.nl
> ------------------------------------------------------------------------
>

Is erlang buit with crypto support ?

- benoît

Re: [ann] erica 0.1

Posted by Nils Breunese <N....@vpro.nl>.
Benoit Chesneau wrote:

> Just a quick mail to annonce you the release of erica 0.1 a new tools
> to handle couchapp built in Erlang. You can find some informations
> here:
>
> http://groups.google.com/group/couchapp/browse_thread/thread/66739caee08342f0
>
> and the code is available on github:
>
> https://github.com/benoitc/erica

I wanted to try out erica, but sadly did not succeed in building it. I have gcc and Erlang on my Mac (OS X 10.6.8):

----
$ erl +V
Erlang (SMP,ASYNC_THREADS,HIPE) (BEAM) emulator version 5.8.2

$ gcc -v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5666.3~6/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)
----

I cloned the erica repo:

----
$ git clone git://github.com/benoitc/erica.git
Cloning into erica...
remote: Counting objects: 4860, done.
remote: Compressing objects: 100% (1615/1615), done.
remote: Total 4860 (delta 2796), reused 4852 (delta 2789)
Receiving objects: 100% (4860/4860), 5.53 MiB | 2.45 MiB/s, done.
Resolving deltas: 100% (2796/2796), done.
----

But sadly make failes:

----
$ cd erica
$ make
Uncaught error in rebar_core: {'EXIT',
                                  {undef,
                                      [{crypto,start,[]},
                                       {rebar,run_aux,1},
                                       {rebar,main,1},
                                       {escript,run,2},
                                       {escript,start,1},
                                       {init,start_it,1},
                                       {init,start_em,1}]}}
make: *** [deps] Error 1
----

What is wrong here?

Nils.
------------------------------------------------------------------------
 VPRO   www.vpro.nl
------------------------------------------------------------------------