Comments (10)
This works on Ubuntu 14.04:
git clone git://github.com/jhs/build-couchdb.git
cd build-couchdb
git submodule init
git submodule update
echo '@setfilename autoconf.info' > dependencies/autoconf-2.69/doc/autoconf.texi
echo '@setfilename automake.info' > dependencies/automake-1.11.2/doc/automake.texi
( cd dependencies/autoconf-archive; ed cfg.mk <<< $'g/@diff/d\nw'; git commit -a -m 'fix build' )
git commit -a -m 'fix build'
rake
from build-couchdb.
@davedoesdev's workaround worked for me, though I had to do a make distclean
in the autoconf-2.69 dep folder first.
from build-couchdb.
Getting the same error:
Making all in doc
make[2]: Entering directory `/tmp/autoconf-2.69_build20140729-10315-1xlzdi7/doc'
Updating /home/natevw/bc16/dependencies/autoconf-2.69/doc/version.texi
restore=: && backupdir=".am$$" && \
am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd /home/natevw/bc16/dependencies/autoconf-2.69/doc && \
rm -rf $backupdir && mkdir $backupdir && \
if (/bin/bash /home/natevw/bc16/dependencies/autoconf-2.69/build-aux/missing --run makeinfo --version) >/dev/null 2>&1; then \
for f in /home/natevw/bc16/dependencies/autoconf-2.69/doc/autoconf.info /home/natevw/bc16/dependencies/autoconf-2.69/doc/autoconf.info-[0-9] /home/natevw/bc16/dependencies/autoconf-2.69/doc/autoconf.info-[0-9][0-9] /home/natevw/bc16/dependencies/autoconf-2.69/doc/autoconf.i[0-9] /home/natevw/bc16/dependencies/autoconf-2.69/doc/autoconf.i[0-9][0-9]; do \
if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
done; \
else :; fi && \
cd "$am__cwd"; \
if /bin/bash /home/natevw/bc16/dependencies/autoconf-2.69/build-aux/missing --run makeinfo --no-split -I /home/natevw/bc16/dependencies/autoconf-2.69/doc \
-o /home/natevw/bc16/dependencies/autoconf-2.69/doc/autoconf.info /home/natevw/bc16/dependencies/autoconf-2.69/doc/autoconf.texi; \
then \
rc=0; \
CDPATH="${ZSH_VERSION+.}:" && cd /home/natevw/bc16/dependencies/autoconf-2.69/doc; \
else \
rc=$?; \
CDPATH="${ZSH_VERSION+.}:" && cd /home/natevw/bc16/dependencies/autoconf-2.69/doc && \
$restore $backupdir/* `echo ".//home/natevw/bc16/dependencies/autoconf-2.69/doc/autoconf.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
/home/natevw/bc16/dependencies/autoconf-2.69/doc/autoconf.texi:8017: misplaced }
/home/natevw/bc16/dependencies/autoconf-2.69/doc/autoconf.texi:8018: must be after `@defmac' to use `@defmacx'
/home/natevw/bc16/dependencies/autoconf-2.69/doc/autoconf.texi:8019: misplaced }
/home/natevw/bc16/dependencies/autoconf-2.69/doc/autoconf.texi:8206: must be after `@defmac' to use `@defmacx'
/home/natevw/bc16/dependencies/autoconf-2.69/doc/autoconf.texi:8271: misplaced }
/home/natevw/bc16/dependencies/autoconf-2.69/doc/autoconf.texi:8290: misplaced }
/home/natevw/bc16/dependencies/autoconf-2.69/doc/autoconf.texi:8317: misplaced }
/home/natevw/bc16/dependencies/autoconf-2.69/doc/autoconf.texi:8380: must be after `@defmac' to use `@defmacx'
conftest.c:4597: must be after `@defmac' to use `@defmacx'
conftest.c:15929: must be after `@defmac' to use `@defmacx'
mv: cannot move '.am30708/autoconf.info' to './/home/natevw/bc16/dependencies/autoconf-2.69/doc/': No such file or directory
make[2]: *** [/home/natevw/bc16/dependencies/autoconf-2.69/doc/autoconf.info] Error 1
make[1]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/autoconf-2.69_build20140729-10315-1xlzdi7/doc'
make[1]: Leaving directory `/tmp/autoconf-2.69_build20140729-10315-1xlzdi7'
make: *** [all] Error 2
git checkout HEAD .
rm -rf autom4te.cache
rake aborted!
Command failed with status (2): [make ...]
/home/natevw/bc16/tasks/lib.rb:142:in `gmake'
/home/natevw/bc16/tasks/toolchain.rake:38:in `block (5 levels) in <top (required)>'
/home/natevw/bc16/tasks/toolchain.rake:22:in `chdir'
/home/natevw/bc16/tasks/toolchain.rake:22:in `block (4 levels) in <top (required)>'
/home/natevw/bc16/tasks/toolchain.rake:21:in `block (3 levels) in <top (required)>'
Tasks: TOP => default => couchdb:build => couchdb:couchdb => /home/natevw/bc16/build/bin/couchdb => /home/natevw/bc16/build/bin/autoconf2.69
(See full trace by running task with --trace)
from build-couchdb.
This still works for me on Ubuntu 14.04:
https://github.com/davedoesdev/build-couchdb-travis/blob/master/build_couchdb.sh
from build-couchdb.
Sorry, forgot to say that the manual patch worked great, and thanks! Would it make sense to integrate it into this project itself?
from build-couchdb.
Is there a pull request for this that I've forgotten to merge? Or can somebody please send one? Thanks much!
from build-couchdb.
Still broken on 14.04
from build-couchdb.
Cannot build in Ubuntu 12. Error:
...
git ls-files --others -i --exclude-standard | xargs rm -f || true
rm_f /home/maswanso/src/build-couchdb/build/bin/autoconf
rm_f /home/maswanso/src/build-couchdb/build/bin/autoreconf
rm_f /home/maswanso/src/build-couchdb/build/bin/autoheader
rm_f /home/maswanso/src/build-couchdb/build/bin/autom4te
rake aborted!
Command failed with status (2): [make maintainer-all...]
/home/maswanso/src/build-couchdb/tasks/lib.rb:142:in gmake' /home/maswanso/src/build-couchdb/tasks/toolchain.rake:134 /home/maswanso/src/build-couchdb/tasks/lib.rb:237:in
with_fakes'
/home/maswanso/src/build-couchdb/tasks/toolchain.rake:133
/home/maswanso/src/build-couchdb/tasks/lib.rb:249:in git_work' /home/maswanso/src/build-couchdb/tasks/lib.rb:247:in
chdir'
/home/maswanso/src/build-couchdb/tasks/lib.rb:247:in git_work' /home/maswanso/src/build-couchdb/tasks/toolchain.rake:113 /home/maswanso/src/build-couchdb/tasks/lib.rb:275:in
with_autoconf'
/home/maswanso/src/build-couchdb/tasks/toolchain.rake:112
/home/maswanso/src/build-couchdb/tasks/lib.rb:219:in `with_path'
/home/maswanso/src/build-couchdb/tasks/toolchain.rake:111
Tasks: TOP => default => couchdb:build => couchdb:couchdb => /home/maswanso/src/build-couchdb/build/bin/couchdb => /home/maswanso/src/build-couchdb/build/share/aclocal/ax_check_icu.m4
from build-couchdb.
@jhs No PR but you can see what I have to do to make Couch compile on Ubuntu here: https://github.com/davedoesdev/build-couchdb-travis
This is still working on 14.10.
from build-couchdb.
https://github.com/davedoesdev/build-couchdb-travis/blob/master/build_couchdb.sh still working on Ubuntu 15.10, OTP-17.5.6.9.
Without the fixes in there, build fails on Ubuntu still.
from build-couchdb.
Related Issues (20)
- i was so glad i found this HOT 1
- rake problem HOT 23
- env.sh is deprecated and can be removed HOT 3
- [PATCH] Allow to prefix the entire build HOT 2
- Geocouch build failure HOT 1
- icu problem HOT 10
- run couchdb as daemon HOT 6
- doesn't build on RHEL 5.5 HOT 2
- uninstall HOT 1
- Builds, but tests return errors HOT 6
- Instructions in the README for building the BigCouch merge
- Executing make after clone fails
- Building CouchDB 1.6.x branch with OTP-17.1 Error HOT 9
- CentOS 6.5 Building with Erlang R16B0x fails to start HOT 8
- Raspberry Pi B+ build error
- Can not build behind firewalls
- Debian Lenny problem - solved, so that a hint HOT 4
- nox-version HOT 5
- undefined method 'reenable' HOT 4
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.