Open 2ico opened 2 years ago
This operating system looks interesting 0.0 https://manjaro.org/
Looks like a kind of Arch Linux Maybe you can try to install these dependencies
pacman -S --noconfirm git make cmake clang gflags zlib openssl readline libmicrohttpd python python-pip
I got the exact same issue on Arch Linux, the issue is that the uring
library is not being linked. Didn't look at the code so I'm not sure why this is an issue on Arch and not on Ubuntu, but the following patch fixes the issue for fift
specifically:
--- a/crypto/CMakeLists.txt
+++ b/crypto/CMakeLists.txt
@@ -294,7 +294,7 @@ target_link_libraries(fift-lib PUBLIC ton_crypto ton_db tdutils ton_block)
set_target_properties(fift-lib PROPERTIES OUTPUT_NAME fift)
add_executable(fift fift/fift-main.cpp)
-target_link_libraries(fift PUBLIC fift-lib git)
+target_link_libraries(fift PUBLIC fift-lib git uring)
if (WINGETOPT_FOUND)
target_link_libraries_system(fift wingetopt)
endif()
That being said, there's many targets that fail to build without uring
, and also a few that require gsl
and gslcblas
. I can share a PR that fixes all the targets on Arch if that's desirable, and someone who's more familiar with the code could then take a look at what's going on.
Expected: Successful build of the ton toolchain.
Actual behavior:
To reproduce:
cmake --build . --target fift
Follow the steps on https://ton.org/docs/#/compile?id=how-to-compileVersion: Self-compiled from tesnet branch. I've also tried master and the SpyCheese fork.
OS:
5.10.136-1-MANJARO #1 SMP PREEMPT Thu Aug 11 13:14:01 UTC 2022 x86_64 GNU/Linux