Re: Problem building Erica

429 views
Skip to first unread message

Benoit Chesneau

unread,
Apr 30, 2013, 8:05:57 PM4/30/13
to couc...@googlegroups.com
Which version of erlang? You probably need erlang-crypro package or something like this.

- benoit

On Tuesday, April 30, 2013 11:21:56 PM UTC+2, Tim Lavoie wrote:
Hello,

I am installing Erica on a fairly fresh Linux install (Mint LMDE, based on Debian), with CouchDB already on and running.
Initial git clone of Erica works fine, but fails on the dependencies as follows:
==> Entering directory `/home/tim/dl/CouchDB/erica/deps/oauth'
==> oauth (compile)
src/oauth.erl:16: can't find include lib "public_key/include/public_key.hrl"
src/oauth.erl:201: record 'OTPCertificate' undefined
src/oauth.erl:202: variable 'Cert' is unbound
src/oauth.erl:203: record 'OTPTBSCertificate' undefined
src/oauth.erl:204: variable 'Info' is unbound
src/oauth.erl:205: record 'OTPSubjectPublicKeyInfo' undefined
src/oauth.erl:206: variable 'Key' is unbound
make: *** [compile] Error 1

Any ideas?
Tim

crusoe

unread,
Sep 6, 2013, 1:37:00 AM9/6/13
to couc...@googlegroups.com
I had the same problem on Debian Wheezy. I installed two packages:

- erlang-dev
- erlang-src

Finally I have the following packages:

$ aptitude search erlang |grep ^i
i A erlang-asn1                     - Erlang/OTP modules for ASN.1 support      
i A erlang-base                     - функциональный язык Erlang/OTP (виртуальна
i A erlang-crypto                   - Erlang/OTP cryptographic modules          
i    erlang-dev                      - Erlang/OTP development libraries and heade
i A erlang-eunit                    - Erlang/OTP module for unit testing        
i A erlang-inets                    - Erlang/OTP Internet clients and servers   
i A erlang-mnesia                   - Erlang/OTP distributed relational/object h
i A erlang-os-mon                   - Erlang/OTP operating system monitor       
i A erlang-public-key               - Erlang/OTP public key infrastructure      
i A erlang-runtime-tools            - Erlang/OTP runtime tracing/debugging tools
i A erlang-snmp                     - Erlang/OTP SNMP applications              
i    erlang-src                      - Erlang/OTP applications sources           
i A erlang-ssl                      - Erlang/OTP implementation of SSL          
i A erlang-syntax-tools             - Erlang/OTP modules for handling abstract E
i A erlang-tools                    - Erlang/OTP various tools                  
i A erlang-webtool                  - Erlang/OTP helper for web-based tools     
i A erlang-xmerl                    - Erlang/OTP XML tools    

среда, 1 мая 2013 г., 1:21:56 UTC+4 пользователь Tim Lavoie написал:
Reply all
Reply to author
Forward
0 new messages