Open hammyexe opened 2 years ago
What are you trying to accomplish? This package is part of Darling, we don't really intend for it to be used standalone.
What are you trying to accomplish? This package is part of Darling, we don't really intend for it to be used standalone.
Im trying to download the corecrypto library, but I cant find any other github or download for it, so I thought this was it.
*** No rule to make target 'install'. Stop.who can help me?
*** No rule to make target 'install'. Stop.who can help me?
What are you trying to do?
1) I can reproduce this exact error:
/root/darling-corecrypto/tests/main.c:8:10: fatal error: ctest.h: No such file or directory
8 | #include <ctest.h>
| ^~~~~~~~~
compilation terminated.
make[2]: *** [tests/CMakeFiles/test_corecrypto.dir/build.make:76: tests/CMakeFiles/test_corecrypto.dir/main.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:128: tests/CMakeFiles/test_corecrypto.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
The makefile line numbers are different. 2) I am currently attempting to compile https://github.com/NyaMisty/AltServer-Linux, and Apple's license on corecrypto is extremely restrictive, so I'm trying to find a reimplementation somewhere. This was the first Google result.
@notkirito How did you try to build the library? test_corecrypto
should only be built if ENABLE_TESTS
is defined when configuring with CMake. It shouldn't try to build it without that flag. If that's the case, I'll look into it.
Anyways, this repo contains a submodule (for ctest), so the proper way to clone it is with the --recursive
flag for clone. If you want to fix an existing clone, use git submodule update --init --recursive
.
Thanks for the fast reply! I should have rm -rf
'd the build directory before reconfiguring. I will reclone the repo and see if that fixes it. Again, thanks a lot!
Now, it compiles, but I get a make: *** No rule to make target 'install'. Stop.
when attempting to make install
. Could I just cp -r /path/to/darling-corecrypto/include/corecrypto /usr/include/corecrypto
?
Update: I gave up compiling it and decided to take the precompiled slightly older version, if anybody else finds this issue intending to use this for AltServer-Linux, go to https://github.com/NyaMisty/AltServer-Linux/releases and scroll down to the first x86_64 non-UPnP binary you can find, get your udid with libimobiledevice's idevice_id and run ./AltServer -u your_udid -a your_appleid_email -p your_appspecific_password /path/to/ipa
. Good luck.
(sorry for offtopic)
Now, it compiles, but I get a
make: *** No rule to make target 'install'. Stop.
when attempting tomake install
. Could I justcp -r /path/to/darling-corecrypto/include/corecrypto /usr/include/corecrypto
?
@notkirito There's currently not any install
commands in the CMakeLists.txt for the non-Apple/Darling build, so CMake doesn't know what files to install. Installing it manually should work; I (or someone else, even yourself) can add the install
commands to the CMakeLists.txt
later.
I tried, and I got some cryptic type errors from the compiler (already deleted my build docker, will make a new one once I have time). I already kind of gave up on compiling AltServer-Linux with darling-corecrypto, but I’m willing to help debugging this.
Thanks though!
Le 15 janv. 2022 à 19:21, Ariel Abreu @.***> a écrit :
Now, it compiles, but I get a make: *** No rule to make target 'install'. Stop. when attempting to make install. Could I just cp -r /path/to/darling-corecrypto/include/corecrypto /usr/include/corecrypto?
@notkirito There's currently not any install commands in the CMakeLists.txt for the non-Apple/Darling build, so CMake doesn't know what files to install. Installing it manually should work; I (or someone else) can add the install commands to the CMakeLists.txt later.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.
I am having an issue when I make, I get this exact error "home/root/darling-corecrypto/tests/main.c:8:10: fatal error: ctest.h: No such file or directory 8 | #include
| ^
~~~~ compilation terminated. make[2]: [tests/CMakeFiles/test_corecrypto.dir/build.make:63: tests/CMakeFiles/test_corecrypto.dir/main.o] Error 1 make[1]: [CMakeFiles/Makefile2:125: tests/CMakeFiles/test_corecrypto.dir/all] Error 2 make: *** [Makefile:84: all] Error 2"