kpsewhich and kpsexpand are standard programs in the teTeX distribution
and should be available in your PATH just as much as the tex and latex
commands, for example. I've got the impression that some distributions
put these commands in a separate package, for some weird reason.
Anyway, you will need the programs both during compilation of LilyPond
and in run-time.

/Mats

Edward Sanford Sutton, III wrote:
When building lilypond from CVS, I run ./autogen.sh --with-kpathsea-include=/usr/share/texmf/include/ --with-kpathsea-lib=/usr/
share/texmf/lib/ as one of the steps. Configure and make proceed just fine. As my normal user, my path also includes /usr/share/texmf/bin/ in it which avoids configure stating 'WARNING: Please consider installing optional programs: kpsewhich' and make failing because it cannot find kpsexpand.
Once I run make install as root, kpsexpand isnt found (root has a path of /
usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin). Is adding kpsexpand to root's path the preferred way to properly resolve this build error? The end of make install's output is included below to help point out the section of the install phase (would more of the output be helpful?) I can't recall always having this issue until some of the last few CVS versions.
Thanks again,
Ed Sutton


if [ -f out/lilypond.nexi ]; then chmod a+w out/lilypond.nexi; fi
/usr/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: `kpsexpand \$TEXMF' failed (127)
lilypond-book: error: The error log is as follows:
sh: line 1: kpsexpand: command not found
make[2]: *** [out/lilypond.nexi] Error 1



_______________________________________________ Lilypond-devel mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-devel

-- ============================================= Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe =============================================


_______________________________________________ Lilypond-devel mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to