bugGNU Scientific Library - Bugs: bug #31390, cannot build without...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #31390: cannot build without doc/version.texi

Submitted by:  W. Trevor King <wking>
Submitted on:  Thu 21 Oct 2010 12:36:13 AM UTC  
 
Category: BuildSeverity: 3 - Normal
Operating System: Status: Fixed
Assigned to: -Deleted Account- <bjg>Open/Closed: Closed
Release: bzr trunk

Sat 23 Oct 2010 01:45:30 PM UTC, comment #1:

Thanks for the bug report. I believe version.texi will be generated if you use ./configure --enable-maintainer-mode
I've added a note to the top of autogen.sh with that information (previously it displayed it only at the end)

-Deleted Account- <bjg>In charge of this item.
Thu 21 Oct 2010 12:36:13 AM UTC, original submission:

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)" >> $@

W. Trevor King <wking>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by wking (Submitted the item)
  • -unavailable- added by wking
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 23 Oct 2010 01:45:30 PM UTCbjgStatusNone=>Fixed
      Assigned toNone=>bjg
      Open/ClosedOpen=>Closed
    Thu 21 Oct 2010 12:36:13 AM UTCwkingCarbon-Copy-=>Added wking

    Back to the top


    Powered by Savane 3.1-cleanup1