Comments (6)
/tmp/php-git/php_git2.h:40:20: error: git2.h: No such file or directory
/tmp/php-git/php_git2.h:41:27: error: git2/errors.h: No such file or directory
/tmp/php-git/php_git2.h:42:32: error: git2/odb_backend.h: No such file or directory
let me take a look today. probably i made some mistakes.
from php-git.
Indeed, I changed those lines with relative path of the header files and it passed:
-# include <git2.h>
-# include <git2/errors.h>
-# include <git2/odb_backend.h>
+# include "libgit2/include/git2.h"
+# include "libgit2/include/git2/errors.h"
+# include "libgit2/include/git2/odb_backend.h"
... but I guess that's not a pretty solution.
So maybe there is something to change in the construction of libgit2 ?
from php-git.
sorry. I've forgotten to add PHP_ADD_INCLUDE
to config.mr.
https://github.com/libgit2/php-git/blob/develop/config.m4
probably I'll fix this issue today. but i drunk too much today at work. anyway i'll do my best
from php-git.
@MattKetmo can you try to build php-git2 with latest develop branch?
you need to do phpize --clean
before build.
from php-git.
I tested it on OSX and Debian and it works perfectly. Thanks.
For information, I'm on commit fe4cb28 of php-git
and e4607392b5cbdcaf6a5dc810ca77b5dd1afcb147 of libgit2
.
from php-git.
๐ธ
At least current testcases passed. but it may contains several bugs as php-git2 jumped libgit2 version at this time.
if you have some troubles regarding php-git2. please ask me directly or make an issue.
from php-git.
Related Issues (20)
- this project will update๏ผ HOT 2
- error on make: make: *** [reference.lo] Error 1 HOT 8
- PHP extension is not loaded HOT 6
- git_tree_lookup - The requested type does not match the type in the ODB HOT 2
- README instructions for compiling HOT 2
- Version bump to 0.3.0 ?
- Getting php-git up to date HOT 8
- Automated make test failed submission HOT 1
- [run-test.php report]
- How can I stage lines and hunks?
- HELP: Cannot run any of the PHP Git related commands! HOT 2
- Cmake File Error
- Undefined function git_branch_name() HOT 1
- Calling git_treebuilder_create causes seg fault
- git_remote_connect returns false
- working on PHP7 version of php-git HOT 2
- Unable to load dynamic library - http_errno_description is Unknown
- Bindings updated to a recent version libgit2?
- git_clone Segmentation fault
- PHP 8 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-git.