Git Product home page Git Product logo

Comments (4)

jhs avatar jhs commented on September 24, 2024

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.

timbertson avatar timbertson commented on September 24, 2024

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.

jhs avatar jhs commented on September 24, 2024

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.

timbertson avatar timbertson commented on September 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.