扫描二维码关注官方公众号
返回列表 发布新帖

ls安装Amule

5975 14
发表于 2009-3-3 01:38:20 | 显示全部楼层 阅读模式

来吧兄弟,一起玩一起讨论!

您需要 登录 才可以下载或查看,没有账号?注册

×
今天看了一下,发现Linux下还需要编译才可以,不知道OPTware是否也需要
下载如下:
<re/cs08q1armel/cross/unstable/amule_2.2.3-1_arm.ipk
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable
/amule_2.2.3-1_arm.ipk
Installing amule (2.2.3-1) to root...
Installing libstdc++ (6.0.3-6) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/stable/l
ibstdc++_6.0.3-6_arm.ipk
Installing wxbase (2.8.7-1) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/stable/w
xbase_2.8.7-1_arm.ipk
Installing expat (2.0.1-1) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/stable/e
xpat_2.0.1-1_arm.ipk
Installing libpng (1.2.35-1) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/stable/l
ibpng_1.2.35-1_arm.ipk
Installing libgd (2.0.35-2) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/stable/l
ibgd_2.0.35-2_arm.ipk
Installing libjpeg (6b-2) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/stable/l
ibjpeg_6b-2_arm.ipk
Installing freetype (2.3.6-1) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/stable/f
reetype_2.3.6-1_arm.ipk
Installing fontconfig (2.5.0-0) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/stable/f
ontconfig_2.5.0-0_arm.ipk
Installing gconv-modules (2.3.6-1) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/stable/g
conv-modules_2.3.6-1_arm.ipk
Installing readline (5.2-2) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/stable/r
eadline_5.2-2_arm.ipk
Installing ncurses (5.7-1) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/stable/n
curses_5.7-1_arm.ipk
Configuring amule
Configuring expat
Configuring fontconfig
Configuring freetype
Configuring gconv-modules
Configuring libgd
Configuring libjpeg
Configuring libpng
Configuring libstdc++
Configuring ncurses
update-alternatives: Linking //opt/bin/clear to /opt/bin/ncurses-clear
Configuring readline
Configuring wxbase
Successfully terminated.

只运行了一个,不知道为啥安装这么多,启动时抱错:
[email=root@LS-CHL94D:/]root@LS-CHL94D:/[/email]# amuled
amuled: /opt/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by
amuled)
[email=root@LS-CHL94D:/]root@LS-CHL94D:/[/email]# amuled -f
amuled: /opt/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by
amuled)

编译也出错
[email=root@LS-CHL94D:/usr/local]root@LS-CHL94D:/usr/local[/email]# #cd wxBase
<6.1;./configure;make;make install; /sbin/ldconfig;cd ..
-sh: 6.1: command not found
-sh: ./configure: No such file or directory
-sh: make: command not found
-sh: make: command not found
[email=root@LS-CHL94D:/usr]root@LS-CHL94D:/usr[/email]# #wxGTK
<configure --with-gtk;make;make install;make clean;cd ..
-sh: 6.1: command not found
-sh: ./configure: No such file or directory
-sh: make: command not found
-sh: make: command not found
-sh: make: command not found

有没有高手已近用了的看看

评论14

剑二十三Lv.5 发表于 2009-3-3 10:05:30 | 显示全部楼层
ipkg update;ipkg upgrade试试
cs08q1armel的libc也升级了
我的Blog
https://sword-k23.rhcloud.com/blog/
回复 点赞

使用道具 举报

rafaleLv.4 发表于 2009-3-3 10:52:22 | 显示全部楼层
这是我的ldd
~# ldd /opt/bin/amuled
        libpthread.so.0 => /lib/libpthread.so.0 (0x40026000)
        libz.so.1 => /opt/lib/libz.so.1 (0x40046000)
        libwx_baseu_net-2.8.so.0 => /opt/lib/libwx_baseu_net-2.8.so.0 (0x40057000)
        libwx_baseu-2.8.so.0 => /opt/lib/libwx_baseu-2.8.so.0 (0x40086000)
        libstdc++.so.6 => /opt/lib/libstdc++.so.6 (0x401c1000)
        libm.so.6 => /lib/libm.so.6 (0x40296000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x40345000)
        libc.so.6 => /lib/libc.so.6 (0x40359000)
        /lib/ld-linux.so.3 (0x40000000)
        libdl.so.2 => /lib/libdl.so.2 (0x40488000)
回复 点赞

使用道具 举报

rafaleLv.4 发表于 2009-3-3 10:54:06 | 显示全部楼层
还有libstdc++包
~# ipkg list_installed|grep libstd
libstdc++ - 6.0.9-6 - Standard C++ library, needed for dynamically linked C++ programs
回复 点赞

使用道具 举报

zyluck999楼主Lv.3 发表于 2009-3-3 13:47:36 | 显示全部楼层
装好的兄弟能不能分享一下过程,简单点也行
回复 点赞

使用道具 举报

rafaleLv.4 发表于 2009-3-3 15:46:09 | 显示全部楼层
运行这个,看你究竟缺什么动态库
ldd /opt/bin/amuled
回复 点赞

使用道具 举报

rafaleLv.4 发表于 2009-3-3 15:47:04 | 显示全部楼层
缺libstdc++的话,就ipkg update,然后ipkg upgrade libstdc++.
回复 点赞

使用道具 举报

i6pLv.2 发表于 2009-3-3 21:54:41 | 显示全部楼层
根据rafale的方法装上了.
增加个http://ipkg.nslu2-linux.org/feed ... mel/cross/unstable/
找个server.met文件扔到.aMuled目录下,然后启动,那样连接服务器就有保障了.
回复 点赞

使用道具 举报

rafaleLv.4 发表于 2009-3-3 23:06:28 | 显示全部楼层
楼上的,可以把server.met地址写到address.dat。这样开机会自动下载。
amule# cat addresses.dat
http://www.emule.org.cn/server.met
http://upd.emule-security.net/server.met

但是我发现我的amule过一天基本服务器都failed被删掉了。老是需要reload servermet,不然就靠kad太慢了
回复 点赞

使用道具 举报

i6pLv.2 发表于 2009-3-4 09:33:55 | 显示全部楼层
楼上的,可以把server.met地址写到address.dat。这样开机会自动下载。
amule# cat addresses.dat
http://www.emule.org.cn/server.met
http://upd.emule-security.net/server.met

但是我发现我的amule过一天基本服 ...
rafale 发表于 2009-3-3 23:06

是呀。运行后下次没连上的服务器就被咔嚓了。。。。还以为哪里可以设置不删除未连上的服务器的。。。。。
回复 点赞

使用道具 举报

i6pLv.2 发表于 2009-3-4 09:37:09 | 显示全部楼层
addresses.dat在什么位置?自己建一个? find不到有这文件。。。
回复 点赞

使用道具 举报

rafaleLv.4 发表于 2009-3-4 09:53:16 | 显示全部楼层
是呀。运行后下次没连上的服务器就被咔嚓了。。。。还以为哪里可以设置不删除未连上的服务器的。。。。。
i6p 发表于 2009-3-4 09:33


在amule.conf里面,改完需要重启amuled。如果是GUI可以直接改

把removedeadserver改为0就不会删了

RemoveDeadServer=1
DeadServerRetry=8

address.dat要自己建
回复 点赞

使用道具 举报

i6pLv.2 发表于 2009-3-4 10:00:47 | 显示全部楼层
搞掂~~~3Q。。。。。好用。。。呵呵
回复 点赞

使用道具 举报

zyluck999楼主Lv.3 发表于 2009-3-4 23:48:16 | 显示全部楼层
这是我LDD
root@LS-CHL94D:~# ldd /opt/bin/amuled
/opt/bin/amuled: /opt/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (req
uired by /opt/bin/amuled)
        libpthread.so.0 => /lib/libpthread.so.0 (0x40026000)
        libz.so.1 => /opt/lib/libz.so.1 (0x40046000)
        libwx_baseu_net-2.8.so.0 => /opt/lib/libwx_baseu_net-2.8.so.0 (0x4005700
0)
        libwx_baseu-2.8.so.0 => /opt/lib/libwx_baseu-2.8.so.0 (0x4008a000)
        libstdc++.so.6 => /opt/lib/libstdc++.so.6 (0x401cc000)
        libm.so.6 => /lib/libm.so.6 (0x40291000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x40340000)
        libc.so.6 => /lib/libc.so.6 (0x40354000)
        /lib/ld-linux.so.3 (0x40000000)
        libdl.so.2 => /lib/libdl.so.2 (0x40483000
手工升级没有任何反应。。。
root@LS-CHL94D:~# ipkg update
Downloading http://ipkg.nslu2-linux.org/feed ... /stable/Packages.gz
Inflating http://ipkg.nslu2-linux.org/feed ... /stable/Packages.gz
Updated list of available packages in /opt/lib/ipkg/lists/cross
Successfully terminated.
root@LS-CHL94D:~# ipkg upgrade
Nothing to be done
Successfully terminated.
root@LS-CHL94D:~# ipkg upgrade libstdc++
Nothing to be done
Successfully terminated.
root@LS-CHL94D:~#

用上的兄弟倒是给个过程啊,重装也可以啊
回复 点赞

使用道具 举报

rafaleLv.4 发表于 2009-3-4 23:54:02 | 显示全部楼层
把/opt/etc/ipkg/cross-conf里面的下面这行去掉,
http://ipkg.nslu2-linux.org/feed ... /stable/Packages.gz
,改为
src/gz cross08 http://ipkg.nslu2-linux.org/feed ... rmel/cross/unstable
。然后ipkg remove libstdc++, ipkg update ,ipkg install libstdc++.
应该就可以了。

另外我找到如何启用自带的openssh了。不用optware的openssh。明天写个教程给大家
回复 点赞

使用道具 举报

回复

懒得打字嘛,点击右侧快捷回复 【本站酷狼4T,750元】
您需要登录后才可以回帖 登录 | 注册

本版积分规则

投诉/建议联系

support@gebi1.cn

未经授权禁止转载,复制和建立镜像,
如有违反,追究法律责任
  • 关注公众号
  • 添加微信客服
Copyright © 2001-2024 隔壁网 版权所有 All Rights Reserved. 粤ICP备14056481号-1
关灯 在本版发帖
扫一扫添加微信客服
返回顶部
快速回复 返回顶部 返回列表