We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

zephir build : /bin/bash: /opt/code/aranea/ext/libtool: No such file or directory

I am following the following tutorial (in my Debian Wheezy VM) :

https://vimeo.com/84180223

Only difference, instead of "utils" I called my project "aranea" and namespace "Aranea".

When I build the project, it fails:

[email protected]:/opt/code/aranea# zephir build
Compiling...
Installing...
Zephir\CompilerException: Internal extension compilation failed. Check compile-errors.log for more information

In compile-errors.log I see:

/bin/bash: /var/www/aranea/ext/libtool: No such file or directory
make: *** [aranea.lo] Error 127
/bin/bash: /var/www/aranea/ext/libtool: No such file or directory
make: *** [aranea.lo] Error 127

In ext I do not see libtool, so it was not installed when doing the zephir init aranea.

Do you somehow need to include libtool?

Thanks,

Jeroen

I am developing on my mac and running zephir build insite my VM. Looks like when the clock of my VM and mac run out of sync, strange errors like this start occurring. I've now configured ntp to sync the VM clock every minute, and the error is not happening anymore. Strange...