checking for --with-omfdirs... /usr/X11R6/share/gnome/omf
checking for xml2-config... /usr/local/bin/xml2-config
checking libxml2 version... 2.6.26
checking for xslt-config... /usr/local/bin/xslt-config
checking which XML catalog to use... /usr/local/share/xml/catalog.ports
checking for DocBook XML DTD... configure: error: not found. Make sure you have the DocBook DTD installed and ensure that it is registered in /usr/local/share/xml/catalog.ports.
===> Script "configure" failed unexpectedly.
Please run the gnomelogalyzer, available from
"http://www.freebsd.org/gnome/gnomelogalyzer.sh", which will diagnose the
problem and suggest a solution. If - and only if - the gnomelogalyzer cannot
solve the problem, report the build failure to the FreeBSD GNOME team at
gnome@FreeBSD.org, and attach (a)
"/usr/ports/textproc/scrollkeeper/work/scrollkeeper-0.3.14/config.log", (b)
the output of the failed make command, and (c) the gnomelogalyzer output.
Also, it might be a good idea to provide an overview of all packages installed
on your system (i.e. an `ls /var/db/pkg`). Put your attachment up on any
website, copy-and-paste into http://freebsd-gnome.pastebin.com, or use
send-pr(1) with the attachment. Try to avoid sending any attachments to the
mailing list (gnome@FreeBSD.org), because attachments sent to FreeBSD mailing
lists are usually discarded by the mailing list software.
*** Error code 1
Stop in /usr/ports/textproc/scrollkeeper.
*** Error code 1
Stop in /usr/ports/textproc/gnome-doc-utils.
*** Error code 1
Stop in /usr/ports/sysutils/gnome-system-tools.
*** Error code 1
Stop in /usr/ports/x11/gnome-applets.
*** Error code 1
Stop in /usr/ports/x11/gnome2-lite.
把 docbook 和 xmlcatmgr 相關全部砍光光再重來一次也沒辦法。Google 搜尋也找不到什麼有用的東西,於是就這麼擺著,沒辦法裝 gnome 的機器就繼續用 kde。
昨天心血來潮想再看看,於是看看 xmlcatmgr 裝了什麼東西。catalog 檔案 /usr/local/share/xml/catalog.ports 並不在安裝檔案列表裡,似乎是安裝其他 docbook ports 時才產生出來的,但是內容是空的。大概是因此 scrollkeeper 才吵著說找不到可用的 xml 。
剛剛突然想到,如果這個檔案是空的,那是不是應該砍掉呢? /usr/local/share/xml/catalog 會 include 它,而 catalog 似乎應該是個 xml 檔案。如果這樣,大概就是create catalog 時因為檔案已經存在,所以沒有蓋掉它;但又因為內容不是 xml, 所以無法更新它。
這麼一想,把 xmlcatmgr 砍掉,刪掉 /usr/local/share/xml/catalog.ports, 再重新 make install 一次。果然就可以了。這空的 catalog.ports, 不知是哪個東西的遺毒啊。
沒有留言:
張貼留言