[MacPorts] #26633: couchdb cannot be installed when prefix is not /opt/local
MacPorts
noreply at macports.org
Sat Sep 25 18:52:02 PDT 2010
#26633: couchdb cannot be installed when prefix is not /opt/local
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: jwa@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.1
Keywords: | Port: couchdb
-------------------------------------+--------------------------------------
couchdb cannot be installed when prefix is not /opt/local. Here's what I
get on a Leopard machine with prefix /mp:
{{{
:info:configure checking for erl... /mp/bin/erl
:info:configure checking for erlc... /mp/bin/erlc
:info:configure checking erl_driver.h usability... no
:info:configure checking erl_driver.h presence... no
:info:configure checking for erl_driver.h... no
:info:configure configure: error: Could not find the `erl_driver.h'
header.
:info:configure
:info:configure Are the Erlang headers installed? Use the `--with-erlang'
option to specify the
:info:configure path to the Erlang include directory.
}}}
"/opt/local" is hardcoded in several places in the source code:
{{{
$ cd $(port dir couchdb)
$ sudo port extract
Password:
---> Computing dependencies for couchdb
---> Fetching couchdb
---> Verifying checksum(s) for couchdb
---> Extracting couchdb
$ grep /opt/local -r work/
work/apache-couchdb-1.0.1/build-aux/ltmain.sh::
${SED="/opt/local/bin/gsed"}
work/apache-couchdb-1.0.1/configure: ERLANG_FLAGS="$ERLANG_FLAGS
-I/opt/local/lib/erlang/usr/include"
work/apache-couchdb-1.0.1/configure: JS_FLAGS="$JS_FLAGS
-I/opt/local/include"
work/apache-couchdb-1.0.1/configure: JS_FLAGS="$JS_FLAGS
-I/opt/local/include/js"
work/apache-couchdb-1.0.1/configure:LIB_FLAGS="$JS_LIB_FLAGS
-L/usr/local/lib -L/opt/local/lib"
work/apache-couchdb-1.0.1/configure.ac: ERLANG_FLAGS="$ERLANG_FLAGS
-I/opt/local/lib/erlang/usr/include"
work/apache-couchdb-1.0.1/configure.ac: JS_FLAGS="$JS_FLAGS
-I/opt/local/include"
work/apache-couchdb-1.0.1/configure.ac: JS_FLAGS="$JS_FLAGS
-I/opt/local/include/js"
work/apache-couchdb-1.0.1/configure.ac:LIB_FLAGS="$JS_LIB_FLAGS
-L/usr/local/lib -L/opt/local/lib"
work/apache-couchdb-1.0.1/etc/launchd/org.apache.couchdb.plist.tpl.in:
<string>/opt/local/lib:$DYLD_LIBRARY_PATH</string>
}}}
--
Ticket URL: <https://trac.macports.org/ticket/26633>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list