ls安装Amule
今天看了一下,发现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.
只运行了一个,不知道为啥安装这么多,启动时抱错:
root@LS-CHL94D:/# amuled
amuled: /opt/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by
amuled)
root@LS-CHL94D:/# amuled -f
amuled: /opt/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by
amuled)
编译也出错
root@LS-CHL94D:/usr/local# #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
root@LS-CHL94D:/usr# #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
有没有高手已近用了的看看 ipkg update;ipkg upgrade试试
cs08q1armel的libc也升级了 这是我的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) 还有libstdc++包
~# ipkg list_installed|grep libstd
libstdc++ - 6.0.9-6 - Standard C++ library, needed for dynamically linked C++ programs 装好的兄弟能不能分享一下过程,简单点也行 运行这个,看你究竟缺什么动态库
ldd /opt/bin/amuled 缺libstdc++的话,就ipkg update,然后ipkg upgrade libstdc++. 根据rafale的方法装上了.
增加个http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/
找个server.met文件扔到.aMuled目录下,然后启动,那样连接服务器就有保障了. 楼上的,可以把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太慢了 楼上的,可以把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 http://nas1.com.cn/images/common/back.gif
是呀。运行后下次没连上的服务器就被咔嚓了。。。。还以为哪里可以设置不删除未连上的服务器的。。。。。 addresses.dat在什么位置?自己建一个? find不到有这文件。。。
是呀。运行后下次没连上的服务器就被咔嚓了。。。。还以为哪里可以设置不删除未连上的服务器的。。。。。
i6p 发表于 2009-3-4 09:33 http://www.nas1.com.cn/images/common/back.gif
在amule.conf里面,改完需要重启amuled。如果是GUI可以直接改
把removedeadserver改为0就不会删了
RemoveDeadServer=1
DeadServerRetry=8
address.dat要自己建 搞掂~~~3Q。。。。。好用。。。呵呵 这是我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/feeds/optware/cs05q3armel/cross/stable/Packages.gz
Inflating http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/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:~#
用上的兄弟倒是给个过程啊,重装也可以啊 把/opt/etc/ipkg/cross-conf里面的下面这行去掉,
http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/stable/Packages.gz
,改为
src/gz cross08 http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable
。然后ipkg remove libstdc++, ipkg update ,ipkg install libstdc++.
应该就可以了。
另外我找到如何启用自带的openssh了。不用optware的openssh。明天写个教程给大家
页:
[1]