安装kdevelop3.4 on redhat9

安装kdevelop3.4 on redhat9
我看了网上很多关于这个内容的网页,关于redhat9上的安装不多,我摸索了一段时间,终于装好了kdevelop3.4,我也只能做到这种程度了。

有不对的地方,或者是不好的,请大家指正,帮修改过来

希望对还没有 装成功的朋友有点启发。



我的安装过程:

在这个文件.bash_profile中加入
QTDIR=/usr/local/qt
KDEDIR=/usr/local/kde
PATH=$QTDIR/bin:$KDEDIR/bin:/usr/local/BerkeleyDB.4.5/bin:$PATH
MANPATH=$QTDIR/doc/man:$MANPATH
LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib:/usr/local/BerkeleyDB.4.5/lib:$LD_LIBRARY_PAT
export QTDIR PATH MANPATH LD_LIBRARY_PATH KDEDIR


install openssl(it's necessary for qt4.3)
./config
make
make install
ln -s /usr/local/ssl/include/openssl/ /usr/include/openssl
mv /usr/lib/libcrypto.a /usr/lib/libcrypto.a.old
mv /usr/lib/bssl.a /usr/lib/libssl.a.old
ln -s /usr/local/ssl/lib/libcrypto.a /usr/lib/libcrypto.a
ln -s /usr/local/ssl/lib/libssl.a /usr/lib/libssl.a



how to install QT
tar zxvf qt-x11-free-3.3.8.tar -C ./myprogram
mv ./myprogram/qt-x11-free-3.3.8.tar /usr/local/qt
cd /usr/local
./configure -thread
gmake
gmake install



install autoconf-2.61
./configure
make
make check
make install





install arts-1.5.6.tar.bz2
./configure
make
make install



install pcre-7.2
./configure
make
make install


install kdelibs-3.5.7
./configure
make
make install


install db-4.5.20.tar.gz(Berkeley DB 4.5.20 )
tar zxvf db-.5.20.tar.gz -C /usr/local/
cd /usr/local/db-.5.20
cd ./build-unix
../dist/configure
make
make install



(apr 和apr-util )都在httpd-2.2.4.tar.bz2 中

install apr
tar jxvf httpd-2.2.4.tar.bz2 -C ./myprogram/
cd ./myprogram/httpd-2.2.4/srclib/apr
./configure
make
make install


install apr-util
cd ./myprogram/httpd-2.2.4/srclib/apr-util
./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr/
make
make install


install graphviz-2.12.tar.gz
./configure
make
make install


install kdevelop-3.4.1
./configure --with-db-includedir=/usr/local/BerkeleyDB.4.5/include/ --with-db-libdir=/usr/local/BerkeleyDB.4.5/lib/ --with-apr-config=/usr/local/apr/bin/apr-1-config --with-apu-config=/usr/local/apr-util/bin/apu-1-config --disable-subversion
make
make install


app
/usr/local/kde/bin/kdevelop

icon
/usr/share/icons/Bluecurve/48x48/apps/kdevelop.png



when you run first project ,you got "/bin/sh: line 1: konsole command not found"
solve:
Project->Project Options->Run options
un-select "Start in external terminal.






question1:

configure:33221: error: Qt (>= Qt 3.3 and < 4.0) (library qt-mt) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!

solve:
make cleanconf
./configure -thread



question2:
checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!

solve:
su
export LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib:$LD_LIBRARY_PAT


question3:
checking for Berkeley DB >= 4.1... configure: error: no - please install Berkeley DB >= 4.1

solve:
install Berkeley DB
set the path to the configure(kdevelop)

你可能感兴趣的:(thread,redhat,command,qt,Path,library)