lilypond-devel
[Top][All Lists]
Advanced

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

Re: Why is it _still_ so freaking hard to get info with images?


From: John Mandereau
Subject: Re: Why is it _still_ so freaking hard to get info with images?
Date: Fri, 13 Mar 2009 12:30:26 +0100
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

David Kastrup a écrit :
John Mandereau <address@hidden> writes:
..and input/lsr too.  I added toplevel info and intall-info target.
No, you didn't.
Oops, I meant info-install.


  At least a freshly fetched lilypond copy has only
(according to bash programmable completion) the targets

install-help2man  install-info-WWW  install-WWW
LilyPond makefiles are too smart for bash completion in its current state.
Even if we disable targets only for out!=www, bash completion will still show
these targets.  That's why we provide "make help", mentioned among other
places at the end of configure output.


make help offers
info build Info documentation with images
  info-install  install Info documentation with images
This is what you are looking for.


make install bombs out, anyway:
(/usr/bin/python /home/tmp/lilypond/stepmake/bin/install.py -c -d /usr/local/share/lilypond/2.13.0/fonts/otf/ || true) && /usr/bin/python /home/tmp/lilypond/stepmake/bin/install.py -c -c -m 644 ./out/emmentaler-11.otf ./out/emmentaler-13.otf ./out/emmentaler-14.otf ./out/emmentaler-16.otf ./out/emmentaler-18.otf ./out/emmentaler-20.otf ./out/emmentaler-23.otf ./out/emmentaler-26.otf ./out/aybabtu.otf ./out/CenturySchL-Ital.otf ./out/CenturySchL-BoldItal.otf ./out/CenturySchL-Roma.otf ./out/CenturySchL-Bold.otf /usr/local/share/lilypond/2.13.0/fonts/otf/ && (/usr/bin/python /home/tmp/lilypond/stepmake/bin/install.py -c -d /usr/local/share/lilypond/2.13.0/fonts/svg/ || true) && /usr/bin/python /home/tmp/lilypond/stepmake/bin/install.py -c -c -m 644 ./out/emmentaler-11.svg ./out/emmentaler-13.svg ./out/emmentaler-14.svg ./out/emmentaler-16.svg ./out/emmentaler-18.svg ./out/emmentaler-20.svg ./out/emmentaler-23.svg ./out/emmentaler-26.svg ./out/aybabtu.svg /usr/local/share/lilypond/2.13.0/fonts/svg/ && (/usr/bin/python /home/tmp/lilypond/stepmake/bin/install.py -c -d /usr/local/share/lilypond/2.13.0/fonts/type1/ || true) && /usr/bin/python /home/tmp/lilypond/stepmake/bin/install.py -c -c -m 644 ./out/feta11.pfb ./out/feta13.pfb ./out/feta14.pfb ./out/feta16.pfb ./out/feta18.pfb ./out/feta20.pfb ./out/feta23.pfb ./out/feta26.pfb ./out/feta-braces-a.pfb ./out/feta-braces-b.pfb ./out/feta-braces-c.pfb ./out/feta-braces-d.pfb ./out/feta-braces-e.pfb ./out/feta-braces-f.pfb ./out/feta-braces-g.pfb ./out/feta-braces-h.pfb ./out/feta-braces-i.pfb ./out/feta-alphabet11.pfb ./out/feta-alphabet13.pfb ./out/feta-alphabet14.pfb ./out/feta-alphabet16.pfb ./out/feta-alphabet18.pfb ./out/feta-alphabet20.pfb ./out/feta-alphabet23.pfb ./out/feta-alphabet26.pfb ./out/parmesan11.pfb ./out/parmesan13.pfb ./out/parmesan14.pfb ./out/parmesan16.pfb ./out/parmesan18.pfb ./out/parmesan20.pfb ./out/parmesan23.pfb ./out/parmesan26.pfb /usr/local/share/lilypond/2.13.0/fonts/type1/ && true
Traceback (most recent call last):
  File "/home/tmp/lilypond/stepmake/bin/install.py", line 78, in <module>
    shutil.copy2 (f, dest)
  File "/usr/lib/python2.5/shutil.py", line 96, in copy2
    copyfile(src, dst)
  File "/usr/lib/python2.5/shutil.py", line 51, in copyfile
    fsrc = open(src, 'rb')
IOError: [Errno 2] No such file or directory: './out/CenturySchL-Ital.otf'
make[1]: *** [local-install-outfiles] Error 1
make[1]: Leaving directory `/usr/local/tmp/lilypond/mf'
make: *** [install] Error 2
address@hidden:/home/tmp/lilypond$
Did you call "make all" first? I think it's not reasonable to expect "make install" to work if you haven't called "make all" first. The same applies to "make web"/"make install"; however, info-install target rebuild Info docs if needed.

I really have no idea how people supposedly cope with that sort of
thing.
Read section "Compiling from source" in "Application usage", or one of the INSTALL* files (this is the same contents).


As it stands, the most basic targets just don't work at all and/or need
parameters one could not possibly guess
This is wrong, basic targets don't require any parameter; basic targets are not the one your bash completion show,
I'm sorry.

 and/or are hidden away into some
subdirectory make targets one cannot fathom and/or require running some
other unnoticeable dependencies first.
That's why there is an INSTALL file in distributed tarballs, and we have it in PDF and HTML too on lilypond.org. LilyPond is probably not the only package that requires making all target
before install.


It might be nice if some developers made it into a habit to try building
from a freshly checked out tree from time to time without reverting to
their secret knowledge.
I spent a lot of time testing compilation and installation of Info docs a while ago (last time you reported problems IIRC), but I didn't notice it had been broken for two months by some (maybe untested) hack. And please believe me that I have been making clean builds every day I change the sources or merge branches since I have a powerful enough machine; I test install targets less frequently, though.

Best,
John





reply via email to

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