Comments (19)
installing libmozjs185-dev fixed my problem
from couchdb.
That line only applies if you specify
-c
or--with-curl
toconfigure
. Did you?
Nope. I didn't know. But now...
$ ./configure --with-curl
==> configuring couchdb in rel/couchdb.config
You have configured Apache CouchDB, time to relax. Relax.
Nothing changed. Make still fails. Same error.
from couchdb.
HI @NoodleBB, at present we don't support searching for include headers or shared libraries anywhere other than the system default. Our configure
script is not based on autotools
- none of the environment variables you specified will work.
It is possible to update https://github.com/apache/couchdb/blob/master/src/couch/rebar.config.script to make this work specifically for couchjs in a platform-neutral fashion, by changing how we handle the JS_CFLAGS and JS_LDFLAGS variables. We'd be happy to accept a pull request here that doesn't break our current build process.
from couchdb.
Hi @wohali.
at present we don't support searching for include headers or shared libraries anywhere other than the system default.
Not very handy.
It is possible to update https://github.com/apache/couchdb/blob/master/src/couch/rebar.config.script to make this work (...)
I tried it to change it that way...
{unix, freebsd} ->
{"-DHAVE_CURL -I$HOME/include", "-DHAVE_CURL -L$HOME/lib -lmozjs185 -lcurl"};
...but it fails at the same point again.
from couchdb.
Yeah, that won't work, because there is no $ENVVAR expansion with that syntax inside of a rebar.config
file.
If you just want it compiling for now, hard-code the path to your home directory instead of using $HOME.
from couchdb.
If you just want it compiling for now, (...)
Yes: now.
I wanted to demonstrate my bosses and the IT-Department the advantages of CouchDB over Access in an actual use case. - ...and i don't get the the latest version of CouchDB installed.
(...) hard-code the path to your home directory instead of using $HOME.
By the way...
{unix, freebsd} ->
{"-DHAVE_CURL -I/home/syncer/include", "-DHAVE_CURL -L/home/syncer/lib -lmozjs185 -lcurl"};
...also fails. Same point, same error.
from couchdb.
That line only applies if you specify -c
or --with-curl
to configure
. Did you?
from couchdb.
Try -I/home/syncer/include/js
.
from couchdb.
Try
-I/home/syncer/include/js
I did. Build fails. Same error.
from couchdb.
I am having he same problem.... have tried the same things and end up in the same place....
I thought my spidermonkey was installed in the default location
/usr/local/lib/libmozjs185.so and
/usr/local/include/js/
If that is not the default location where do I need to move it to?
from couchdb.
Default location should be under /usr/lib/libmozjs185.so
and /usr/include/js
.
So sorry for the inconvenience here. Pull requests welcome.
from couchdb.
That did the trick... THANKS!
from couchdb.
Added needhelp label, closing for inactivity until somebody sends a PR
from couchdb.
Yeah, I had to download https://launchpad.net/ubuntu/bionic/amd64/libmozjs185-dev/1.8.5-1.0.0+dfsg-7
deb version from here and install on ubuntu 18.
from couchdb.
FYI libmozjs185{-dev} is no longer available in the Ubuntu repos.
It has been deleted and replaced by libmozjs-52.
from couchdb.
@lag-linaro Yes, we will be supplying our own packages for libmozjs185.
from couchdb.
@wohali do you have a time-line for this?
from couchdb.
@lag-linaro already done for 2.1.2
from couchdb.
from couchdb.
Related Issues (20)
- view has the wrong signature HOT 20
- until parameter for change request HOT 9
- Unable to query fields indexed by nouveau HOT 26
- Nouveau Availability HOT 9
- Replication fail due to invalid_json error HOT 2
- installed couchdb package post-installation script subprocess returned error exit status 20 HOT 1
- Response of /_up is Not valid Json on one Node HOT 5
- "apache.jfrog.io" trial expired HOT 2
- "apache.jfrog.io" no more available. Where are the .deb packages now? HOT 2
- Installing from yum repo fails repomd.xml signature could not be verified for couchdb HOT 2
- Couchdb stoped writing to the journald logs HOT 4
- How do I customize port and service name for couchdb during silent installation in Windows HOT 6
- Extent log message about conflicted shards HOT 3
- Requiring support for leading wildcard search for nouveau HOT 3
- Inherited Permissions Not Applied in CouchDB's Windows Installer HOT 8
- No documentation on mem3 options in CouchDB
- Sign out from Admin HOT 5
- Invoking update function when changing document in Fauxton HOT 3
- HTTP call inside validation function in design document? HOT 2
- CouchDB replications cannot be configured with 'heartbeat'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from couchdb.