2011年6月1日 星期三

[Ubuntu 10.04] install Kscope 1.6.2

1. GNU c++ compiler
   sudo apt-get install build-essential


2. Install kde
    sudo apt-get install kdelibs4c2a
    sudo apt-get install kdelibs4-dev 


3. Install xorg-dev
    sudo apt-get install xorg-dev


4. Install QT
    sudo apt-get install libqt3-mt-dev 


5. Install flex
    sudo apt-get install flex


6. Install bison
    sudo apt-get install bison


7. download Kscope 
http://sourceforge.net/projects/kscope/files/kscope/


8. compile
$ tar zxvf kscope-1.6.2.tar.gz
$ ./configure --without-arts
$ cd  kscope-1.6.2
- modify src/Makefile 
   original: 
    kscope_LDADD = -lkateinterfaces -lktexteditor $(LIB_KDEUI)
   modified: 
    kscope_LDADD = /usr/lib/libkatepartinterfaces.la -lktexteditor $(LIB_KDEUI)



$ make
$ make install

9. Install cscope
    sudo apt-get install cscope


10. Install dot
    sudo apt-get install graphviz


11. Run kscope
    kscope&

沒有留言:

熱門文章