Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing dependencies (e.g. flex) on Ubuntu 13.04 #83

Open
natevw opened this issue Apr 30, 2013 · 3 comments
Open

Missing dependencies (e.g. flex) on Ubuntu 13.04 #83

natevw opened this issue Apr 30, 2013 · 3 comments

Comments

@natevw
Copy link

natevw commented Apr 30, 2013

Recently upgraded the default Amazon quicklaunch "Ubuntu" machine (non-LTS) to whatever release it wanted to be at and had to add a bunch of dependencies before this would build now.

The README says to sudo apt-get install help2man make gcc zlib1g-dev libssl-dev rake help2man texinfo however after doing that I would get messages like:

Build CouchDB commit: 4363966b0d359a3200797bddf78fd784ae96628d
##
## Missing package: flex
##
## Try: sudo apt-get -y install flex
##
rake aborted!
Missing package: flex

Tasks: TOP => default => couchdb:build => couchdb:couchdb => erlang:build => build:os_dependencies => build:ubuntu_dependencies
(See full trace by running task with --trace)

It started getting to work once I'd done the equivalent of sudo apt-get install flex dctrl-tools libsctp-dev libxslt1-dev libcap2-bin in addition to the original list from the README.

@natevw
Copy link
Author

natevw commented Apr 30, 2013

I could submit a pull request on the README if you'd like, but this seems like a strange set of stuff (half of which I have no idea what it is or what needs it) that I'm wondering if there's some one missing parent dependency or something that would be more appropriate instead.

@natevw
Copy link
Author

natevw commented May 1, 2013

See also issue #79, towards the end (at least one can hope 😄) of the build I get:

Can't exec "aclocal": No such file or directory at /home/natevw/build-couchdb/build/share/autoconf-2.62/autoconf/Autom4te/FileUtils.pm line 326.
autoreconf: failed to run aclocal: No such file or directory

Trying again now after doing sudo apt-get install automake autoconf.

@natevw
Copy link
Author

natevw commented May 1, 2013

Success. Executive summary:

To build CouchDB on Ubuntu 13.04 you need the following dependencies:

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

Is this to be expected? If so we should get this into the README (looks like there's an open pull request for at least some of these).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant