wxPython 2.6.2.1在 redhat上 安装

安裝了兩天的 wxPython 總算成功了,大体上整理了一下安裝的流程作個紀錄與說明,有须要的朋友能够參考看看。不過,在安裝的過程中建議不要進行其它的做業,否则會讓整體的安裝時間拖的很長。python

系統平台:RedHat Linux 7.3 with AMD XP 1.6G
wxPython:http://www.wxpython.orgui

安裝方式:.net

 

  1. 請先確認系統已經安裝了Python 2.4以上的版本server

  2. 從wxPython網站上下載最新的版本 Source Codeget

  3. 解壓縮與編譯程式:
    [root@hcserver tmp] # tar zxvf wxPython-src-2.6.2.1.tar.gz
    [root@hcserver tmp] # cd wxPython-src
    [root@hcserver wxPython-src] # ./configure –prefix=/opt/wx
    [root@hcserver wxPython-src] # make
    [root@hcserver wxPython-src] # make -C contrib/src/animate
    [root@hcserver wxPython-src] # make -C contrib/src/gizmos
    [root@hcserver wxPython-src] #make -C contrib/src/stc
    [root@hcserver wxPython-src] # make install
    [root@hcserver wxPython-src] # make -C contrib/src/animate install
    [root@hcserver wxPython-src] # make -C contrib/src/gizmos install
    [root@hcserver wxPython-src] # make -C contrib/src/stc install
    [root@hcserver wxPython-src] # cd wxPython
    [root@hcserver wxPython] # python setup.py WX_CONFIG=”/opt/wx/bin/wx-config –no-rpaht” build_exe build installit

  4. 完工im

相关文章
相关标签/搜索