Git Product home page Git Product logo

Comments (8)

natevw avatar natevw commented on July 26, 2024

Building with rake otp_keep="*" does not help.

from build-couchdb.

natevw avatar natevw commented on July 26, 2024

I did a fresh (i.e. clean) checkout of build-couchdb to a new directory.

sudo apt-get install help2man make gcc zlib1g-dev libssl-dev rake help2man texinfo flex dctrl-tools libsctp-dev libxslt1-dev libcap2-bin automake autoconf
git clone git://github.com/iriscouch/build-couchdb
cd build-couchdb
git submodule init
git submodule update
rake

Does produce a working CouchDB 1.4.0 build for me on Ubuntu. I suspect the problem was related to rebuilding within the same directory as the earlier 1.1–era compile, maybe something stale was prevent a proper build.

from build-couchdb.

 avatar commented on July 26, 2024

FWIW, I ran in to this issue when I was mistakenly throwing away the asn1 erlang module; it was added because one of the other modules in erlang R1601 now depends on it: https://git-wip-us.apache.org/repos/asf?p=couchdb.git;a=commitdiff;h=6170654;hp=92c33a7ee7d753ace9e1ea764fd74a329e6ab3fb

from build-couchdb.

natevw avatar natevw commented on July 26, 2024

Yeah, not sure why the otp_keep="*" option didn't help, but I'm sure not going to try rebuild CouchDB overtop the folder that is actively hosting half my websites again :-P

from build-couchdb.

 avatar commented on July 26, 2024

I'm not using build-couchdb, but I had to add the asn1, syntax_tools, and xmerl modules to my whitelist in order to update from 1.3.1 to 1.4. The full list I'm using is:

asn1-* crypto-* compiler-* inets-* kernel-* os_mon-* public_key-* sasl-* ssl-* stdlib-* tools-* syntax_tools-* xmerl-*

Probably not too helpful to you, but maybe useful for someone else who stumbles upon the issue.

from build-couchdb.

likwid avatar likwid commented on July 26, 2024

@browndav What does whitelisting mean? I am running into this exact problem

from build-couchdb.

 avatar commented on July 26, 2024

I have a custom script that deletes all of the erlang modules except for those required by CouchDB (what I'm referring to as "whitelisting" modules). I'm able to get CouchDB to start with the following modules (all others deleted):

asn1-* crypto-* compiler-* inets-* kernel-* os_mon-* public_key-* sasl-* ssl-* stdlib-* tools-* syntax_tools-* xmerl-*

Sorry, I haven't used build-couchdb recently, but may give it a shot in the next day or two.

from build-couchdb.

jhs avatar jhs commented on July 26, 2024

Yes, build-couchdb does that itself too. I thought asn1 is needed for newer
CouchDB but I could be wrong.

The code to do that is here
https://github.com/iriscouch/build-couchdb/blob/master/tasks/erlang.rake#L10-L18

On Wed, Oct 16, 2013 at 7:10 PM, David Brown [email protected]:

I have a custom script that deletes all of the erlang modules except for
those required by CouchDB (what I'm referring to as "whitelisting"
modules). I'm able to get CouchDB to start with the following modules (all
others deleted):

asn1-* crypto-* compiler-* inets-* kernel-* os_mon-* public_key-* sasl-*
ssl-* stdlib-* tools-* syntax_tools-* xmerl-*

Reply to this email directly or view it on GitHubhttps://github.com//issues/92#issuecomment-26470122
.

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.