Re: 請教 makeinfo 在哪?
[root@neuro /usr/ports/print/lilypond]# make install
跑了一下,終於斷了...
請幫我看看 output 最後 :
Assembling raw font to `ecbx10.pfa'... This is t1asm 1.2.
t1asm: illegal option -- -
usage: t1asm [-b] [-l block-length] [input [output]]
-b means output in PFB format, otherwise PFA format.
The block length applies to the length of blocks in the
PFB output file; the default is to use the largest possible.
error: t1asm: command exited with value 256
Traceback (most recent call last):
File "/usr/local/bin/mftrace", line 1278, in ?
magnification, fontinfo)
File "/usr/local/bin/mftrace", line 652, in trace_font
to_type1 (t1os, font_bbox, fontname, encoding, magnification, fontinfo )
File "/usr/local/bin/mftrace", line 756, in to_type1
system ('t1asm --pfa mftrace.t1asm %s' % outname + '.raw')
File "/usr/local/bin/mftrace", line 241, in system
error (msg)
File "/usr/local/bin/mftrace", line 133, in error
raise _ ("Exiting ... ")
Exiting ...
gmake: *** [/usr/ports/print/ec-fonts-mftraced/work/pfa/ecbx10.pfa] Error 1
*** Error code 2
Stop in /usr/ports/print/ec-fonts-mftraced.
*** Error code 1
Stop in /usr/ports/print/lilypond.
請問, 可有解方?
謝謝
<: 老音學生 :>
===
"老音學生 Old Student" <goaway@nowhere.not> 撰寫於郵件新聞:byRRe.353842$s54.251595@pd7tw2no...
>
> 感謝 前輩不吝指點... :)
>
> 可否再請教...
>> 這就是跟你說目前 2.2.2 在 FreeBSD 5.x 無法正確編譯成功爛掉,
>> ...,還是有些小技巧,
>> 可以先去 http://pointyhat.freebsd.org/ 這邊找 "for broken ports" 這個連結
>>
>> 看看目前被打 BROKEN 標裡面,找一下你要的 lilypond ,裡面目前剛好有 PR
>> http://www.freebsd.org/cgi/query-pr.cgi?pr=83306
>> 可能不是很新,應該還可堪用,你試試照著改應該可以吧 XD
>
> 依 前輩指示前往,果然有 http://www.freebsd.org/cgi/query-pr.cgi?pr=83306
>
> --- ports-lilypond-2.4.6.diff begins here ---
> diff -ruN lilypond.orig/Makefile lilypond/Makefile
> ...
> --- ports-lilypond-2.4.6.diff ends here ---
>
> 請教... 然後呢?
> 我擅把中間這段 save 成 755
> /usr/ports/print/lilypond/patch-buildscripts:lilypond-profile.sh
> 跑一下,
> 是要這樣嗎?
> 但,結果怪怪 - 終究不行.
>
> 順便報告.
> [root /usr/ports/print/lilypond]# cat distinfo
> MD5 (lilypond-2.2.2.tar.gz) = 1f9ed6b5a80533ce6c960c889fa51226
> SIZE (lilypond-2.2.2.tar.gz) = 1900426
> 他可仍是用 2.2.2 版.
>
> <: 老音學生 :>
>
> ===
>
> "淡" <chinsan.bbs@bbs.ilc.edu.tw> 撰寫於郵件新聞:A11HF5C6$freebsd@bbs.ilc.edu.tw...
>>※ 引述《goaway@nowhere.not (老音學生 Old Student)》之銘言:
>>> 感謝 前輩不吝指導,...
>>> 1]
>>> 但我已經 每日更新 ports 了說
>>> # grep cvsup /etc/crontab
>>> 27 2 * * * root /usr/local/bin/cvsup -g -L
>>> 2
>>> /usr/ports-supfile
>>
>> 唔... 不用這麼麻煩打這麼長一串,設好 /etc/make.conf ,
>> 然後以 root 身份打 crontab -e 加入下面的就好啦..
>>
>> #
>> # Automating cvsup (Only update for port tree)
>> #
>> 6 2 * * * cd /usr/ports && make update && make index &&
>> /usr/local/sbin/portsdb -uU
>> (上面這行請自行連起來)
>>
>>> 2]
>>> 可是若用 make search ,即始在 /usr/ports/print/
>>
>> 因為你的 port 資料庫還沒更新啊,
>> 打 portsdb -uU 就會幫你更新你系統上的 port 資料庫了
>> 我在上面的 crontab 內後面有加上這動作
>>
>> ※ /usr/ports 下有兩個咚咚 INDEX (text file)
>> INDEX.db (binary file)
>>
>>> 3]
>>> 就給他裝了 /usr/ports/texinfo
>>> make install
>> 通常後面在加個 clean 這樣會把 WRKDIR 清掉,比較不佔空間,
>> 也比較不會影響日後升級、再安裝
>>
>>> ===> Compressing manual pages for texinfo-4.8
>>> ===> Registering installation for texinfo-4.8
>>> (他居然沒要我先 deinstall 4.6 ?)
>>
>> 因為 port 軟體機制的基本規則,就是裝東西幾乎只以 /usr/local(一般應用程式)
>>
>> 或 /usr/X11R6 (x11應用程式) 為 BASE
>> (也是有特例啦,像是 security/openssh-portable )
>>
>> port 的歸 port , base system 的歸 base system
>>
>> == base system 部分 ==
>> textinfo 其實也算是 base system 的 contrib 部分
>> 通常執行檔是放在 /usr/bin/ 下,比如 /usr/bin/makeinfo
>> 如果你有裝 src 檔案在 /usr/src/contrib/texinfo/makeinfo
>>
>> == port 部分 ==
>> 以 /usr/ports/print/texinfo 為例,執行檔通常是在 /usr/local/bin/
>> 比如 /usr/local/bin/makeinfo
>>
>> 如果你堅持要 base system 也換成 4.8 的話,
>> 試試跑 FreeBSD 6.x 或是 7 -CURRENT 吧
>> 或是手動勤勞自己改也是可以 ;p
>>
>>
>>> 4]
>>> 可是, 即始重開機後, 怎麼 makeinfo 還是 4.6 ?
>>
>> 原因在於 base system 的是 4.6, (雖然你已用 port 裝 4.8)
>> 你可以打 echo $PATH 得知你目前 $PATH 的環境設定
>>
>> /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:
>> 執行優先順序由左至右,以 : 冒號作為區隔
>>
>>
>>> 5]
>>> 灌 lilypond (lilypond-2.6.3.tar.gz)
>>> .../configure 時他仍說 :
>>> WARNING: Please consider installing optional programs:
>>> ERROR: Please install required programs: makeinfo >= 4.7 (installed:
>>> 4.6)
>> 這個通常要看該軟體的 configure* 檔裡面像是 as_dir 對 PATH 的處理,
>> 應該可以調整才對 :Q
>>
>>> 6]
>>> 用 tar 來裝也是蠻不得已的.
>>> 因為先用 ports 時, 他說
>>> [root /usr/ports/print/lilypond]# make install
>>> ===> lilypond-2.2.2 is marked as broken: Does not compile on FreeBSD >=
>>> 5.x.
>>
>> 這就是跟你說目前 2.2.2 在 FreeBSD 5.x 無法正確編譯成功爛掉,
>> 所以被 kris@ 打標為 BROKEN 不過,還是有些小技巧,
>> 可以先去 http://pointyhat.freebsd.org/ 這邊找 "for broken ports" 這個連結
>>
>>
>> 看看目前被打 BROKEN 標裡面,找一下你要的 lilypond ,裡面目前剛好有 PR
>> http://www.freebsd.org/cgi/query-pr.cgi?pr=83306
>> 可能不是很新,應該還可堪用,你試試照著改應該可以吧 XD
>>
>> 若有問題,請自行參考 lilypond 的 mailing list
>> 以及整理你的資料給 port maintainer
>>
>> 舉例: print/lilypind 目前 maintainer 為 lioux@
>> 通常..1)像是在打 make search key=lilypond 會出現搜尋結果,裡面的
>> Maint:
>> ^^^^^ 這欄就是 Maintainer 的縮寫,後面是他的聯絡信箱
>>
>> 2)該 port 目錄內的 Makefile 裡會有 MAINTAINER= 這個就是了
>
>
討論串 (同標題文章)
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章