[Nas-01g] mldonkey 編譯

步驟: 一、下載 mldonkey cd /tmp wget http://nchc.dl.sourceforge.net/sourceforge/mldonkey/mldonkey-2.9.4.tar.bz2 aptitude update ...

步驟:

一、下載 mldonkey

  1. cd /tmp
  2. wget http://nchc.dl.sourceforge.net/sourceforge/mldonkey/mldonkey-2.9.4.tar.bz2
  3. aptitude update
  4. aptitude -y install wget bzip2 netcat ocaml zlib1g ocaml-native-compilers

 

二、解壓縮

  1. bzip2 -d mldonkey-2.9.4.tar.bz2
  2. tar xvf mldonkey-2.9.4.tar

 

三、加入 UTF-8 功能

  1. cd mldonkey-2.9.4
  2. cd src/utils/lib/
  3. nano charsetstubs.c

if (!str)
   raise_error ();
   str="UTF-8"; <=新增這行
   return (copy_string ((char*) str));
}

 

四、編譯 mldonkey

  1. 依功能需求調整參數: [請參閱]
  2. ./configure --enable-filetp --disable-gui --enable-batch
  3. make mlnet.static
  4. 產出 mlnet.static

 

五、放入 Nas-01g

  1. mv mlnet.static /share
  2. 修改 backdoor, 使 Nas-01g能重開機並跳回原廠模式(非debian模式)
  3. 登入Nas-01g, 置換mlnet
  4. 舊檔更名
    mv /mnt/mlnet /mnt/mlnet.old
  5. 放入新檔
    mv /mnt/debian/share/mlnet.static /mnt/mlnet
  6. 完工

 

mobile: formosafox文章

http://mldonkey.sourceforge.net/CompilationProblems

http://mldonkey.sourceforge.net/CompileForDebian

名稱

2330,1,27.5G,1,快速分享,1,李宗瑞,1,抽獎,1,省思,10,研討會,6,風水,2,旅遊,4,書摘,4,健康,3,教學,13,就要醬玩,1,無痛,1,愛美,4,愛情,11,網路資源,43,懶人包,1,Adobe,7,Apollo,5,CHANEL,1,Cisco,3,Coldfusion,13,Colud Storage,1,DD-WRT,8,Dropbox,2,Dropbox 18G,1,Flash,2,Flex,44,Fon,11,Game,1,Kuso,15,Linux,88,Microsoft,13,Movie,7,Nas Server,79,Other,25,Revolution,2,SQL,4,Tip,44,Web,13,
ltr
item
fjufirefox: [Nas-01g] mldonkey 編譯
[Nas-01g] mldonkey 編譯
fjufirefox
https://fjufirefox.blogspot.com/2008/04/nas-01g-mldonkey.html
https://fjufirefox.blogspot.com/
https://fjufirefox.blogspot.com/
https://fjufirefox.blogspot.com/2008/04/nas-01g-mldonkey.html
true
37845053
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share. STEP 2: Click the link you shared to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy