You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The compilation of libgit2 works fine, but when I try to compile the PHP-GIT extension, I've this error during the make step.
I use the PHP 5.3.10 version compiled from macport repo:
php -v
PHP 5.3.10 (cli) (built: Mar 4 2012 12:36:34)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
with Xdebug v2.1.2, Copyright (c) 2002-2011, by Derick Rethans
Any ideas?
/bin/sh /Users/Quentin/Sites/Boulot/PHPGIT/php-git/libtool --mode=compile cc -I. -I/Users/Quentin/Sites/Boulot/PHPGIT/php-git -DPHP_ATOM_INC -I/Users/Quentin/Sites/Boulot/PHPGIT/php-git/include -I/Users/Quentin/Sites/Boulot/PHPGIT/php-git/main -I/Users/Quentin/Sites/Boulot/PHPGIT/php-git -I/opt/local/include/php -I/opt/local/include/php/main -I/opt/local/include/php/TSRM -I/opt/local/include/php/Zend -I/opt/local/include/php/ext -I/opt/local/include/php/ext/date/lib -I/opt/local/include -DHAVE_CONFIG_H -g -O2 -c /Users/Quentin/Sites/Boulot/PHPGIT/php-git/repository.c -o repository.lo
cc -I. -I/Users/Quentin/Sites/Boulot/PHPGIT/php-git -DPHP_ATOM_INC -I/Users/Quentin/Sites/Boulot/PHPGIT/php-git/include -I/Users/Quentin/Sites/Boulot/PHPGIT/php-git/main -I/Users/Quentin/Sites/Boulot/PHPGIT/php-git -I/opt/local/include/php -I/opt/local/include/php/main -I/opt/local/include/php/TSRM -I/opt/local/include/php/Zend -I/opt/local/include/php/ext -I/opt/local/include/php/ext/date/lib -I/opt/local/include -DHAVE_CONFIG_H -g -O2 -c /Users/Quentin/Sites/Boulot/PHPGIT/php-git/repository.c -fno-common -DPIC -o .libs/repository.o
/Users/Quentin/Sites/Boulot/PHPGIT/php-git/repository.c: In function‘php_git2_repository_initialize’:
/Users/Quentin/Sites/Boulot/PHPGIT/php-git/repository.c:98: warning: passing argument 4 of ‘add_property_string_ex’ discards qualifiers from pointer target type
/Users/Quentin/Sites/Boulot/PHPGIT/php-git/repository.c: In function‘zim_git2_repository_init’:
/Users/Quentin/Sites/Boulot/PHPGIT/php-git/repository.c:237: error: ‘GIT_SUCCESS’ undeclared (first use in this function)
/Users/Quentin/Sites/Boulot/PHPGIT/php-git/repository.c:237: error: (Each undeclared identifier is reported only once
/Users/Quentin/Sites/Boulot/PHPGIT/php-git/repository.c:237: error: for each functionit appears in.)
/Users/Quentin/Sites/Boulot/PHPGIT/php-git/repository.c: In function‘zim_git2_repository_discover’:
/Users/Quentin/Sites/Boulot/PHPGIT/php-git/repository.c:313: error: ‘GIT_SUCCESS’ undeclared (first use in this function)
/Users/Quentin/Sites/Boulot/PHPGIT/php-git/repository.c: In function‘zim_git2_repository_exists’:
/Users/Quentin/Sites/Boulot/PHPGIT/php-git/repository.c:341: error: ‘GIT_SUCCESS’ undeclared (first use in this function)
/Users/Quentin/Sites/Boulot/PHPGIT/php-git/repository.c: In function‘zim_git2_repository_lookup’:
/Users/Quentin/Sites/Boulot/PHPGIT/php-git/repository.c:377: error: ‘GIT_SUCCESS’ undeclared (first use in this function)
make: *** [repository.lo] Error 1
Thank you,
The text was updated successfully, but these errors were encountered:
The compilation of libgit2 works fine, but when I try to compile the PHP-GIT extension, I've this error during the make step.
I use the PHP 5.3.10 version compiled from macport repo:
php -v
PHP 5.3.10 (cli) (built: Mar 4 2012 12:36:34)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
with Xdebug v2.1.2, Copyright (c) 2002-2011, by Derick Rethans
Any ideas?
Thank you,
The text was updated successfully, but these errors were encountered: