Patch in attachment.
Building lilypond 2.8 (from todays cvs), make fails:

  $ ./configure 
  checking build system type... i686-pc-linux-gnu
  checking Package... LILYPOND
  ...
  checking for mftrace... mftrace
  checking mftrace version... 1.2.4
  ...
  $ make
  cd /home/karl/most/music/lilypond/2.8/out && rm -rf bin lib share
  mkdir -p ./out/bin
  ...
  make[1]: Entering directory `/home/karl/most/music/lilypond/2.8/mf'

  ERROR: mftrace not found

  For obtaining PFA/SVG fonts, either install mftrace 
  (see http://www.xs4all.nl/~hanwen/mftrace/ ),
  or try one of the following commands in this directory: 

   make get-fonts 
   make get-rpm-fonts 
   make get-deb-fonts 

  These commands will try to download the files from internet.
  make[1]: Leaving directory `/home/karl/most/music/lilypond/2.8/mf'
  $

Error is in mf/GNUmakefile:

  $ grep -B1 -A3 '(MFTRACE)' mf/GNUmakefile 
  pfa_warning:
  ifneq ($(shell $(MFTRACE) --version | sed 's/ .*//'),mftrace)
          @echo ""
          @echo "ERROR: mftrace not found"
          @echo ""
  $

Running the shell line:

  $ mftrace --version | sed 's/ .*//'
  mftrace

  This
  License
  under
  information.

  Copyright



  $

It becomes "mftrace This License under information. Copyright " in make,
which is not eq to "mftrace".

It worked fine with older mftrace since they produced one line versions:

  $ /usr/bin/mftrace --version
  mftrace 1.1.17
  $

Regards
/Karl

Index: mf/GNUmakefile
===================================================================
RCS file: /sources/lilypond/lilypond/mf/GNUmakefile,v
retrieving revision 1.193.2.1
diff -u -r1.193.2.1 GNUmakefile
--- mf/GNUmakefile      29 Mar 2006 16:19:38 -0000      1.193.2.1
+++ mf/GNUmakefile      22 May 2006 14:22:08 -0000
@@ -138,7 +138,7 @@
        ${MAKE} -C $(top-build-dir) link-mf-tree
 
 pfa_warning:
-ifneq ($(shell $(MFTRACE) --version | sed 's/ .*//'),mftrace)
+ifneq ($(shell $(MFTRACE) --version | sed 's/ .*//;1q'),mftrace)
        @echo ""
        @echo "ERROR: mftrace not found"
        @echo ""
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to