Eu preciso construir e instalar libgit2 e PHP-Git da fonte. Esta é a primeira vez que faço algo assim e não sou tão experiente com linux.
cmake .. ele não encontra libcurl, http-parser e libssh2. eu executei cmake --build . , mudei no php-git2 dir executado phpize e ./configure --enable-git2-debug :
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking command to parse /usr/bin/nm -B output from cc object... failed
quando eu tento make , ele mostra muitos erros como unknown type name... , redundant redeclaration of ... , previous declaration of ... was here , warning: enumeration value ... not handled in switch e muitas coisas não declaradas
Seria ótimo se alguém pudesse me ajudar, obrigado.
EDIT: parece que você não pode construir o php-git. Eu tentei muitas coisas e nada funcionou