[求助]amule-dlp配置源代码出现WARNING和error


#1

openSUSE Tumbleweed
amule-dlp clone下来后进入目录,通过手动查找 Installation · persmule_amule-dlp Wiki 里提供的依赖包,用命令

sudo zypper in bison gcc-c++ libcryptopp-devel gd-devel libpng16-devel wxWidgets-3_0-devel gettext-tools libboost_system1_66_0-devel libupnp-devel libGeoIP-devel

安装了上述包。

然后调用

./autogen.sh
../configure -enable-optimize --with-denoise-level=3 --enable-upnp --enable-geoip --enable-nls --enable-amule-daemon --enable-amulecmd --enable-webserver --enable-alcc --enable-alc --enable-cas --enable-wxcas --enable-mmap --with-boost

配置源代码

显示 WARNING 和 error:

checking for the toolset name used by Boost for g++... configure: WARNING: could not figure out which toolset name to use for g++
config.status: error: cannot find input file: `intl/Makefile.in'

不知道该怎么解决,求助,谢先


#2

autogen.sh 有什么结果没?

另外 intltools 装了吗?


#3

autogen.sh的结果

Setting up internationalization files.
Copying file intl/ChangeLog
Copying file intl/Makefile.in
Copying file intl/VERSION
Copying file intl/bindtextdom.c
Copying file intl/config.charset
Copying file intl/dcgettext.c
Copying file intl/dcigettext.c
Copying file intl/dcngettext.c
Copying file intl/dgettext.c
Copying file intl/dngettext.c
Copying file intl/eval-plural.h
Copying file intl/explodename.c
Copying file intl/finddomain.c
Copying file intl/gettext.c
Copying file intl/gettextP.h
Copying file intl/gmo.h
Copying file intl/hash-string.h
Copying file intl/intl-compat.c
Copying file intl/l10nflist.c
Copying file intl/libgnuintl.h
Copying file intl/loadinfo.h
Copying file intl/loadmsgcat.c
Copying file intl/localcharset.c
Copying file intl/locale.alias
Copying file intl/localealias.c
Copying file intl/localename.c
Copying file intl/ngettext.c
Copying file intl/os2compat.c
Copying file intl/os2compat.h
Copying file intl/osdep.c
Copying file intl/plural-exp.c
Copying file intl/plural-exp.h
Copying file intl/plural.c
Copying file intl/plural.y
Copying file intl/ref-add.sin
Copying file intl/ref-del.sin
Copying file intl/textdomain.c
Copying file mkinstalldirs
Copying file po/Makefile.in.in
autopoint does not honor dataroot variable, patching.
Running aclocal -I m4
Running autoheader
Running autoconf
Creating pixmaps Makefile.am
Running automake --foreign -a -c -f
src/Makefile.am:72: warning: source file ‘kademlia/utils/UInt128.cpp’ is in a subdirectory,
src/Makefile.am:72: but option ‘subdir-objects’ is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects’
automake: automake option hasn’t been enabled. For now, the corresponding output
automake: object file(s) will be placed in the top-level directory. However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using ‘subdir-objects’ option throughout your
automake: project, to avoid future incompatibilities.
src/Makefile.am:97: warning: source file ‘kademlia/kademlia/Entry.cpp’ is in a subdirectory,
src/Makefile.am:97: but option ‘subdir-objects’ is disabled
src/Makefile.am:97: warning: source file ‘kademlia/kademlia/Indexed.cpp’ is in a subdirectory,
src/Makefile.am:97: but option ‘subdir-objects’ is disabled
src/Makefile.am:97: warning: source file ‘kademlia/kademlia/SearchManager.cpp’ is in a subdirectory,
src/Makefile.am:97: but option ‘subdir-objects’ is disabled
src/Makefile.am:97: warning: source file ‘kademlia/routing/RoutingBin.cpp’ is in a subdirectory,
src/Makefile.am:97: but option ‘subdir-objects’ is disabled
src/Makefile.am:123: warning: source file ‘extern/wxWidgets/listctrl.cpp’ is in a subdirectory,
src/Makefile.am:123: but option ‘subdir-objects’ is disabled
src/Makefile.am:140: warning: source file ‘kademlia/kademlia/Kademlia.cpp’ is in a subdirectory,
src/Makefile.am:140: but option ‘subdir-objects’ is disabled
src/Makefile.am:140: warning: source file ‘kademlia/kademlia/Prefs.cpp’ is in a subdirectory,
src/Makefile.am:140: but option ‘subdir-objects’ is disabled
src/Makefile.am:140: warning: source file ‘kademlia/kademlia/Search.cpp’ is in a subdirectory,
src/Makefile.am:140: but option ‘subdir-objects’ is disabled
src/Makefile.am:140: warning: source file ‘kademlia/kademlia/UDPFirewallTester.cpp’ is in a subdirectory,
src/Makefile.am:140: but option ‘subdir-objects’ is disabled
src/Makefile.am:140: warning: source file ‘kademlia/net/KademliaUDPListener.cpp’ is in a subdirectory,
src/Makefile.am:140: but option ‘subdir-objects’ is disabled
src/Makefile.am:140: warning: source file ‘kademlia/net/PacketTracking.cpp’ is in a subdirectory,
src/Makefile.am:140: but option ‘subdir-objects’ is disabled
src/Makefile.am:140: warning: source file ‘kademlia/routing/Contact.cpp’ is in a subdirectory,
src/Makefile.am:140: but option ‘subdir-objects’ is disabled
src/Makefile.am:140: warning: source file ‘kademlia/routing/RoutingZone.cpp’ is in a subdirectory,
src/Makefile.am:140: but option ‘subdir-objects’ is disabled
src/utils/fileview/Makefile.am:3: warning: source file ‘…/…/CFile.cpp’ is in a subdirectory,
src/utils/fileview/Makefile.am:3: but option ‘subdir-objects’ is disabled
src/utils/fileview/Makefile.am:3: warning: source file ‘…/…/SafeFile.cpp’ is in a subdirectory,
src/utils/fileview/Makefile.am:3: but option ‘subdir-objects’ is disabled
src/utils/fileview/Makefile.am:3: warning: source file ‘…/…/OtherFunctions.cpp’ is in a subdirectory,
src/utils/fileview/Makefile.am:3: but option ‘subdir-objects’ is disabled
src/utils/fileview/Makefile.am:3: warning: source file ‘…/…/Tag.cpp’ is in a subdirectory,
src/utils/fileview/Makefile.am:3: but option ‘subdir-objects’ is disabled
src/utils/fileview/Makefile.am:3: warning: source file ‘…/…/kademlia/utils/UInt128.cpp’ is in a subdirectory,
src/utils/fileview/Makefile.am:3: but option ‘subdir-objects’ is disabled
src/webserver/src/Makefile.am:3: warning: source file ‘$(top_srcdir)/src/ExternalConnector.cpp’ is in a subdirectory,
src/webserver/src/Makefile.am:3: but option ‘subdir-objects’ is disabled
src/webserver/src/Makefile.am:3: warning: source file ‘$(top_srcdir)/src/OtherFunctions.cpp’ is in a subdirectory,
src/webserver/src/Makefile.am:3: but option ‘subdir-objects’ is disabled
src/webserver/src/Makefile.am:3: warning: source file ‘$(top_srcdir)/src/RLE.cpp’ is in a subdirectory,
src/webserver/src/Makefile.am:3: but option ‘subdir-objects’ is disabled
src/webserver/src/Makefile.am:3: warning: source file ‘$(top_srcdir)/src/NetworkFunctions.cpp’ is in a subdirectory,
src/webserver/src/Makefile.am:3: but option ‘subdir-objects’ is disabled
src/webserver/src/Makefile.am:3: warning: source file ‘$(top_srcdir)/src/LoggerConsole.cpp’ is in a subdirectory,
src/webserver/src/Makefile.am:3: but option ‘subdir-objects’ is disabled
src/webserver/src/Makefile.am:3: warning: source file ‘$(top_srcdir)/src/UPnPBase.cpp’ is in a subdirectory,
src/webserver/src/Makefile.am:3: but option ‘subdir-objects’ is disabled
unittests/muleunit/Makefile.am:2: warning: source file ‘$(top_srcdir)/src/libs/common/MuleDebug.cpp’ is in a subdirectory,
unittests/muleunit/Makefile.am:2: but option ‘subdir-objects’ is disabled
unittests/muleunit/Makefile.am:2: warning: source file ‘$(top_srcdir)/src/libs/common/StringFunctions.cpp’ is in a subdirectory,
unittests/muleunit/Makefile.am:2: but option ‘subdir-objects’ is disabled
unittests/tests/Makefile.am:51: warning: source file ‘$(top_srcdir)/src/SafeFile.cpp’ is in a subdirectory,
unittests/tests/Makefile.am:51: but option ‘subdir-objects’ is disabled
unittests/tests/Makefile.am:51: warning: source file ‘$(top_srcdir)/src/MemFile.cpp’ is in a subdirectory,
unittests/tests/Makefile.am:51: but option ‘subdir-objects’ is disabled
unittests/tests/Makefile.am:51: warning: source file ‘$(top_srcdir)/src/Tag.cpp’ is in a subdirectory,
unittests/tests/Makefile.am:51: but option ‘subdir-objects’ is disabled
unittests/tests/Makefile.am:51: warning: source file ‘$(top_srcdir)/src/libs/common/Format.cpp’ is in a subdirectory,
unittests/tests/Makefile.am:51: but option ‘subdir-objects’ is disabled
unittests/tests/Makefile.am:51: warning: source file ‘$(top_srcdir)/src/libs/common/strerror_r.c’ is in a subdirectory,
unittests/tests/Makefile.am:51: but option ‘subdir-objects’ is disabled
unittests/tests/Makefile.am:19: warning: source file ‘$(top_srcdir)/src/kademlia/utils/UInt128.cpp’ is in a subdirectory,
unittests/tests/Makefile.am:19: but option ‘subdir-objects’ is disabled
unittests/tests/Makefile.am:19: warning: source file ‘$(top_srcdir)/src/libs/common/Format.cpp’ is in a subdirectory,
unittests/tests/Makefile.am:19: but option ‘subdir-objects’ is disabled
unittests/tests/Makefile.am:19: warning: source file ‘$(top_srcdir)/src/libs/common/strerror_r.c’ is in a subdirectory,
unittests/tests/Makefile.am:19: but option ‘subdir-objects’ is disabled
unittests/tests/Makefile.am:40: warning: source file ‘$(top_srcdir)/src/SafeFile.cpp’ is in a subdirectory,
unittests/tests/Makefile.am:40: but option ‘subdir-objects’ is disabled
unittests/tests/Makefile.am:40: warning: source file ‘$(top_srcdir)/src/CFile.cpp’ is in a subdirectory,
unittests/tests/Makefile.am:40: but option ‘subdir-objects’ is disabled
unittests/tests/Makefile.am:40: warning: source file ‘$(top_srcdir)/src/MemFile.cpp’ is in a subdirectory,
unittests/tests/Makefile.am:40: but option ‘subdir-objects’ is disabled
unittests/tests/Makefile.am:40: warning: source file ‘$(top_srcdir)/src/kademlia/utils/UInt128.cpp’ is in a subdirectory,
unittests/tests/Makefile.am:40: but option ‘subdir-objects’ is disabled
unittests/tests/Makefile.am:40: warning: source file ‘$(top_srcdir)/src/libs/common/StringFunctions.cpp’ is in a subdirectory,
unittests/tests/Makefile.am:40: but option ‘subdir-objects’ is disabled
unittests/tests/Makefile.am:40: warning: source file ‘$(top_srcdir)/src/Tag.cpp’ is in a subdirectory,
unittests/tests/Makefile.am:40: but option ‘subdir-objects’ is disabled
unittests/tests/Makefile.am:40: warning: source file ‘$(top_srcdir)/src/libs/common/Path.cpp’ is in a subdirectory,
unittests/tests/Makefile.am:40: but option ‘subdir-objects’ is disabled
unittests/tests/Makefile.am:40: warning: source file ‘$(top_srcdir)/src/libs/common/Format.cpp’ is in a subdirectory,
unittests/tests/Makefile.am:40: but option ‘subdir-objects’ is disabled
unittests/tests/Makefile.am:40: warning: source file ‘$(top_srcdir)/src/libs/common/strerror_r.c’ is in a subdirectory,
unittests/tests/Makefile.am:40: but option ‘subdir-objects’ is disabled
unittests/tests/Makefile.am:25: warning: source file ‘$(top_srcdir)/src/libs/common/Format.cpp’ is in a subdirectory,
unittests/tests/Makefile.am:25: but option ‘subdir-objects’ is disabled
unittests/tests/Makefile.am:25: warning: source file ‘$(top_srcdir)/src/libs/common/strerror_r.c’ is in a subdirectory,
unittests/tests/Makefile.am:25: but option ‘subdir-objects’ is disabled
unittests/tests/Makefile.am:34: warning: source file ‘$(top_srcdir)/src/NetworkFunctions.cpp’ is in a subdirectory,
unittests/tests/Makefile.am:34: but option ‘subdir-objects’ is disabled
unittests/tests/Makefile.am:34: warning: source file ‘$(top_srcdir)/src/LibSocket.cpp’ is in a subdirectory,
unittests/tests/Makefile.am:34: but option ‘subdir-objects’ is disabled
unittests/tests/Makefile.am:34: warning: source file ‘$(top_srcdir)/src/libs/common/Format.cpp’ is in a subdirectory,
unittests/tests/Makefile.am:34: but option ‘subdir-objects’ is disabled
unittests/tests/Makefile.am:34: warning: source file ‘$(top_srcdir)/src/libs/common/strerror_r.c’ is in a subdirectory,
unittests/tests/Makefile.am:34: but option ‘subdir-objects’ is disabled
unittests/tests/Makefile.am:43: warning: source file ‘$(top_srcdir)/src/libs/common/Path.cpp’ is in a subdirectory,
unittests/tests/Makefile.am:43: but option ‘subdir-objects’ is disabled
unittests/tests/Makefile.am:43: warning: source file ‘$(top_srcdir)/src/libs/common/StringFunctions.cpp’ is in a subdirectory,
unittests/tests/Makefile.am:43: but option ‘subdir-objects’ is disabled
unittests/tests/Makefile.am:28: warning: source file ‘$(top_srcdir)/src/libs/common/StringFunctions.cpp’ is in a subdirectory,
unittests/tests/Makefile.am:28: but option ‘subdir-objects’ is disabled
unittests/tests/Makefile.am:28: warning: source file ‘$(top_srcdir)/src/libs/common/Path.cpp’ is in a subdirectory,
unittests/tests/Makefile.am:28: but option ‘subdir-objects’ is disabled
unittests/tests/Makefile.am:46: warning: source file ‘$(top_srcdir)/src/libs/common/Path.cpp’ is in a subdirectory,
unittests/tests/Makefile.am:46: but option ‘subdir-objects’ is disabled
unittests/tests/Makefile.am:46: warning: source file ‘$(top_srcdir)/src/libs/common/StringFunctions.cpp’ is in a subdirectory,
unittests/tests/Makefile.am:46: but option ‘subdir-objects’ is disabled
unittests/tests/Makefile.am:46: warning: source file ‘$(top_srcdir)/src/libs/common/TextFile.cpp’ is in a subdirectory,
unittests/tests/Makefile.am:46: but option ‘subdir-objects’ is disabled

安装了intltools之后error消失了


#4

算了不搞了,make的时候还是出错,谢谢女王

g++: error: …/…/src/IPFilterScanner.cpp: 没有那个文件或目录
g++: fatal error: no input files
compilation terminated.
make[3]: *** [Makefile:1616:libmuleappcore_a-IPFilterScanner.o] 错误 1
make[3]: *** 正在等待未完成的任务…
make[2]: *** [Makefile:3407:all-recursive] 错误 1
make[1]: *** [Makefile:583:all-recursive] 错误 1
make: *** [Makefile:490:all] 错误 2


#5

@NextLL amule-dlp 我以前在 packman 打包过的,不知道这个 github 是更新了代码还是以前的代码换了个地方。以前就挺难编译成功的,要是没更新代码的话,又这么些年过去了,只会更难编译了。回头我看看吧 :nerd_face:


#6

再次感谢,女王辛苦(~o~)Y