Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I have an issue #11

Open
hammyexe opened this issue Dec 19, 2021 · 11 comments
Open

I have an issue #11

hammyexe opened this issue Dec 19, 2021 · 11 comments

Comments

@hammyexe
Copy link

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 <ctest.h>
| ^~~~~~~~~
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"

@LubosD
Copy link
Member

LubosD commented Dec 19, 2021

What are you trying to accomplish? This package is part of Darling, we don't really intend for it to be used standalone.

@hammyexe
Copy link
Author

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.

@fgj54jrt
Copy link

fgj54jrt commented Dec 24, 2021

*** No rule to make target 'install'. Stop.who can help me?

@LubosD
Copy link
Member

LubosD commented Dec 24, 2021

*** No rule to make target 'install'. Stop.who can help me?

What are you trying to do?

@ghost
Copy link

ghost commented Jan 15, 2022

  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.

@facekapow
Copy link
Member

@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.

@ghost
Copy link

ghost commented Jan 15, 2022

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!

@ghost
Copy link

ghost commented Jan 15, 2022

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?

@ghost
Copy link

ghost commented Jan 15, 2022

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)

@facekapow
Copy link
Member

facekapow commented Jan 16, 2022

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, even yourself) can add the install commands to the CMakeLists.txt later.

@ghost
Copy link

ghost commented Jan 16, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants