14th Aug, 2010

喺 mac 度用macport 裝 gimp 千祈唔好用 python 26

雖然 Photoshop 好強大,但係我用開 Linux 始終對 gimp 情有獨鍾。用 gimp 個 official package 裝但唔成功,於是用 macport 嚟裝。

裝嘅過程都幾痛苦,首先去安裝 macport:
http://www.macports.org/

然後開我最常用既 Terminal, 喺 command prompt 度打:

sudo port instal gimp

雖然開始好簡單,之但係佢會download 成大堆 packages 嚟 build,結果斷斷續續 build 在成兩日, 最後出log 左個 error 喺
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gimp2/main.log:

*** Could not find PyGTK 2.10.4 or newer.
*** Please install it, or skip building the python scripting extension by
*** passing --disable-python to configure (but then you will not be able
*** to use scripts for GIMP that are written in Python).

就算裝左 py26-gtk 都出同一個 error, 所以唯有 downgrade 到 py25-gtk:

sudo port install python25
sudo python_select python25
sudo port install py25-gtk

咁繼續行 sudo port install gimp 就可以在功告成。

成功裝咗之後開嚟玩吓,比起 Photoshop CS5 都快, 但比起同樣係 open source 嘅 SeaShore 就慢好多了。

相關文章

你的回應






Your response: