[
https://issues.apache.org/jira/browse/COUCHDB-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12592914#action_12592914
]
Robert Rees commented on COUCHDB-47:
------------------------------------
The problem is this line:
configure:19518: gcc -c -g -O2 -L/usr/local/lib -L/opt/local/lib
-L/Users/rrees/Documents/dev/js/src/Darwin_DBG.OBJ/
-I${exec_prefix}/lib/erlang/usr/include -I/usr/lib/erlang/usr/include
-I/usr/local/lib/erlang/usr/include -I/opt/local/lib/erlang/usr/include
-I/Users/rrees/Documents/dev/js/src/ -DXP_UNIX conftest.c >&5
In file included from /Users/rrees/Documents/dev/js/src/jspubtd.h:45,
from /Users/rrees/Documents/dev/js/src/jsapi.h:47,
from conftest.c:56:
/Users/rrees/Documents/dev/js/src/jstypes.h:245:71: error: jsautocfg.h: No such
file or directory
Ignoring my local stuff the jsautocfg.h is under the Darwin_DBG.OBJ directory
not under js/src. Both directories need to be -I on the cc line.
> --with-js-lib configure flag does not work
> ------------------------------------------
>
> Key: COUCHDB-47
> URL: https://issues.apache.org/jira/browse/COUCHDB-47
> Project: CouchDB
> Issue Type: Bug
> Components: Build System
> Environment: OSX Leopard, Spidermonkey 1.7, Erlang 5.6, CouchDB
> r650729
> Reporter: Robert Rees
>
> When trying to build against my source distribution of Spidermonkey the build
> script acknowledges the existence of libjs but gives an error message that
> the header files (jsapi.h) is not present. This seems to be due to an error
> in the test file the build script constructs to test the include of the
> header file.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.