[MacPorts] #30089: couchdb failed because erlang missing openssl support

MacPorts noreply at macports.org
Mon Aug 15 23:01:16 PDT 2011


#30089: couchdb failed because erlang missing openssl support
---------------------------------+------------------------------------------
  Reporter:  conradwt@…          |       Owner:  jwa@…           
      Type:  defect              |      Status:  reopened        
  Priority:  Normal              |   Milestone:                  
 Component:  ports               |     Version:  1.9.2           
Resolution:                      |    Keywords:  lion x86_64     
      Port:  couchdb             |  
---------------------------------+------------------------------------------

Comment(by paul@…):

 Yeap, that's the ticket. I manually futzed with the Portfile, and removed
 the check for Erlang's crpyto library:

 {{{
 sudo vi
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_couchdb/couchdb/work
 /apache-couchdb-1.1.0/configure
 }}}

 And just deleted the following code block:

 {{{
 has_crypto=`${ERL} -eval "case application:load(crypto) of ok -> ok; _ ->
 exit(no_crypto) end." -noshell -s init stop`

 if test -n "$has_crypto"; then
     as_fn_error $? "Could not find the Erlang crypto library. Has Erlang
 been compiled with OpenSSL support?" "$LINENO" 5
 fi
 }}}

 Now, this doesn't actually fix the bloody problem, but it bypasses the
 test for the Erlang crypto library, which is included by default in the
 Macports Erlang port, and allows the build to go forward.

-- 
Ticket URL: <https://trac.macports.org/ticket/30089#comment:17>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list