Comments (11)
Cross reference: @benoitc has managed to get CouchDB running on Raspberry Pi.
from build-couchdb.
by davidoccam » Mon Aug 27, 2012 7:03 pm
quote from talking on #refuge.io about this thread
https://friendpaste.com/6GW1BpWK2UNCAcuCexF1kM at 928 is the cause of problems
configure: error: Your compiler does not follow the C++ specification for temporary object destruction order.
needed for some soap issue in spidermonkey (I think)
Linux raspberrypi 3.2.27+ #66 PREEMPT Fri Aug 24 23:52:42 BST 2012 armv6l GNU/Linux I think armv6l is the issue
this I found instructive
/viewtopic.php?f=36&t=7268&p=156159 by widelord » Wed Jul 18, 2012 11:42 pm
Yes, just libmozjs, I extracted the tar and edited js/src/configure - check here tomorrow and I'll put a link up which contains the edited file. Here's a link to the libmozjs archive that I made changes to - worked for me but no guarantees!
http://raspberrypi.widelord.org.uk/down ... bmozjs.tgz Fri Jul 20, 2012 10:56 am
hmmm - now this is strange.
I've downloaded the new Raspian image and created a new SD card, now using my previously modified libmozjs archive fails once more with the "Your compiler does not follow the C++ specification for temporary object destruction order" error.
Back to the drawing board?
cant we just install packages libmozjs*[-dev] from the apt-repositories? Has soneone tried this? That's what I ended up doing. I installed libmozjs185-dev
I think widelord made the changes to configure and not to configure.in and his working configure gets overwritten in next build causing second failure.
This is a widespread issue and I wish to get to the real cause.
You are nearly there Widelord - I think
from build-couchdb.
Sounds like @snej was able to get an almost-working copy of CouchDB 1.2 installed simply via apt-get
: http://mail-archives.apache.org/mod_mbox/couchdb-user/201207.mbox/%[email protected]%3e
The only problem he ran into was a permissions issue. So maybe a little poking into who/how that package is being maintained would answer some questions?
from build-couchdb.
FYI, I'm running the Raspbian distro. This is almost certainly not the same distro that the OP was trying to install on, as Raspbian was only released in July (a week or so before I did my install.) As Raspbian is now the recommended Linux to install on RPi, the OP's error might be moot by now...
from build-couchdb.
I'm running the newest Raspbian image (2012-10-28-wheezy-raspbian) and have precisely the same issue: "checking for correct temporary object destruction order" fails, and then the build terminates with failure. I need to be able to use the development versions of Couch, not the package version, so the apt-get doesn't work for me; any more ideas what might be causing this issue?
from build-couchdb.
spidemonkey still need a patch?
On Oct 31, 2012 6:59 AM, "ussjoin" [email protected] wrote:
I'm running the newest Raspbian image (2012-10-28-wheezy-raspbian) and
have precisely the same issue: "checking for correct temporary object
destruction order" fails, and then the build terminates with failure. I
need to be able to use the development versions of Couch, not the package
version, so the apt-get doesn't work for me; any more ideas what might be
causing this issue?—
Reply to this email directly or view it on GitHubhttps://github.com//issues/58#issuecomment-9934094.
from build-couchdb.
Yes Spidermonkey will not compile without patch,
I used the following with success
CFLAGS="-O2 -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard"
CXXFLAGS="${CFLAGS}"
CHOST="armv6j-hardfloat-linux-gnueabi"
see http://www.raspberrypi.org/phpBB3/viewtopic.php?t=17983&p=191171
for chapter and verse and benchmarks on various combinations
On 31/10/12 06:21, Benoit Chesneau wrote:
spidemonkey still need a patch?
On Oct 31, 2012 6:59 AM, "ussjoin" [email protected] wrote:I'm running the newest Raspbian image (2012-10-28-wheezy-raspbian) and
have precisely the same issue: "checking for correct temporary object
destruction order" fails, and then the build terminates with failure. I
need to be able to use the development versions of Couch, not the package
version, so the apt-get doesn't work for me; any more ideas what might be
causing this issue?—
Reply to this email directly or view it on GitHubhttps://github.com//issues/58#issuecomment-9934094.—
Reply to this email directly or view it on GitHub #58 (comment).
from build-couchdb.
How do you put in those flags, in the context of a rake task? I tried just setting them locally, and it didn't seem to help.
from build-couchdb.
If I run
$ CFLAGS="-O2 -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard" ./configure
Then I get the same error.
However, if I run
$ ./configure CFLAGS="-O2 -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard"
I get a few errors at the beginning of the configure, but then it completes successfully, and I can run the make.
The make crashes later, however, with a bunch of undefined references.
from build-couchdb.
Any updates on this?
from build-couchdb.
I was having this problem as well. It turns out, in the end, I didn't need to compile from source- SpiderMonkey is installable from the repository via:
sudo apt-get install libmozjs-dev
or
sudo apt-get install libmozjs185-dev
depending on which version you need.
(For me it was the latter, but I was trying to install to get JS support for elinks, not couchDB. This worked to build elinks from source with native JS support, for anyone looking to do the same)
from build-couchdb.
Related Issues (20)
- Depending packages missing on Debian Squeeze HOT 2
- Ubuntu 10.04 failure due to python 2.7 requirement
- [Mac OS X 10.7.5] Autoconf build fails. Blocks 1.3.0 binaries. HOT 2
- Error building jsstr in spidermonkey
- build fails on Ubuntu 12.04: "automake" and "autoconf" needed HOT 1
- build couchdb-1.3.0 fails with python-2.6, passes with python-2.7 ... HOT 6
- rake fails on Debian Wheezy
- Missing dependencies (e.g. flex) on Ubuntu 13.04 HOT 3
- Rake fails on OS X HOT 1
- build fails on Fedora 19
- git submodule update command fails on Ubuntu 12.04
- automake problem? HOT 10
- Build won't start — {app_would_not_start,asn1} HOT 8
- Missing package: libxslt1-dev (i have it) HOT 1
- Build fails on OS X Mavericks 10.9 due to lack of ODBC HOT 4
- autom4te: not found HOT 1
- How to copy documents (including attachments) from couchdb backup to couchdb?
- rake fails on openSUSE 12.3 HOT 1
- help2man required HOT 3
- Missing amhello-1.0
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 build-couchdb.