Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-162

improve configure script's ability to find erl_driver.h

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.2, 1.3
    • Build System
    • None
    • Regular Contributors Level (Easy to Medium)

    Description

      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

      Attachments

        Activity

          People

            nslater Naomi Slater
            kocolosk Adam Kocoloski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: