On Sunday, May 26, 2013 7:06:51 PM UTC+2, Vladislav Shikhov wrote:

> Hello all
> I'm trying to build git for android with NDK toolchain but fail. The 
> configure script ends with error after checking for regexp.h.
> configure output:
> ...
> checking for getaddrinfo... yes
> checking for library containing getaddrinfo... none required
> checking whether the platform regex can handle null bytes... no
> checking whether system succeeds to read fopen'ed directory... configure: 
> error: in `/Users/HounD/src/git':
> configure: error: cannot run test program while cross compiling
> See `config.log' for more details
> config.log:
> ...
> configure:5330: checking whether the platform regex can handle null bytes
> conftest.c:52:19: fatal error: regex.h: No such file or directory
> compilation terminated.
> I've tried to add CFLAGS=<my_git_source_path>/compat/regex but got the 
> same result.
> I also tried to build PCRE lib for android (successfully) and build git 
> with PCRE support but got the same error (it's real strange to look for 
> regexp.h if build with PCRE).
> So can anyone help me?

You may want to take this up at the git developer mailing list: 

I also read somewhere that someone got Git working on their Android tablet 
using an app called Terminal IDE: 

And if you are building some kind of Git client app for Android, you may 
want to make use of the JGit library, as done here: 

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to