看板FreeBSD
标 题Re: 请教 lilypond ...
发信站Shaw Residential Internet (Mon Sep 5 06:53:01 2005)
转信站ptt!ctu-reader!ctu-peer!news.nctu!news.glorb.com!border1.nntp.dca.giga
感谢诸位 大前辈们帮我奋战了数天数夜...
以下是结论及後续问题:
因灌好後 lilypond 所产生的 ps 部份 怪怪的...
且 gmake web 及 gmake out=www web-install 不出来.
怀疑或是因为 mftrace 1.1.8 的不合要求 ( lilypond 2.6.3 要 mftrace >= 1.1.9)
故, 砍掉 port 的 mftrace:
# make deinstall
# make clean
改抓 mftrace 1.1.19 的 tar 来灌. - 这边 mftrace 暂且不表.
再将 lilypond 杀掉重来
# gmake distclean
# cd ..
# rm -R lilypond-2.6.3
也说不定是因抓出来的 tar ball 有问题,故杀掉,重抓一次.
# rm lilypond-2.6.3.tar.gz
# wget
http://lilypond.org/download/v2.6/lilypond-2.6.3.tar.gz
# tar -xzvf lilypond-2.6.3.tar.gz
# cd lilypond-2.6.3
眉角在这里: kpathsea:
#
../configure --with-kpathsea-lib=/usr/local/lib --with-kpathsea-include=/usr/local/include
--with-kpathsea=yes
眉角在这里: gmake, 非 make:
# gmake all
# gmake install
大体上就有 lilypond 了,成不成要真的给他实际跑一跑才知道, good luck. :)
再作 lilypond html documentation
# make web
==> 不行 :
make: don't know how to make web. Stop
故改
# gmake web ==> 有跑,但仍没成功...:
....
../out-www/lilypond.texi:287: Menu reference to nonexistent node `Cheat
sheet' (perhaps incorrect sectioning?).
../out-www/lilypond.texi:286: Menu reference to nonexistent node `Point and
click' (perhaps incorrect sectioning?).
../out-www/lilypond.texi:285: Menu reference to nonexistent node `Notation
manual details' (perhaps incorrect sectioning?).
../out-www/lilypond.texi:284: Menu reference to nonexistent node `Scheme
tutorial' (perhaps incorrect sectioning?).
../out-www/lilypond.texi:283: Menu reference to nonexistent node `Literature
list' (perhaps incorrect sectioning?).
../out-www/lilypond.texi:282: Menu reference to nonexistent node `Converting
from other formats' (perhaps incorrect sectioning?).
../out-www/lilypond.texi:281: Menu reference to nonexistent node
`LilyPond-book' (perhaps incorrect sectioning?).
../out-www/lilypond.texi:280: Menu reference to nonexistent node `Interfaces
for programmers' (perhaps incorrect sectioning?).
../out-www/lilypond.texi:278: Menu reference to nonexistent node `Output
formats' (perhaps incorrect sectioning?).
../out-www/lilypond.texi:277: Menu reference to nonexistent node `Changing
defaults' (perhaps incorrect sectioning?).
../out-www/lilypond.texi:276: Menu reference to nonexistent node `Advanced
notation' (perhaps incorrect sectioning?).
makeinfo: Removing output file `out-www/lilypond.html' due to errors;
use --force to preserve.
gmake[3]: *** [out-www/lilypond.html] Error 1
gmake[3]: Leaving directory
`/usr/local/www/data-dist/lilypond-2.6.3/Documentation/user'
gmake[2]: *** [WWW] Error 2
gmake[2]: Leaving directory
`/usr/local/www/data-dist/lilypond-2.6.3/Documentation'
gmake[1]: *** [WWW] Error 2
gmake[1]: Leaving directory `/usr/local/www/data-dist/lilypond-2.6.3'
gmake: *** [web] Error 2
若依
http://lilypond.org/doc/v2.6/Documentation/topdocs/out-www/INSTALL.html
再
# make out=www web-install
make: don't know how to make web-install. Stop
仍改 gmake
# gmake out=www web-install
gmake --no-builtin-rules out=www install-WWW
gmake[1]: Entering directory `/usr/local/www/data-dist/lilypond-2.6.3'
/bin/sh
/usr/local/www/data/lilypond-2.6.3/stepmake/stepmake/../bin/install-sh -c -m
755 -d /usr/local/share/doc/lilypond/html
tar -C /usr/local/share/doc/lilypond/html/ -xzf ./out-www/web.tar.gz
tar: Error opening archive: Failed to open './out-www/web.tar.gz': No such
file or directory
gmake[1]: *** [install-WWW] Error 1
gmake[1]: Leaving directory `/usr/local/www/data-dist/lilypond-2.6.3'
gmake: *** [web-install] Error 2
也是 error.
不知是 documentation 不行的问题在 lilypond 的 tar, 或是在其他各别
pre-required 程式
或是 须要特别 font ?
关於 font, 因
http://lilypond.org/doc/v2.6/Documentation/topdocs/out-www/NEWS.html 说:
The PostScript backend is now used by default.
LilyPond now uses Pango and FontConfig for selecting and rendering UTF-8
input in non-TeX backends. A font may be selected by using a FontConfig
name, or using the classic font selection mechanism. Any Type1 and TrueType
font recognized by FontConfig is available in LilyPond as well.
....
LilyPond now uses FreeType to read the Feta font as an OpenType font.
不知是否还要装哪些 font
( lilypond 有提到譬如: taipeifonts fonts-xorg-truetype ttfonts-ja
fonts-arabic ttfonts-zh_CN fonts-ja fonts-hebrew 等 font, 但不知去哪找来装)
有关的 font 程式?
又,辟如:
http://lilypond.org/doc/v2.6/input/out-www/sakura-sakura.ly.txt
我若歌词,标题,或作者...等,行中加中文, 请教不知是该如何用?
要用 utf-8 的中文编码及输入法? How? - 中文 Wxp 都是 Big5 不是吗?
写完送上 freeBSD 再跑 (哪个 port 上的哪个? ) 转码程式, 然後再送给 lilypond ?
谢谢
===
"老音学生 Old Student" <
[email protected]> 撰写於邮件新闻:YQmSe.363578$s54.172295@pd7tw2no...
>> /usr/local/lib
>> /usr/local/include
>
> Yeeeh~~! 果 J 英明 :)
> ./configure --with-kpathsea-lib=/usr/local/lib --with-kpathsea-include=/usr/local/include
> --with-kpathsea=yes
>
> gmake 下去了...., 希望这样可以成功了... :)
>
> 结论: 以下是眉角:
> 0 mftrace 版本 尚待保留
> 1 source 的 tar 比 port 好处理
> 2
> ./configure --with-kpathsea-lib=/usr/local/lib --with-kpathsea-include=/usr/local/include
> --with-kpathsea=yes
> 3 gmake all ; gmake install ...
>
> 谢谢 李大前辈及 淡前辈指导
>
> <: 老音学生 :>
>
> ===
>
> "L.G.J" <[email protected]> 撰写於邮件新闻:[email protected]...
>>※ 引述《
[email protected] (老音学生 Old Student)》之铭言:
>>> 我的 kpathsea 是在:
>>> /usr/local/lib/libkpathsea.a
>>> /usr/local/include/kpathsea/*.h
>>> 为何我
>>> #
>>> ./configure --with-kpathsea-lib=/usr/local/lib/ --with-kpathsea-include=/usr/local/include/kpathsea/
>>> --with-kpathsea
>>> 以後,仍然
>>> checking kpathsea/kpathsea.h usability... no
>>> checking kpathsea/kpathsea.h presence... no
>>> checking for kpathsea/kpathsea.h... no
>>> checking for shared libkpathsea... no
>>> checking whether to use kpathsea... no
>>> > 我刚刚在我的 FreeBSD-5.4 stable 编译是没有问题的。
>>> > * 我的是预设环境,完全没有更动过。
>>> 万念俱灰时, 这真是令人重生信心啊~ :)
>>
>> 这需要一点 try&error。
>>
>> /usr/local/lib
>> /usr/local/include
>>
>> why? 看一下他如何引用 kpathsea.h 就知道了。