[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cvs 2.3.0 make install error
From: |
Jan Nieuwenhuizen |
Subject: |
Re: cvs 2.3.0 make install error |
Date: |
Sat, 10 Apr 2004 12:13:26 +0200 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) |
Edward Sanford Sutton, III writes:
> This has me a bit lost right now. Is '@TOPLEVEL_VERSION@' supposed to be
> replaced at buildtime
Yes, but the uninstalled version of the script, which does not know
its version, is used during build.
> make[2]: Entering directory
> `/home/mirror176/downloads/src/multimedia/lilypond/CVS/lilypond/Documentation/user'
> if [ -f out/lilypond.nexi ]; then chmod a+w out/lilypond.nexi; fi
> rm -f ./out/lilypond.texi
> /usr/local/bin/python ../../scripts/lilypond-book.py -I -I ./out
> -I../../input -I ../../input/tricks/ -I ../../input/regression/
> -I ../../input/test/ -I ../../input/tutorial/
> -I /home/mirror176/downloads/src/multimedia/lilypond/CVS/lilypond/mf/out/
> -I /home/mirror176/downloads/src/multimedia/lilypond/CVS/lilypond/mf/out/
> --output=./out --format=texi --verbose --process="lilypond-bin
> -I ./input/test -e '(ly:set-option (quote internal-type-checking) #t)'"
> --process='true' lilypond.tely
> lilypond-book (GNU LilyPond) @TOPLEVEL_VERSION@
> lilypond-book: error: cannot determine format for: ./out
> Traceback (most recent call last):
Somehow, lilypond-book thinks it must process the input file called
`./out' instead of `lilypond.tely'. Ah, I see it:
> /usr/local/bin/python ../../scripts/lilypond-book.py -I -I ./out
The first include directory is empty, and thus eats the second -I, so
that ./out becomes a file argument.
Looking at make/lilypond-vars.make, it seems that $(pwd) is the first
argument:
LILYPOND_BOOK_INCLUDES = -I $(pwd) -I $(outdir) -I$(input-dir) -I
$(input-dir)/tricks/ -I $(input-dir)/regression/ -I
$(input-dir)/test/ -I $(input-dir)/tutorial/ -I
$(builddir)/mf/$(outconfbase)/ -I $(builddir)/mf/out/
what version of make do you run? It should say: /.../Documentation/user,
look:
/usr/bin/python ../../scripts/lilypond-book.py -I
/var/fred/cvs/savannah/lilypond/lilypond/Documentation/user -I ./out-www
-I../../input -I ../../input/tricks/ -I ../../input/regression/ -I
../../input/test/ -I ../../input/tutorial/ -I
/home/janneke/cvs/savannah/lilypond/lilypond/mf/out/ -I
/home/janneke/cvs/savannah/lilypond/lilypond/mf/out/
--process='/home/janneke/cvs/savannah/lilypond/lilypond/lily/out/lilypond -I
/var/fred/cvs/savannah/lilypond/lilypond/Documentation/user -I ./out-www
-I../../input -I ../../input/tricks/ -I ../../input/regression/ -I
../../input/test/ -I ../../input/tutorial/ -I
/home/janneke/cvs/savannah/lilypond/lilypond/mf/out/ -I
/home/janneke/cvs/savannah/lilypond/lilypond/mf/out/' --output=./out-www
--format=texi-html --verbose --process="lilypond-bin -I ./input/test -e
'(ly:set-option (quote internal-type-checking) #t)'" lilypond.tely
Jan.
--
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org