incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nils Breunese (JIRA)" <>
Subject [jira] Commented: (COUCHDB-162) improve configure script's ability to find erl_driver.h
Date Wed, 01 Apr 2009 15:19:13 GMT


Nils Breunese commented on COUCHDB-162:

I ran into ./configure not being able to find erl_driver.h on Red Hat Enterprise Linux 5.3
x86_64 (erlang package installed from the EPEL repository). I thought maybe it was because
of the 64-bitness of this system, but maybe it was because of this issue.

Anyway, this worked:

./configure --with-erlang=/usr/lib64/erlang/usr/include

> improve configure script's ability to find erl_driver.h
> -------------------------------------------------------
>                 Key: COUCHDB-162
>                 URL:
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Build System
>            Reporter: Adam Kocoloski
>            Assignee: Noah Slater
>            Priority: Minor
> 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.
You can reply to this email to add a comment to the issue online.

View raw message