-
Notifications
You must be signed in to change notification settings - Fork 69
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
compilation error #35
Comments
This message is thrown because the command What happens if you execute that command at your location? |
I had the same issue and creating a new git repo, adding something and committing that takes care of the issue. I don't understand why that commit short commit hash and date is so required to build the phar file. Why not use the current date and time? |
That specific part was re-used from the Compiler of Silex (as attributed in the fie); to be honest: I do not know the reasoning for that specific part |
Ok, I'll try to find out and send a PR if needed! Thanks |
When I try to compile:
cilex/bin$ php ./compile
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'The git binary cannot be found.' in /media/disk2/darek/yii/cilex/src/Cilex/Compiler.php:43
Stack trace:
#0 /media/disk2/darek/yii/cilex/bin/compile(13): Cilex\Compiler->compile()
#1 {main}
thrown in /media/disk2/darek/yii/cilex/src/Cilex/Compiler.php on line 43
Fatal error: Uncaught exception 'RuntimeException' with message 'The git binary cannot be found.' in /media/disk2/darek/yii/cilex/src/Cilex/Compiler.php on line 43
RuntimeException: The git binary cannot be found. in /media/disk2/darek/yii/cilex/src/Cilex/Compiler.php on line 43
but git is of course available on system
cilex/bin$ whereis git
git: /usr/bin/git /usr/bin/X11/git /usr/share/man/man1/git.1.gz
cilex/bin$ git
usage: git [--version] [--exec-path[=]] [--html-path] [--man-path] [--info-path]
[-p|--paginate|--no-pager] [--no-replace-objects] [--bare]
[--git-dir=] [--work-tree=] [--namespace=]
[-c name=value] [--help]
[]
The text was updated successfully, but these errors were encountered: