i2pd-tools
i2pd-tools copied to clipboard
Falls to Compile on Debian Bookworm Stable
root@cloudserver:~# apt update Hit:1 http://deb.debian.org/debian stable InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
root@cloudserver:~# apt dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@cloudserver:~# git clone --recursive https://github.com/purplei2p/i2pd-tools
Cloning into 'i2pd-tools'...
remote: Enumerating objects: 827, done.
remote: Counting objects: 100% (213/213), done.
remote: Compressing objects: 100% (112/112), done.
remote: Total 827 (delta 119), reused 177 (delta 99), pack-reused 614
Receiving objects: 100% (827/827), 269.17 KiB | 3.69 MiB/s, done. Resolving deltas: 100% (444/444), done.
Submodule 'i2pd' (https://github.com/PurpleI2P/i2pd) registered for path 'i2pd' Cloning into '/root/i2pd-tools/i2pd'... remote: Enumerating objects: 36824, done.
remote: Counting objects: 100% (5544/5544), done.
remote: Compressing objects: 100% (427/427), done.
remote: Total 36824 (delta 5215), reused 5337 (delta 5107), pack-reused 31280
Receiving objects: 100% (36824/36824), 14.72 MiB | 13.41 MiB/s, done.
Resolving deltas: 100% (26235/26235), done.
Submodule path 'i2pd': checked out 'a6bd8275ca496c75c84d7eb890c0071569d28f55'
root@cloudserver:~# cd i2pd-tools/
root@cloudserver:~/i2pd-tools# ./dependencies.sh
sudo: unable to resolve host cloudserver: Name or service not known
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libboost-chrono-dev is already the newest version (1.74.0.3).
libboost-date-time-dev is already the newest version (1.74.0.3).
libboost-filesystem-dev is already the newest version (1.74.0.3).
libboost-program-options-dev is already the newest version (1.74.0.3).
libboost-system-dev is already the newest version (1.74.0.3).
libboost-thread-dev is already the newest version (1.74.0.3).
libssl-dev is already the newest version (3.0.11-1~deb12u2).
zlib1g-dev is already the newest version (1:1.2.13.dfsg-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@cloudserver:~/i2pd-tools# make
make -C i2pd mk_obj_dir libi2pd.a
make[1]: Entering directory '/root/i2pd-tools/i2pd'
make[1]: g++: No such file or directory
Makefile:71: *** recipe commences before first target. Stop.
make[1]: Leaving directory '/root/i2pd-tools/i2pd'
make: *** [Makefile:91: libi2pd.a] Error 2
root@cloudserver:~/i2pd-tools#
root@cloudserver:~/i2pd-tools# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12" VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
You need to init submodules.
➜ i2pd-tools git:(master) git submodule init && git submodule update
➜ i2pd-tools git:(master) git submodule update --init
➜ i2pd-tools git:(master) git pull --recurse-submodules
Fetching submodule i2pd
Already up to date.
➜ i2pd-tools git:(master) make
make -C i2pd mk_obj_dir libi2pd.a
make[1]: Entering directory '/root/i2pd-tools/i2pd'
make[1]: g++: No such file or directory
Makefile:71: *** recipe commences before first target. Stop.
make[1]: Leaving directory '/root/i2pd-tools/i2pd'
make: *** [Makefile:91: libi2pd.a] Error 2
➜ i2pd-tools git:(master) cd i2pd
➜ i2pd git:(a6bd8275) ls
ChangeLog Makefile.bsd Makefile.mingw Win32 daemon filelist.mk libi2pd_client
LICENSE Makefile.homebrew Makefile.osx build debian i18n libi2pd_wrapper
Makefile Makefile.linux README.md contrib docs libi2pd tests
➜ i2pd git:(a6bd8275) git pull https://github.com/PurpleI2P/i2pd master
From https://github.com/PurpleI2P/i2pd
* branch master -> FETCH_HEAD
Updating a6bd8275..245e6b6e
Fast-forward
Win32/DaemonWin32.cpp | 2 +-
Win32/Win32Service.cpp | 18 +++++++++---------
build/CMakeLists.txt | 8 ++++++--
contrib/dinit/i2pd | 8 ++++++++
contrib/i2pd.conf | 2 +-
contrib/rpm/i2pd.spec | 2 +-
daemon/Daemon.cpp | 10 +++++-----
daemon/HTTPServer.cpp | 18 ++++++++++--------
daemon/UnixDaemon.cpp | 2 +-
i18n/German.cpp | 14 ++++++++++++++
i18n/Italian.cpp | 10 ++++++++++
i18n/Portuguese.cpp | 8 ++++----
libi2pd/Datagram.cpp | 4 ++--
libi2pd/Destination.cpp | 20 +++++++++----------
libi2pd/ECIESX25519AEADRatchetSession.cpp | 4 ++--
libi2pd/Ed25519.cpp | 4 ++--
libi2pd/Family.cpp | 4 ++--
libi2pd/Garlic.cpp | 6 +++---
libi2pd/I2NPProtocol.cpp | 14 +++++++++++---
libi2pd/I2NPProtocol.h | 2 ++
libi2pd/Identity.cpp | 74 +++++++++++++++++++++--------------------------------------------------
libi2pd/Identity.h | 13 ++++---------
libi2pd/KadDHT.cpp | 4 ++--
libi2pd/LeaseSet.cpp | 6 +++---
libi2pd/Log.cpp | 30 ++++++++++++++++-------------
libi2pd/Log.h | 1 +
libi2pd/NTCP2.cpp | 10 +++++++---
libi2pd/NetDb.cpp | 11 ++++++-----
libi2pd/NetDb.hpp | 2 ++
libi2pd/NetDbRequests.cpp | 4 ++--
libi2pd/Reseed.cpp | 14 +++++++-------
libi2pd/RouterContext.cpp | 12 ++++++++++--
libi2pd/RouterInfo.cpp | 57 +++++++++++++++++++++++++-----------------------------
libi2pd/RouterInfo.h | 5 +++--
libi2pd/SSU2.cpp | 4 ++--
libi2pd/SSU2Session.cpp | 36 ++++++++++++++++++++++-------------
libi2pd/Streaming.cpp | 9 ++++-----
libi2pd/Streaming.h | 2 +-
libi2pd/TransitTunnel.h | 26 ++++++++++++-------------
libi2pd/TransportSession.h | 10 ++++++++--
libi2pd/Transports.cpp | 13 +++++++------
libi2pd/Transports.h | 10 ++++++++--
libi2pd/Tunnel.cpp | 16 ++++++++--------
libi2pd/Tunnel.h | 26 ++++++++++++-------------
libi2pd/TunnelEndpoint.cpp | 8 ++++----
libi2pd/TunnelPool.cpp | 2 +-
libi2pd_client/AddressBook.cpp | 2 +-
libi2pd_client/ClientContext.cpp | 20 +++++++++----------
libi2pd_client/I2CP.cpp | 4 ++--
libi2pd_client/I2PTunnel.cpp | 7 +++++--
50 files changed, 326 insertions(+), 272 deletions(-)
create mode 100644 contrib/dinit/i2pd
➜ i2pd git:(245e6b6e) cd ..
➜ i2pd-tools git:(master) ✗ make
make -C i2pd mk_obj_dir libi2pd.a
make[1]: Entering directory '/root/i2pd-tools/i2pd'
make[1]: g++: No such file or directory
Makefile:71: *** recipe commences before first target. Stop.
make[1]: Leaving directory '/root/i2pd-tools/i2pd'
make: *** [Makefile:91: libi2pd.a] Error 2
➜ i2pd-tools git:(master) ✗
You need to install g++ first