-
-
Notifications
You must be signed in to change notification settings - Fork 316
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
Could NOT find Git (missing: GIT_EXECUTABLE) #126
Comments
You could disable the test suite (which requires git, to fetch the CATCH unit testing library).
|
thanks for you replay but I compile with yocto so I m looking for script to disable GIT, DOXYGEN CATCH.. |
Hi ! I don't think you'll find such scripts here... A simple way to get rid of those messages would be to install git and doxygen on your host. Another way to do it is to add a native dependency to your recipe. I guess recipe name "git-native" would go well for git. Such a dependency will build git for the host and not for the target which will get you rid of those messages. |
I added to my file .bb : BBCLASSEXTEND = "native" Is there other way to desactivate these libs |
Doing that only allows your recipe to be compiled for native host. You need to add "git-native" recipe to your recipe dependencies or install git on your host. I'm just wondeting: are you new with yocto/openembedded ? |
Yes I'm new and I don't know how to add "git-native" recipe |
using this command I got the same error : |
Hmm weird, git inherits native class in its recipe... Did you try to disable tests like cinemast said ? Either you overload do_configure() in your recipe or modifiy EXTRA_OECONF variable to do so. EXTRA_OECONF += "-DCOMPILE_TESTS=NO" for instance ? (can't ensure it will work, I'm poiting this out of memory and has nothing to try it now). |
I added: Always I have the same error Is there other idea!! |
Disable documentation generation ? Also you can write |
I got the same error even with: |
Same topic as #127 |
Hello
When I try cross compile the libjson-rpc with yocto the below message displayed:
Could NOT find Git (missing: GIT_EXECUTABLE)
Could you please tell me how to desactivate or to add the GIT recipe
thanks in advance
The text was updated successfully, but these errors were encountered: