Well done! I've added a couple of comments below that should simplify the procedure even more.
jozsineni wrote:
I was able to compile lilypond 1.9.0 under Win2000, using cygwin 1.3.22-1 (The method should be the same for 1.8.1)
Steps needed:
(Only for PFA-fonts * download autotrace sources, ./configure, make all, make install * download t1utils, ./configure, make all, make install * download pfaedit, copy the executable into /usr/local/bin * download mftrace, ./configure, make all, make install )
(* flex, bison, tetex-devel, gettext-devel, etc. install)
(* uninstall previous version)
(* enter source dir, e.g. /usr/src/lilypond-1.9.0)
* ./autogen.sh --with-kpathsea-include=/usr/include/kpathsea
* edit config.make: find USER_LDFLAGS and append
/lib/python2.3/config/libpython2.3.dll.a, so it looks:
USER_LDFLAGS = -lguile -lguile-tdl -lm
/lib/python2.3/config/libpython2.3.dll.a
You should get the same by setting the environment variable LDFLAGS to /lib/python2.3/config/libpython2.3.dll.a before running autogen.sh.
* make all
Then it aborts with strange messages (about ambigous istream -- BUG in Flex or lexer.ly or gcc???) after:
flex -Cfe -p -p -t lexer.ll > out/lexer.cc
Then lexer.cc is removed, so I had to rerun
* make all
because I had to modify lexer.cc to solve the problem. The solution was:
* Edit lily/out/lexer.cc and write "#include <FlexLexer.h>" after "#include <stdlib.h>", and remove the line containing "class istream;"
So one more time:
* make all
* make install
* cp ./cygwin/out/lilypond-profile.sh /etc/profile.d
And for PFA-fonts:
* make pfa-fonts
* mkdir /usr/local/share/lilypond/fonts/type1 * cp mf/out/*.pfa /usr/local/share/lilypond/fonts/type1 * cp mf/out/lilypond.map /usr/share/texmf/dvips/misc * texhash
Why not use the method described in INSTALL.txt:
make pfa-fonts make MAKE_PFA_FILES=1 install texhash
/Mats
_______________________________________________ Lilypond-devel mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-devel
