Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 35708 invoked from network); 17 Apr 2011 16:39:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Apr 2011 16:39:46 -0000 Received: (qmail 94675 invoked by uid 500); 17 Apr 2011 16:39:46 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 94603 invoked by uid 500); 17 Apr 2011 16:39:46 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 94594 invoked by uid 99); 17 Apr 2011 16:39:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Apr 2011 16:39:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Apr 2011 16:39:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id DA3B6A5DF4 for ; Sun, 17 Apr 2011 16:39:05 +0000 (UTC) Date: Sun, 17 Apr 2011 16:39:05 +0000 (UTC) From: "Paul Joseph Davis (JIRA)" To: dev@couchdb.apache.org Message-ID: <1545431467.63339.1303058345890.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (COUCHDB-162) improve configure script's ability to find erl_driver.h MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020824#comment-13020824 ] Paul Joseph Davis commented on COUCHDB-162: ------------------------------------------- @Jan As I read the original patch this was just about erl_driver.h which is orthogonal to the lib directories. Before we just guessed by adding four -I paths, this replaces that guess with some variables from calling into Erlang. Did I miss something else? > improve configure script's ability to find erl_driver.h > ------------------------------------------------------- > > Key: COUCHDB-162 > URL: https://issues.apache.org/jira/browse/COUCHDB-162 > Project: CouchDB > Issue Type: Improvement > Components: Build System > Reporter: Adam Kocoloski > Assignee: Noah Slater > Priority: Minor > Attachments: 0001-Automatically-detect-erl_driver.h-location.patch > > > Hi, if I configure and install Erlang with a custom --prefix=/path/to/erlang, CouchDB's configure script finds `erl` and `erlc` from the environment, but it usually needs to be told about the location or erl_driver.h: > ./configure --with-erlang=/path/to/erlang/lib/erlang/usr/include > It'd be nice if the configure script could check that location automatically, e.g. determining /path/to/erlang by stripping bin/erl off the path to `erl` that it found earlier. > Alternatively, I think --with-erlang ought to be modified to take the path to the base of the Erlang installation, rather than the exact path to the location of the folder containing erl_driver.h. Best, > Adam -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira