2010-09-27 129 views
1

我正試圖在乾淨的Mac OS X安裝上乾淨地構建Lilypond。使用Brew安裝了依賴項。Lilypond Mac OS X構建問題

我在Lilypond dir中做了./configure && make all。它獲得通過的配置,並開始建設,但最終在 ERROR: In procedure dynamic-link: ERROR: file: "libguile-srfi-srfi-1-v-3", message: "file not found"

我知道libguile是,我不知道是什麼,如果是我的系統上(或者它應該是),但配置腳本成功完成,不將其識別爲缺失的依賴關係,因此我認爲它能夠找到它。

有什麼建議嗎?谷歌搜索顯示了一些關於設置$LD_LIBRARY_PATH的舊提示,但它似乎不適用於Mac OS 10.6。

回答

2

有一個lilypond端口可從MacPorts

$ port info lilypond 
lilypond @2.12.3, Revision 3 (textproc) 
Variants:    [+]docs, gui, universal 

Description:   Lilypond is a unix-based automated engraving system that generates beautiful sheet music from input files. Lilypond uses its 
         own input format, .ly, which in many ways is similar to LaTeX. Lilypond can export sheet music to PDF, EPS, SVG, and PNG 
         formats, and can also create MIDI files. 
Homepage:    http://lilypond.org/ 

Library Dependencies: fontforge, ghostscript, mftrace, guile, texinfo, pango, flex, urw-fonts, netpbm 
Platforms:   darwin 
License:    unknown 
Maintainers:   [email protected], [email protected] 
1

動態庫可能具有.dylib擴展名,但需要.so擴展名。

我工作圍繞這通過創建鏈接到/ opt/local/lib目錄

Owner-Users-MacBook-Pro-15:~ Carl$ ls -l /opt/local/lib | grep .so 

-rwxr-xr-x 2 root admin  45152 Mar 11 12:19 libXcursor.1.dylib 

-rw-r--r-- 2 root admin  50232 Mar 11 12:19 libXcursor.a 

lrwxr-xr-x 1 root admin  18 Mar 11 12:19 libXcursor.dylib -> libXcursor.1.dylib 

-rwxr-xr-x 2 root admin  1105 Mar 11 12:19 libXcursor.la 

lrwxr-xr-x 1 root admin  32 Mar 11 21:19 libguile-srfi-srfi-1-v-3.so -> libguile-srfi-srfi-1-v-3.3.dylib 

lrwxr-xr-x 1 root admin  36 Mar 11 21:19 libguile-srfi-srfi-13-14-v-3.so -> libguile-srfi-srfi-13-14-v-3.3.dylib 

lrwxr-xr-x 1 root admin  32 Mar 11 21:20 libguile-srfi-srfi-4-v-3.so -> libguile-srfi-srfi-4-v-3.3.dylib 

lrwxr-xr-x 1 root admin  33 Mar 11 21:20 libguile-srfi-srfi-60-v-2.so -> libguile-srfi-srfi-60-v-2.2.dylib 

lrwxr-xr-x 1 root admin  17 Mar 11 21:21 libguile.so -> libguile.17.dylib 

lrwxr-xr-x 1 root admin  30 Mar 11 21:22 libguilereadline-v-17.so -> libguilereadline-v-17.17.dylib 
0

來在MacOS安裝LilyPond的最簡單的方法是使用lyp。除了安裝lyp本身(這是一個Ruby gem)之外,不需要安裝其他依賴項,也不需要編譯步驟。另外,您可以安裝Lilypond的多個版本並輕鬆地在它們之間切換。

$ gem install lyp 
$ lyp install lilypond 

要安裝特定的版本:

$ lyp install [email protected]