当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 16 篇帖子 ]  前往页数 1, 2  下一页
作者 内容
1 楼 
 文章标题 : 编译mldonkey3.0.7出问题了,高手请进看看!
帖子发表于 : 2011-03-23 20:30 
头像

注册: 2010-04-24 12:51
帖子: 35
送出感谢: 1
接收感谢: 0 次
我在编译mldonkey3.0.7时使用./configure --enable-force-upnp-natpmp参数,编译过程也顺利完成,也生成了mlnet文件,但在运行时出了问题!!!!!
请看:
canbao@canbao-maxwell:~$ cd mldonkey
canbao@canbao-maxwell:~/mldonkey$ ./configure --enable-force-upnp-natpmp
Running Autoconf (autoconf)...
Running m4 to generate Makefile...
Arguments to configure: '--enable-option-checking=fatal' '--enable-force-upnp-natpmp'
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
configure: checking CVS checkout date
checking for stat... stat
checking for sed... sed
checking for cut... cut

--------------------------------
Checking system tools.
--------------------------------
checking for ranlib... ranlib
checking for gmake... no
checking for make... make
checking if make is GNU make ... yes
checking for bzip2... bzip2
checking for gzip... (cached) bzip2
checking for perl... /usr/bin/perl
checking for rpmbuild... no
checking for rpm... no
checking for wget... wget
----------------------------------------
Checking system tools finished.
----------------------------------------

--------------------------------
Checking Ocaml compiler.
--------------------------------
checking for ocamlc.opt... /usr/local/bin/ocamlc.opt
checking for ocamlc... /usr/local/bin/ocamlc.opt
checking for camlp4... /usr/local/bin/camlp4
checking for ocamlopt.opt... ocamlopt.opt
checking for ocamlopt... (cached) ocamlopt.opt
checking for ocamldep... ocamldep
checking for ocamllex.opt... ocamllex.opt
checking for ocamllex... (cached) ocamllex.opt
checking for ocamlyacc... ocamlyacc
checking for ocamldoc... ocamldoc
checking for ocamlmktop... ocamlmktop
checking for camlp4... /usr/local/bin/camlp4
checking for camlp4of... camlp4of
-------------------------------------------
Checking Ocaml 3.12.0 finished.
-------------------------------------------

----------------------------------
Checking system headers.
----------------------------------
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for setrlimit... yes
checking for getrlimit... yes
checking for strerror_r... yes
checking for strerror... yes
checking for posix_fallocate... yes
checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... yes
checking for sys/resource.h... yes
checking for netinet/in_systm.h... yes
checking for netinet/in.h... yes
checking for netinet/ip.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking for poll... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking for sys/param.h... yes
checking for sys/mount.h... yes
-------------------------------------------
Checking system headers finished.
-------------------------------------------

-----------------------------------
Checking system libraries.
-----------------------------------
----- checking zlib (required)
checking for inflate in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for zlibVersion in -lz... yes
----- checking bzlib (optional)
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for BZ2_bzReadOpen in -lbz2... yes
checking for BZ2_bzlibVersion in -lbz2... yes
--2011-03-23 20:10:39-- http://miniupnp.tuxfamily.org/files/min ... 609.tar.gz
Resolving miniupnp.tuxfamily.org... 212.85.158.4
Connecting to miniupnp.tuxfamily.org|212.85.158.4|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 50390 (49K) [application/x-gzip]
Saving to: `miniupnpc-1.4.20100609.tar.gz'

100%[======================================>] 50,390 19.5K/s in 2.5s

2011-03-23 20:10:43 (19.5 KB/s) - `miniupnpc-1.4.20100609.tar.gz' saved [50390/50390]

--2011-03-23 20:10:43-- http://miniupnp.tuxfamily.org/files/lib ... 202.tar.gz
Resolving miniupnp.tuxfamily.org... 212.85.158.4
Connecting to miniupnp.tuxfamily.org|212.85.158.4|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 17231 (17K) [application/x-gzip]
Saving to: `libnatpmp-20100202.tar.gz'

100%[======================================>] 17,231 13.3K/s in 1.3s

2011-03-23 20:10:45 (13.3 KB/s) - `libnatpmp-20100202.tar.gz' saved [17231/17231]

gcc -O -fPIC -Wall -DENABLE_STRNATPMPERR -c -o natpmp.o natpmp.c
gcc -O -fPIC -Wall -DENABLE_STRNATPMPERR -c -o getgateway.o getgateway.c
ar crs libnatpmp.a natpmp.o getgateway.o
gcc -shared -Wl,-soname,libnatpmp.so.0 -o libnatpmp.so natpmp.o getgateway.o
gcc -O -fPIC -Wall -DENABLE_STRNATPMPERR -c -o testgetgateway.o testgetgateway.c
gcc --no-undefined testgetgateway.o getgateway.o -o testgetgateway
gcc -O -fPIC -Wall -DENABLE_STRNATPMPERR -c -o natpmpc.o natpmpc.c
gcc -o natpmpc-shared natpmpc.o libnatpmp.so
gcc -o natpmpc-static natpmpc.o libnatpmp.a
install -d /home/canbao/mldonkey/patches/local/usr/include
install --mode=644 natpmp.h /home/canbao/mldonkey/patches/local/usr/include
install -d /home/canbao/mldonkey/patches/local/usr/lib
install --mode=644 libnatpmp.a /home/canbao/mldonkey/patches/local/usr/lib
install --mode=644 libnatpmp.so /home/canbao/mldonkey/patches/local/usr/lib/libnatpmp.so.0
install --mode=755 natpmpc-shared /home/canbao/mldonkey/patches/local/usr/bin/natpmpc
ln --symbolic --force libnatpmp.so.0 /home/canbao/mldonkey/patches/local/usr/lib/libnatpmp.so
cc -fPIC -O -Wall -DNDEBUG -DMINIUPNPC_SET_SOCKET_TIMEOUT -c -o minixmlvalid.o minixmlvalid.c
cc -fPIC -O -Wall -DNDEBUG -DMINIUPNPC_SET_SOCKET_TIMEOUT -c -o minixml.o minixml.c
cc minixmlvalid.o minixml.o -o minixmlvalid
minixml validation test
./minixmlvalid
14 events
touch validateminixml
/bin/sh updateminiupnpcstrings.sh
Detected OS [Ubuntu] version [10.10]
setting OS_STRING macro value to Ubuntu/10.10 in miniupnpcstrings.h.
cc -fPIC -O -Wall -DNDEBUG -DMINIUPNPC_SET_SOCKET_TIMEOUT -c -o miniwget.o miniwget.c
cc -fPIC -O -Wall -DNDEBUG -DMINIUPNPC_SET_SOCKET_TIMEOUT -c -o igd_desc_parse.o igd_desc_parse.c
cc -fPIC -O -Wall -DNDEBUG -DMINIUPNPC_SET_SOCKET_TIMEOUT -c -o minisoap.o minisoap.c
cc -fPIC -O -Wall -DNDEBUG -DMINIUPNPC_SET_SOCKET_TIMEOUT -c -o miniupnpc.o miniupnpc.c
cc -fPIC -O -Wall -DNDEBUG -DMINIUPNPC_SET_SOCKET_TIMEOUT -c -o upnpreplyparse.o upnpreplyparse.c
cc -fPIC -O -Wall -DNDEBUG -DMINIUPNPC_SET_SOCKET_TIMEOUT -c -o upnpcommands.o upnpcommands.c
cc -fPIC -O -Wall -DNDEBUG -DMINIUPNPC_SET_SOCKET_TIMEOUT -c -o upnperrors.o upnperrors.c
cc -fPIC -O -Wall -DNDEBUG -DMINIUPNPC_SET_SOCKET_TIMEOUT -c -o connecthostport.o connecthostport.c
cc -fPIC -O -Wall -DNDEBUG -DMINIUPNPC_SET_SOCKET_TIMEOUT -c -o minissdpc.o minissdpc.c
ar crs libminiupnpc.a miniwget.o minixml.o igd_desc_parse.o minisoap.o miniupnpc.o upnpreplyparse.o upnpcommands.o upnperrors.o connecthostport.o minissdpc.o
cc -fPIC -O -Wall -DNDEBUG -DMINIUPNPC_SET_SOCKET_TIMEOUT -c -o upnpc.o upnpc.c
cc -o upnpc-static upnpc.o libminiupnpc.a
cc -fPIC -O -Wall -DNDEBUG -DMINIUPNPC_SET_SOCKET_TIMEOUT -c -o testminixml.o testminixml.c
cc testminixml.o minixml.o igd_desc_parse.o -o testminixml
cc -fPIC -O -Wall -DNDEBUG -DMINIUPNPC_SET_SOCKET_TIMEOUT -c -o testupnpreplyparse.o testupnpreplyparse.c
cc testupnpreplyparse.o minixml.o upnpreplyparse.o -o testupnpreplyparse
cc -fPIC -O -Wall -DNDEBUG -DMINIUPNPC_SET_SOCKET_TIMEOUT -c -o testigddescparse.o testigddescparse.c
testigddescparse.c: In function 'main':
testigddescparse.c:58: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
cc testigddescparse.o igd_desc_parse.o minixml.o miniupnpc.o miniwget.o upnpcommands.o upnpreplyparse.o minisoap.o connecthostport.o minissdpc.o -o testigddescparse
cc -fPIC -O -Wall -DNDEBUG -DMINIUPNPC_SET_SOCKET_TIMEOUT -c -o testminiwget.o testminiwget.c
cc testminiwget.o miniwget.o miniupnpc.o minisoap.o upnpcommands.o upnpreplyparse.o minixml.o igd_desc_parse.o connecthostport.o minissdpc.o -o testminiwget
cc -shared -Wl,-soname,libminiupnpc.so.5 -o libminiupnpc.so miniwget.o minixml.o igd_desc_parse.o minisoap.o miniupnpc.o upnpreplyparse.o upnpcommands.o upnperrors.o connecthostport.o minissdpc.o
cc -o upnpc-shared upnpc.o libminiupnpc.so
install -d /home/canbao/mldonkey/patches/local/usr/include/miniupnpc
install -m 644 miniupnpc.h miniwget.h upnpcommands.h igd_desc_parse.h upnpreplyparse.h upnperrors.h declspec.h /home/canbao/mldonkey/patches/local/usr/include/miniupnpc
install -d /home/canbao/mldonkey/patches/local/usr/lib
install -m 644 libminiupnpc.a /home/canbao/mldonkey/patches/local/usr/lib
install -m 644 libminiupnpc.so /home/canbao/mldonkey/patches/local/usr/lib/libminiupnpc.so.5
ln -fs libminiupnpc.so.5 /home/canbao/mldonkey/patches/local/usr/lib/libminiupnpc.so
install -d /home/canbao/mldonkey/patches/local/usr/bin
install -m 755 upnpc-shared /home/canbao/mldonkey/patches/local/usr/bin/upnpc
----- checking libminiupnpc >= 1.4.20100609 (optional)
checking miniupnpc/miniupnpc.h usability... yes
checking miniupnpc/miniupnpc.h presence... yes
checking for miniupnpc/miniupnpc.h... yes
checking for upnpDiscover in -lminiupnpc... yes
----- checking libnatpmp >= 20100202 (optional)
checking natpmp.h usability... yes
checking natpmp.h presence... yes
checking for natpmp.h... yes
checking for initnatpmp in -lnatpmp... yes
----- checking libmagic (GNU file) (optional)
checking magic.h usability... yes
checking magic.h presence... yes
checking for magic.h... yes
checking for magic_file in -lmagic... yes
checking whether MAGIC_ERROR is declared... yes
----- checking gd (optional)
checking for gdlib-config... gdlib-config
checking for libgd > 2.0.14... 2.0.36
checking gd.h usability... yes
checking gd.h presence... yes
checking for gd.h... yes
checking for gdImageCreate in -lgd... yes
checking for libpng-config... libpng-config
checking for png_create_read_struct in -lpng... yes
checking for gdImagePng in -lgd... yes
checking for png support in libgd... yes
checking for png_access_version_number in -lpng... yes
checking for jpeg_CreateCompress in -ljpeg... yes
checking for gdImageJpeg in -lgd... yes
checking for jpeg support in libgd... yes
----- checking iconv (optional)
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for locale_charset... no
configure: found nl_langinfo(CODESET)
checking for locale_charset in -lcharset... no
checking libcharset.h usability... no
checking libcharset.h presence... no
checking for libcharset.h... no
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
----- checking thread support (optional, strongly advised)
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... gcc
----- GNU C Library version
checking linux/limits.h usability... yes
checking linux/limits.h presence... yes
checking for linux/limits.h... yes
checking gnu/libc-version.h usability... yes
checking gnu/libc-version.h presence... yes
checking for gnu/libc-version.h... yes
checking for GNU C Library version... 2.12.1
---------------------------------------------
Checking system libraries finished.
---------------------------------------------

--------------------------------------
Checking activated networks.
--------------------------------------
checking eDonkey... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for g++... g++
checking eMule SUI... yes
checking whether g++ accepts -fno-omit-frame-pointer... yes
checking whether g++ accepts -mno-omit-leaf-frame-pointer... yes
checking BitTorrent... yes
checking FileTP... yes
checking Fasttrack... yes
checking DirectConnect... yes
-----------------------------------------------
Checking activated networks finished.
-----------------------------------------------
configure: creating ./config.status
config.status: creating Makefile.config
config.status: creating mldonkey.rc
config.status: creating ../src/utils/lib/autoconf.ml.new
config.status: creating ../src/utils/lib/gAutoconf.ml.new
config.status: creating ../src/utils/bitstring/bitstring.ml
config.status: creating ../src/utils/lib/magic.ml
config.status: creating ../src/networks/donkey/donkeySui.ml
config.status: creating ../src/daemon/driver/driverGraphics.ml
config.status: creating ../packages/rpm/mldonkey.spec
config.status: creating ../packages/rpm/Makefile
config.status: creating ../packages/slackware/mldonkey.options
config.status: creating config.h

Building dependencies (if it blocks, try 'make depend' to see the problem)

Configuring MLDonkey 3.0.7.CVS - SCM: 2011-03-22 18:04:39 completed.

Network modules:
- eDonkey enabled (eMule SUI enabled)
- BitTorrent enabled
- FileTP (aka wget) enabled
- Fasttrack enabled
- Gnutella disabled - unmaintained
- Gnutella2 disabled - unmaintained
- Direct Connect enabled
- Open Napster disabled - currently not usable
- Soulseek disabled - currently not usable
- OpenFT disabled - currently not usable

Core features:
- zlib (required) enabled
- threads enabled
- bzip2 enabled
- iconv enabled
- libmagic enabled
- upnp & natpmp enabled
- graphical stats enabled
- png support enabled
- jpg support enabled

Compilers:
- Ocaml version 3.12.0
- gcc version 4.4.5
- g++ version 4.4.5

Now execute 'make' to start compiling. Good luck!

To compile a static code execute: make mlnet.static
To produce a release tarball execute: make release.mlnet.static
To clean the build directory execute: make maintainerclean

Compiling CryptoPP.cc can take several minutes, on slow machines up to half an hour.
canbao@canbao-maxwell:~/mldonkey$



然后运行make并编译成功生成了mlnet,但运行mlnet后出现错误:

canbao@canbao-maxwell:~/mldonkey$ ./mlnet
./mlnet: error while loading shared libraries: libminiupnpc.so.5: cannot open shared object file: No such file or directory
canbao@canbao-maxwell:~/mldonkey$


如图:
附件:
Screenshot-1.png
Screenshot-1.png [ 86.67 KiB | 被浏览 2197 次 ]



请大家帮我解决一下,先谢了!


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 编译mldonkey3.0.7出问题了,高手请进看看!
帖子发表于 : 2011-03-23 21:14 
头像

注册: 2009-01-19 15:09
帖子: 1982
送出感谢: 4
接收感谢: 8
libminiupnpc.so.5?是不是没有安装相关的东西?


_________________
坚守在linux的天堂!


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 编译mldonkey3.0.7出问题了,高手请进看看!
帖子发表于 : 2011-03-27 21:24 

注册: 2006-02-03 17:29
帖子: 12
送出感谢: 0 次
接收感谢: 0 次
其实你已经成功编译了mldonkey,而且支持UPNP。只是因为使用--enable-force-upnp-natpmp这个参数,它会自动下载UPNP的lib库,但是没有安装到系统中,你可以在你的mlkonkey源代码目录里找到一个叫PATCHES的目录,在里面的local下面就是UPNP的库文件,把它拷贝到系统相应的目录里,再运行mlnet就OK了。祝好运。


页首
 用户资料  
 
4 楼 
 文章标题 : Re: 编译mldonkey3.0.7出问题了,高手请进看看!
帖子发表于 : 2011-03-27 21:39 
头像

注册: 2010-04-24 12:51
帖子: 35
送出感谢: 1
接收感谢: 0 次
skywalker_zh 写道:
其实你已经成功编译了mldonkey,而且支持UPNP。只是因为使用--enable-force-upnp-natpmp这个参数,它会自动下载UPNP的lib库,但是没有安装到系统中,你可以在你的mlkonkey源代码目录里找到一个叫PATCHES的目录,在里面的local下面就是UPNP的库文件,把它拷贝到系统相应的目录里,再运行mlnet就OK了。祝好运。



请问我该把它拷贝到我系统的哪个目录里?


附件:
Screenshot-2.png
Screenshot-2.png [ 24.94 KiB | 被浏览 2146 次 ]



页首
 用户资料  
 
5 楼 
 文章标题 : Re: 编译mldonkey3.0.7出问题了,高手请进看看!
帖子发表于 : 2011-03-27 21:42 
头像

注册: 2010-01-17 13:05
帖子: 8479
系统: ubuntu
送出感谢: 2
接收感谢: 50
编译时要加参数才支持 unpn 吗? 直接./configure 不行吗?


页首
 用户资料  
 
6 楼 
 文章标题 : Re: 编译mldonkey3.0.7出问题了,高手请进看看!
帖子发表于 : 2011-03-27 22:22 

注册: 2006-02-03 17:29
帖子: 12
送出感谢: 0 次
接收感谢: 0 次
canbao 写道:
skywalker_zh 写道:
其实你已经成功编译了mldonkey,而且支持UPNP。只是因为使用--enable-force-upnp-natpmp这个参数,它会自动下载UPNP的lib库,但是没有安装到系统中,你可以在你的mlkonkey源代码目录里找到一个叫PATCHES的目录,在里面的local下面就是UPNP的库文件,把它拷贝到系统相应的目录里,再运行mlnet就OK了。祝好运。



请问我该把它拷贝到我系统的哪个目录里?


附件:
Screenshot-2.png


在mldonkey3.0.7/patches/local/usr下有三个目录bin, lib, include, 这三个目录分别移动到/usr/bin, /usr/lib, /usr/include。


页首
 用户资料  
 
7 楼 
 文章标题 : Re: 编译mldonkey3.0.7出问题了,高手请进看看!
帖子发表于 : 2011-03-28 12:33 
头像

注册: 2010-04-24 12:51
帖子: 35
送出感谢: 1
接收感谢: 0 次
到处看看 写道:
编译时要加参数才支持 unpn 吗? 直接./configure 不行吗?


不加参数是不支持UPNP功能的!


页首
 用户资料  
 
8 楼 
 文章标题 : Re: 编译mldonkey3.0.7出问题了,高手请进看看!
帖子发表于 : 2011-03-28 12:36 
头像

注册: 2010-04-24 12:51
帖子: 35
送出感谢: 1
接收感谢: 0 次
谢谢3楼的skywalker_zh兄弟提醒,我昨晚已经安装成功,也支持UPNP功能了,但我是自己安装的配置时提到的两个软件包!(miniupnpc-1.4.20100609.tar.gz和libnatpmp-20100202.tar.gz)


页首
 用户资料  
 
9 楼 
 文章标题 : Re: 编译mldonkey3.0.7出问题了,高手请进看看!
帖子发表于 : 2011-05-07 13:34 
头像

注册: 2011-04-03 10:01
帖子: 981
地址: 帝都
系统: Ubuntu 12.XX
送出感谢: 28
接收感谢: 18
求助!
终于把MLDonkey编译成功,加入了upnp支持,也按照6楼的方法把文件拷贝了过去,启动mlnet后检查 enable-upnp-forwarding为true
可是在我的路由器upnp列表中却没有MLDonkey,何解?


_________________
Ubuntu技巧汇总http://wiki.ubuntu.org.cn/UbuntuSkills --你遇到的各种问题可能已经在里面了
我的技术博客http://www.cherrot.com
Code tells you how, comments should tell you why.


页首
 用户资料  
 
10 楼 
 文章标题 : Re: 编译mldonkey3.0.7出问题了,高手请进看看!
帖子发表于 : 2011-05-07 22:01 

注册: 2008-01-11 17:02
帖子: 12127
送出感谢: 1
接收感谢: 6
canbao 写道:
到处看看 写道:
编译时要加参数才支持 unpn 吗? 直接./configure 不行吗?


不加参数是不支持UPNP功能的!

mark :em11


_________________
你往幸福的方向挥挥手,从此我便追随你永不回头。


页首
 用户资料  
 
11 楼 
 文章标题 : Re: 编译mldonkey3.0.7出问题了,高手请进看看!
帖子发表于 : 2011-05-11 13:13 
头像

注册: 2010-04-24 12:51
帖子: 35
送出感谢: 1
接收感谢: 0 次
Cherrot 写道:
求助!
终于把MLDonkey编译成功,加入了upnp支持,也按照6楼的方法把文件拷贝了过去,启动mlnet后检查 enable-upnp-forwarding为true
可是在我的路由器upnp列表中却没有MLDonkey,何解?



用kill关掉mldonkey,重新启动后在路由器里就可见了!!! :em11


页首
 用户资料  
 
12 楼 
 文章标题 : Re: 编译mldonkey3.0.7出问题了,高手请进看看!
帖子发表于 : 2011-05-14 19:41 
头像

注册: 2011-04-03 10:01
帖子: 981
地址: 帝都
系统: Ubuntu 12.XX
送出感谢: 28
接收感谢: 18
kill重启还是不行,Skype的UPNP映射正常,不是路由器的原因。
把paches/local/usr中对应目录下的文件复制到/usr 的对应目录后,mlnet可以启动,只是路由器中找不到upnp映射。
6楼应该也是这个意思吧?
因为我刚才试了一下,如果把 paches/local/usr/ 下的目录直接拷贝到 /usr/bin , /usr/lib , /usr/include时反而启动不了melnet(和楼主的错误一样)

canbao 写道:
谢谢3楼的skywalker_zh兄弟提醒,我昨晚已经安装成功,也支持UPNP功能了,但我是自己安装的配置时提到的两个软件包!(miniupnpc-1.4.20100609.tar.gz和libnatpmp-20100202.tar.gz)

LZ自己安装的两个软件包是什么意思?不是直接复制过去的?


_________________
Ubuntu技巧汇总http://wiki.ubuntu.org.cn/UbuntuSkills --你遇到的各种问题可能已经在里面了
我的技术博客http://www.cherrot.com
Code tells you how, comments should tell you why.


页首
 用户资料  
 
13 楼 
 文章标题 : Re: 编译mldonkey3.0.7出问题了,高手请进看看!
帖子发表于 : 2011-10-24 16:53 

注册: 2006-01-03 20:44
帖子: 870
送出感谢: 0 次
接收感谢: 6
3.1.0出来后,有人在AMD64中再次成功编译吗?


页首
 用户资料  
 
14 楼 
 文章标题 : Re: 编译mldonkey3.0.7出问题了,高手请进看看!
帖子发表于 : 2011-10-24 17:49 
头像

注册: 2010-01-17 13:05
帖子: 8479
系统: ubuntu
送出感谢: 2
接收感谢: 50
xep007 写道:
3.1.0出来后,有人在AMD64中再次成功编译吗?

安装 zlib1g-dev
代码:
sudo apt-get install ocaml zlib1g-dev


代码:
./configure --enable-batch 会自动下载一些必要的软件包,然后设置好
./configure
make


也可以直接装上 ocaml 和 zlib1g-dev
然后
$./configure
$ make


页首
 用户资料  
 
15 楼 
 文章标题 : Re: 编译mldonkey3.0.7出问题了,高手请进看看!
帖子发表于 : 2011-10-24 18:27 

注册: 2006-01-03 20:44
帖子: 870
送出感谢: 0 次
接收感谢: 6
谢谢!装上了。


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 16 篇帖子 ]  前往页数 1, 2  下一页

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:Bing [Bot], Google [Bot] 和 2 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译