您的访问可能来自境外运营商(US),建议使用bbs4地址提升访问体验
查看: 5222|回复: 6

[杂谈] 编译aMule-dlp

 关闭 [复制链接]
发表于 2012-8-5 02:04:55 | 显示全部楼层 |阅读模式
本帖最后由 yx_wh 于 2012-8-5 02:15 编辑

今天发现 http://loli.lu/ 已经关闭了(果然该来的还是会来么),transmission拖新种子无压力,就是老物没办法。
又准备把aMule拿出来折腾了一下,不过发现好多渣雷在吸血呢,于是准备用DLP(上一次用DLP似乎还是去年在Windows下用Xtreme的事情了)
dlp在以下地方取得:
https://code.google.com/p/amule- ... ch&can=2&q=
注意,需要1.3.1rc1版本的,不要用正式版的。下载到源代码之后

  1. % patch -p0 < ./aMule-2.3.1rc1-DLP4401.patch
  2. % ./configure --prefix=/usr --disable-debug --enable-optimize --with-denoise-level=3  --disable-upnp  --enable-geoip --enable-nls --enable-amule-daemon --enable-amulecmd --disable-webserver --enable-alcc --enable-alc --enable-cas  --enable-mmap

  3. % make
  4. Compiling DownloadQueue.cpp
  5. In file included from DownloadQueue.h:30:0,
  6.                  from DownloadQueue.cpp:26:
  7. ObservableQueue.h: In instantiation of ‘void CObservableQueue<ValueType>::ObserverAdded(CObservableQueue<ValueType>::ObserverType*) [with ValueType = CPartFile*; CObservableQueue<ValueType>::ObserverType = CObserver<CQueueEvent<CPartFile*> >]’:
  8. DownloadQueue.cpp:1535:32:   required from here
  9. ObservableQueue.h:334:2: error: ‘NotifyObservers’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
  10. ObservableQueue.h:334:2: note: declarations in dependent base ‘CObservable<CQueueEvent<CPartFile*> >’ are not found by unqualified lookup
  11. ObservableQueue.h:334:2: note: use ‘this->NotifyObservers’ instead
  12. ObservableQueue.h: In instantiation of ‘void CObservableQueue<ValueType>::ObserverRemoved(CObservableQueue<ValueType>::ObserverType*) [with ValueType = CPartFile*; CObservableQueue<ValueType>::ObserverType = CObserver<CQueueEvent<CPartFile*> >]’:
  13. DownloadQueue.cpp:1672:1:   required from here
  14. ObservableQueue.h:341:2: error: ‘NotifyObservers’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
  15. ObservableQueue.h:341:2: note: declarations in dependent base ‘CObservable<CQueueEvent<CPartFile*> >’ are not found by unqualified lookup
  16. ObservableQueue.h:341:2: note: use ‘this->NotifyObservers’ instead
  17. make[3]: *** [amule-DownloadQueue.o] Error 1
  18. make[2]: *** [all-recursive] Error 1
  19. make[1]: *** [all-recursive] Error 1
  20. make: *** [all] Error 2
复制代码
make报错。经搜索
https://aur.archlinux.org/packages.php?ID=31269
报告了这个问题,到
http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=10;bug=674375
这里再打一个patch就可以了。另外多核心例如双核可以用make -j2加快速度
回复

使用道具 举报

发表于 2012-8-5 08:32:16 | 显示全部楼层
下不了。。。。悲剧。也懒得换代服了。
前排膜拜菊苣。。。
回复 支持 反对

使用道具 举报

发表于 2012-8-5 22:37:27 | 显示全部楼层
  1. sudo apt-get install amule amule-daemon amule-utils amule-gnome-support amule-dlp
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2012-8-10 18:01:33 | 显示全部楼层
考砸→跳楼 发表于 2012-8-5 22:37



    debian源里面没有……
回复 支持 反对

使用道具 举报

发表于 2012-8-10 20:37:44 | 显示全部楼层
[幸运际遇] 火星人考砸→跳楼因觉地球太危险了,特意花费星空币5,搭乘NASA火星探测器返回故乡

debian源里面没有……
yx_wh 发表于 2012-8-10 18:01



请查看您的/etc/apt/source.list
确保universe源没有被注释掉
  1. deb http://cn.archive.ubuntu.com/ubuntu/ oneiric universe
  2. deb-src http://cn.archive.ubuntu.com/ubuntu/ oneiric universe
  3. deb http://cn.archive.ubuntu.com/ubuntu/ oneiric-updates universe
  4. deb-src http://cn.archive.ubuntu.com/ubuntu/ oneiric-updates universe
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2012-8-10 21:43:01 | 显示全部楼层
回复 6# 考砸→跳楼


    我是蝶变,不是呜贲兔。混用debian 和ubuntu源还是不太好吧……
但是arch的源里面倒是有
回复 支持 反对

使用道具 举报

发表于 2012-8-10 23:39:28 | 显示全部楼层
[幸运际遇] 考砸→跳楼向调教曲奇m的s们兜售皮鞭蜡烛高跟鞋大赚特赚,净挣星空币8


回复  考砸→跳楼


    我是蝶变,不是呜贲兔。混用debian 和ubuntu源还是不太好吧……
但是arch的源 ...
yx_wh 发表于 2012-8-10 21:43



    终于有人把Debian的中文名说对了
以前一直有人大便大便这样叫,咱很为难。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|Archiver|星空网

Powered by Discuz! , Design by Seraphoenix && 北北″.

GMT+8, 2024-3-29 20:09 , Processed in 24 ms, 15 queries, 0.24 loads , Redis On.

Copyright © 2009-2023 Seikuu. All Rights Reserved.

快速回复 返回顶部 返回列表