Comments (4)
The problem is that only some components use autotools. In fact, if everything used autotools (or any arbitrary common build system) then build-couchdb would barely have a reason to exist. Also, just because something uses autotools doesn't guarantee the developers cut zero corners and did everything by the book.
However, I have gotten relocatable builds working in the past, at least if a post-install script is permitted to run. If you can find the couchbase single server 1.x packages, check their post install script. That's my code, but I don't recall what license it's under. But anyway it's 20 lines of Bash or so and it simply searches and replaces all those paths once the installed location is known.
from build-couchdb.
Ahh, sadly that sort of thing won't do, at least for my interests - not only do 0install implementations have to be relocatable, they need to be read-only once built (since implementations are cryptographically signed, any modification will break the signature validity).
It would really need to use relative paths (or environment variables, at least as optional overrides for hard-coded paths), but not many people seem to end up with a build system like that :(
from build-couchdb.
Yeah, well we could still look at the script and see if we could just
fix all the bugs that it is papering over. I seem to recall it was
only 4 or so files with this problem. Maybe they could be made to use
relative paths. For example, the main "bin/couchdb" file has an
absolute path, but it could probably be made to use a relative URL.
On Sat, Feb 25, 2012 at 12:06 PM, Tim Cuthbertson
[email protected]
wrote:
Ahh, sadly that sort of thing won't do, at least for my interests - not only do 0install implementations have to be relocatable, they need to be read-only once built (since implementations are cryptographically signed, any modification will break the signature validity).
It would really need to use relative paths (or environment variables, at least as optional overrides for hard-coded paths), but not many people seem to end up with a build system like that :(
Reply to this email directly or view it on GitHub:
#35 (comment)
Iris Couch
from build-couchdb.
Sorry for taking so long to look at this, but I couldn't actually find any such script in the old releases. Don't suppose you have a link anywhere?
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.