Closed jomajm closed 2 years ago
Can confirm this issue on Manjaro.
Autoconf version:
autoconf == 2.71-1
Debian 7
sudo apt-get install rtorrent
I can't install rtorrent client, because is no access to this file: Failed to get http://ftp.fr.debian.org/debian/pool/main/x/xmlrpc-c/libxmlrpc-core-c3_1.16.33-3.2_amd64.deb 404 Not Found [IP: 212.27.32.66 80 How to solve this problem? Do you have a script for manual installation rtorrent?
@csgithubgamer, i this your message is offtopic. :eyes:
Maybe you need sudo apt-get update
to sync apt's database.
Debian 7
sudo apt-get install rtorrent
I can't install rtorrent client, because is no access to this file: Failed to get http://ftp.fr.debian.org/debian/pool/main/x/xmlrpc-c/libxmlrpc-core-c3_1.16.33-3.2_amd64.deb 404 Not Found [IP: 212.27.32.66 80 How to solve this problem?
Upgrade your debian version! Version 7 is out of support for years now.
On Manjaro (and Arch, probably) autoconf-archive
required as
build-dependency. Installing it before build fixes this issue.
See original thread.
after installing autoconf-archive configuration works, however it fails with:
make all-recursive
make[1]: Entering directory '/dev/shm/rtorrent'
Making all in doc
make[2]: Entering directory '/dev/shm/rtorrent/doc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/dev/shm/rtorrent/doc'
Making all in src
make[2]: Entering directory '/dev/shm/rtorrent/src'
g++ -std=c++14 -g -O2 -DNDEBUG -Wall -I/usr/include -pthread -I/usr/include/x86_64-linux-gnu -I/dev/shm/lto/include -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -o rtorrent main.o libsub_root.a -lpthread -lpthread -lncursesw -ltinfo -lcurl -L/dev/shm/lto/lib -ltorrent -L/usr/lib/x86_64-linux-gnu -lxmlrpc_server -lxmlrpc -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_util
/usr/bin/ld: /dev/shm/lto/lib/libtorrent.a(diffie_hellman.o): undefined reference to symbol 'BN_num_bits@@OPENSSL_1_1_0'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:887: rtorrent] Error 1
make[2]: Leaving directory '/dev/shm/rtorrent/src'
make[1]: *** [Makefile:426: all-recursive] Error 1
make[1]: Leaving directory '/dev/shm/rtor
BN_num_bits@@OPENSSL_1_1_0 - do i need to have specific openssl version ? I have this one:
ii openssl 1.1.1k-1 amd64 Secure Sockets Layer toolkit - cryptographic utility
I have same version...
adding -lcrypto -lz to the linker helped.
g++ -std=c++14 -g -O2 -DNDEBUG -Wall -I/usr/include -pthread -I/usr/include/x86_64-linux-gnu -I/dev/shm/lto/include -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -o rtorrent main.o libsub_root.a -lpthread -lpthread -lncursesw -ltinfo -lcurl -L/dev/shm/lto/lib -ltorrent -L/usr/lib/x86_64-linux-gnu -lxmlrpc_server -lxmlrpc -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_util **-lcrypto -lz**
I can confirm the problem in Fedora 39, autoconf 2.71, automake 1.16.5, gcc 13.2.1.
$ autoreconf -fi
configure:8312: error: possibly undefined macro: PKG_CHECK_EXISTS
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: error: /usr/bin/autoconf failed with exit status: 1
After removing the line AX_REQUIRE_DEFINED([PKG_CHECK_EXISTS])
from ax_with_curses.m4
, everything works like a charm.
I have executed following to build libtorrent: autoreconf -i -f ./configure --enable-static --disable-shared --disable-debug --with-xmlrpc-c --prefix=/dev/shm/lto make -j5 make install this works fine, now rtorrent: autoreconf -i -f
from file scripts/ax_with_curses.m4 if I remove ' AX_REQUIRE_DEFINED([PKG_CHECK_EXISTS])' autoreconf -i -f ./configure --enable-static --disable-shared --disable-debug --with-xmlrpc-c --prefix=/dev/shm/lto make -j5 this throws following issue:
With debian 10 I have no build issue