- 论坛徽章:
- 0
|
我打字有那么差么?? 居然yum安装不上
今天,心血来潮想用amule 就去搜索教程
搜到的基本类似如此
http://hi.baidu.com/rockchangp/blog/item/687404f761e28320730eec6e.html
先装wxBase再装 wxGTK,最后装 aMule,安装wxBase后要执行一下 ldconfig命令,wxGTK 编译参数为./configure --with-gtk。
然后,我这里就wxbase么问题 wxgtk么问题 安到关键的东西 aMule
出现如下 类似 这是我最后保存的。
![]()
/usr/local/aMule-2.1.3/src/ColorFrameCtrl.cpp:84: undefined reference to `wxColour::wxColour(unsigned char, unsigned char, unsigned char)'
./libmuleappgui.a(libmuleappgui_a-ColorFrameCtrl.o): In function `CColorFrameCtrl::SetFrameColor(unsigned int)':
/usr/local/aMule-2.1.3/src/ColorFrameCtrl.cpp:70: undefined reference to `wxColour::wxColour(unsigned char, unsigned char, unsigned char)'
./libmuleappgui.a(libmuleappgui_a-ColorFrameCtrl.o): In function `CColorFrameCtrl':
/usr/local/aMule-2.1.3/src/ColorFrameCtrl.cpp:37: undefined reference to `wxColour::wxColour(unsigned char, unsigned char, unsigned char)'
/usr/local/aMule-2.1.3/src/ColorFrameCtrl.cpp:37: undefined reference to `wxColour::wxColour(unsigned char, unsigned char, unsigned char)'
/usr/local/aMule-2.1.3/src/ColorFrameCtrl.cpp:37: undefined reference to `wxColour::wxColour(unsigned char, unsigned char, unsigned char)'
./libmuleappgui.a(libmuleappgui_a-ColorFrameCtrl.o):/usr/local/aMule-2.1.3/src/ColorFrameCtrl.cpp:37: more undefined references to `wxColour::wxColour(unsigned char, unsigned char, unsigned char)' follow
./libmuleappgui.a(libmuleappgui_a-ColorFrameCtrl.o):(.gnu.linkonce.r._ZTV15CColorFrameCtrl+0x4e0): undefined reference to `wxWindow::IsOwnGtkWindow(_GdkDrawable*)'
collect2: ld 返回 1
make[3]: *** [amule] 错误 1
make[3]: Leaving directory `/usr/local/aMule-2.1.3/src'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/usr/local/aMule-2.1.3/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/usr/local/aMule-2.1.3'
我以为又是源码出了问题
然后我换了 2.0.1
出现了You need to install GNU gettext/gettext-tools
我去蒙着 yum install gettext
成功,但 yum install gettext-tools就 nothing to do 了,我想,他们可能是一起的。
菜鸟,就是菜鸟,结果仍然是 You need to install GNU gettext/gettext-tools
我又下了2.1.2 2.1.1 2.1.0 全部是 和2.1.3 一样的错误,
继续寻找,有人建议用yum install amule
结果Parsing package install arguments
nothing to do
气死我也
我又去找 找到 http://www.linuxdiyf.com/bbs/thread-69802-1-1.html
结果还是 如第一此的错误。
我又去下了 aMule-CVS-20080115.tar.bz2 版本,试试,他说要 wxWidgets 》=2.8.0
我先后去安装下载了 wxWidgets-2.8.7.tar.gz wxGTK-2.8.7.tar.gz
结果还是不能编译 仍然说我不对
不过
a.执行命令 ./configure --prefix=/opt/wxWidgets-2.6.4为编译作准备,同时指定了安装目录“/opt/wxWidgets-2.6.4”。该目录你可以指定别处,我个人爱好这个,但建议一定要设置,不要用默认目录。这样方便以后不用了卸载就方便了,直接删文件夹就好了。
这段话,让我想死,卸载准备原来是这么干的,我安装的那些乱七八糟的软件——只好改天在说了。
面对类似这种指定到点的方法——也是收获——仍然持我的版本低于2.8.0
--with-wxdir=/opt/wxWidgets-2.6.4/bin
可能我没有安装好?? 可总得有提示吧。都说的好好的。
最后我搜到了 这个帖子 http://blog.chinaunix.net/u/26625/showart_202764.html
第一步,我说再试一次 yum install amule 居然就成功了!!! 这是复制的人家的 ..我打字有问题??
yum install amule
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
livna 100% |=========================| 2.1 kB 00:00
core 100% |=========================| 1.1 kB 00:00
pidgin 100% |=========================| 951 B 00:00
updates 100% |=========================| 1.2 kB 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for amule to pack into transaction set.
amule-2.1.3-2.lvn6.x86_64 100% |=========================| 37 kB 00:01
---> Package amule.x86_64 0:2.1.3-2.lvn6 set to be updated
--> Running transaction check
--> Processing Dependency: libwx_gtk2u_adv-2.6.so.0()(64bit) for package: amule
--> Processing Dependency: libwx_gtk2u_adv-2.6.so.0(WXU_2.6)(64bit) for package: amule
--> Processing Dependency: libwx_baseu-2.6.so.0(WXU_2.6)(64bit) for package: amule
--> Processing Dependency: libwx_baseu-2.6.so.0()(64bit) for package: amule
--> Processing Dependency: libwx_baseu_net-2.6.so.0(WXU_2.6)(64bit) for package: amule
--> Processing Dependency: libwx_gtk2u_core-2.6.so.0()(64bit) for package: amule
--> Processing Dependency: libwx_gtk2u_core-2.6.so.0(WXU_2.6)(64bit) for package: amule
--> Processing Dependency: libwx_baseu_net-2.6.so.0()(64bit) for package: amule
--> Processing Dependency: libwx_gtk2u_core-2.6.so.0(WXU_2.6.3)(64bit) for package: amule
--> Processing Dependency: libwx_gtk2u_core-2.6.so.0(WXU_2.6.2)(64bit) for package: amule
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for wxGTK to pack into transaction set.
wxGTK-2.6.3-2.6.3.2.3.fc6 100% |=========================| 24 kB 00:00
---> Package wxGTK.x86_64 0:2.6.3-2.6.3.2.3.fc6 set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
amule x86_64 2.1.3-2.lvn6 livna 4.2 M
Installing for dependencies:
wxGTK x86_64 2.6.3-2.6.3.2.3.fc6 extras 3.5 M
Transaction Summary
=============================================================================
Install 2 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 7.7 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): wxGTK-2.6.3-2.6.3. 100% |=========================| 3.5 MB 04:06
(2/2): amule-2.1.3-2.lvn6 100% |=========================| 4.2 MB 01:41
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: wxGTK ######################### [1/2]
Installing: amule ######################### [2/2]
Installed: amule.x86_64 0:2.1.3-2.lvn6
Dependency Installed: wxGTK.x86_64 0:2.6.3-2.6.3.2.3.fc6
Complete!
不管后面如何设置,我终于见到界面了... 啊啊啊 !! 太辛苦了,可怜的我居然
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/59435/showart_465101.html |
|