AMD64 ubuntu 7.04下编译安装qbitrotten 0.9.3

包含64位CPU、PPC、龙芯等所有非i386芯片
回复
angus.w
帖子: 16
注册时间: 2007-06-06 10:20
送出感谢: 0
接收感谢: 0

AMD64 ubuntu 7.04下编译安装qbitrotten 0.9.3

#1

帖子 angus.w » 2007-06-17 17:40

AMD64 ubuntu 7.04下编译安装qbitrotten 0.9.3
1.在http://qbittorrent.sourceforge.net/download.php下载libtorren-0.12和qbittorren-0.9.3,并解压缩
2.在新立得软件包管理器中安装如下库(可通过搜索boost找到):
libboost-date-time1.33.1
libboost-date-time-dev
libboost-dev
libboost-filesystem1.33.1
libboost-filesystem-dev
libboost-serialization-dev
libboost-thread1.33.1
libboost-thread-dev
3.cd到libtorrent-0.12的目录下
./configure
make
sudo make install
4.在新立得软件包管理器中安装如下库(可通过搜索"qt 4"找到)
libqt4-core
libqt4-dev
libqt4-gui
libqt4-qt3support
libqt4-sql
5.在新立得软件包管理器中安装如下库(可通过搜索"liburl"找到)
libcurl3
libcurl3-dev
libcurl3-openssl-dev
6.cd到qbittorrent-0.9.3目录下
./confingure
make
sudo make install
-------------------------------------------------------------------------------------
第一次makeqbittorrent的时候出现的以下的错误,未知原因
cd src && make -f Makefile
make[1]: Entering directory `/home/angus/Desktop/qbittorrent-0.9.3/src'
g++ -o qbittorrent GUI.o main.o options_imp.o properties_imp.o createtorrent_imp.o bittorrent.o moc_GUI.o moc_misc.o moc_options_imp.o moc_about_imp.o moc_properties_imp.o moc_createtorrent_imp.o moc_DLListDelegate.o moc_SearchListDelegate.o moc_PropListDelegate.o moc_previewSelect.o moc_PreviewListDelegate.o moc_trackerLogin.o moc_downloadThread.o moc_downloadFromURLImp.o moc_torrentAddition.o moc_deleteThread.o moc_bittorrent.o qrc_icons.o qrc_lang.o qrc_search.o -L/usr/X11R6/lib -L/usr/lib -L/usr/lib/ -L/usr/lib/ -lcurl /zlib/libzlib.la -L/usr/local/lib -lboost_date_time -lboost_filesystem -lboost_thread -ltorrent -lXext -lX11 -lm -lpthread -lQtGui -lQtNetwork -lQtCore
g++: /zlib/libzlib.la:No such file or directory
make[1]: *** [qbittorrent] 错误 1
make[1]: Leaving directory `/home/angus/Desktop/qbittorrent-0.9.3/src'
make: *** [sub-src-make_default] 错误 2

重新编译了一边libtorrent,configure以后没有直接make,而是make check,再进行后边的步骤,终于编译成功
当然,最后要记得要export LD_LIBRARY_PATH=/usr/local/lib,并且把/usr/local/lib这个目录添加到/etc/ld.so.conf里面去
回复

回到 “系统架构支持”