Giter Club home page Giter Club logo

Comments (10)

davedoesdev avatar davedoesdev commented on August 19, 2024

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.

skrenek avatar skrenek commented on August 19, 2024

@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.

natevw avatar natevw commented on August 19, 2024

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.

davedoesdev avatar davedoesdev commented on August 19, 2024

This still works for me on Ubuntu 14.04:

https://github.com/davedoesdev/build-couchdb-travis/blob/master/build_couchdb.sh

from build-couchdb.

natevw avatar natevw commented on August 19, 2024

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.

jhs avatar jhs commented on August 19, 2024

Is there a pull request for this that I've forgotten to merge? Or can somebody please send one? Thanks much!

from build-couchdb.

mikeymckay avatar mikeymckay commented on August 19, 2024

Still broken on 14.04

from build-couchdb.

MarkSwanson avatar MarkSwanson commented on August 19, 2024

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:inwith_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:inchdir'
/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:inwith_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.

davedoesdev avatar davedoesdev commented on August 19, 2024

@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.

davedoesdev avatar davedoesdev commented on August 19, 2024

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)

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.