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

0.6 won't build #442

Closed
pietbrauer opened this issue Feb 16, 2015 · 4 comments
Closed

0.6 won't build #442

pietbrauer opened this issue Feb 16, 2015 · 4 comments

Comments

@pietbrauer
Copy link
Member

When trying to build the 0.6 release I always get the following error when trying to execute script/update_libgit2_ios although libssh2 and openssl built successful.

jspahrsummers seems to have the same problem

[ 90%] Building C object CMakeFiles/git2.dir/src/transports/smart_protocol.c.o
[ 91%] Building C object CMakeFiles/git2.dir/src/transports/ssh.c.o
/Users/piet.brauer/Documents/Projekte/iOS/objective-git-build/Carthage/Checkouts/objective-git/External/libgit2/src/transports/ssh.c:9:10: fatal error: 'libssh2.h' file not found
#include <libssh2.h>
         ^
1 error generated.
make[2]: *** [CMakeFiles/git2.dir/src/transports/ssh.c.o] Error 1
make[1]: *** [CMakeFiles/git2.dir/all] Error 2
make: *** [all] Error 2
@phatblat
Copy link
Member

Same here. I was able to get it to build by defining LIBSSH2_INCLUDE_DIR.

See phatblat@b817e13

I had to make a similar change to get the Mac build to work but haven't included these changes in a pull request yet.

@pietbrauer
Copy link
Member Author

@phatblat Nice work! I so look forward to have prebuilt frameworks with Carthage!!

@pietbrauer
Copy link
Member Author

@phatblat Worked for me.

@jspahrsummers
Copy link
Contributor

Could one of you please open a PR for this? 🙏

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

3 participants