bug-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gsl] [bug #31390] cannot build without doc/version.texi


From: W. Trevor King
Subject: [Bug-gsl] [bug #31390] cannot build without doc/version.texi
Date: Thu, 21 Oct 2010 00:36:14 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3

URL:
  <http://savannah.gnu.org/bugs/?31390>

                 Summary: cannot build without doc/version.texi
                 Project: GNU Scientific Library
            Submitted by: wking
            Submitted on: Thu 21 Oct 2010 12:36:13 AM GMT
                Category: Build
                Severity: 3 - Normal
        Operating System: 
                  Status: None
             Assigned to: None
             Open/Closed: Open
                 Release: bzr trunk
         Discussion Lock: Any

    _______________________________________________________

Details:

I tried to build GSL from the bzr source with

  $ bzr branch bzr://bzr.savannah.gnu.org/gsl/trunk gsl-trunk
  $ cd gsl-trunk/
  $ autoreconf -i -f -v
  $ ./configure --prefix $HOME
  $ make
  $ make install

but the make died with:

  ...
  Making all in doc
  make[2]: Entering directory `/home/wking/src/gsl-trunk/doc'
  restore=: && backupdir=".am$$" && \
        am__cwd=`pwd` && cd . && \
        rm -rf $backupdir && mkdir $backupdir && \
        if (/bin/bash /home/wking/src/gsl-trunk/missing --run makeinfo
--version) >/dev/null 2>&1; then \
          for f in gsl-ref.info gsl-ref.info-[0-9] gsl-ref.info-[0-9][0-9]
gsl-ref.i[0-9] gsl-ref.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/wking/src/gsl-trunk/missing --run makeinfo   -I .
\
         -o gsl-ref.info gsl-ref.texi; \
        then \
          rc=0; \
          cd .; \
        else \
          rc=$?; \
          cd . && \
          $restore $backupdir/* `echo "./gsl-ref.info" | sed 's|[^/]*$||'`;
\
        fi; \
        rm -rf $backupdir; exit $rc
  gsl-ref.texi:124: @include `version.texi': No such file or directory.
  gsl-ref.texi:216: warning: undefined flag: VERSION.
  makeinfo: Removing output file `gsl-ref.info' due to errors; use --force to
preserve.
  make[2]: *** [gsl-ref.info] Error 1
  ...

I had to grab doc/version.texi from the release tarball to get the source to
complete the install.  Possible solutions:

  * configure option to turn off doc compilation/installation.
  * add a dummy version.texi to version control, or the means to generate
one.  Perhaps by a Makefile addition along the lines of:

.PHONY
doc/version.texi:
    echo "@set UPDATED $(date +'%d %B %Y')" > $@
    echo "@set UPDATED-MONTH $(date +'%B %Y')" >> $@
    echo "@set EDITION $(PACKAGE_VERSION)" >> $@
    echo "@set VERSION $(PACKAGE_VERSION)" >> $@





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31390>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]