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

Cannot install Zephir on Ubuntu 18.04

I followed the published process for installing Zephir, which worked perfectly, until I reached the ./install -c. At that point, I get "bash: ./install: No such file or directory". Yes, I did cd zephir. It appears that "git clone https://github.com/phalcon/zephir" worked but, it failed to download "install".

I have successfully installed the latest version of phalcon, with php5.6 on apache2.

So, help, please.



1.1k

Okay, I copied the install script and saved it in /zephir which is where git placed it, and I get the following errors, when I run the install. Of course I did cd to /zephir.

Cannot find config.m4. ./install: line 19: ./configure: No such file or directory make: *** No targets specified and no makefile found. Stop. Make sure that you run '/usr/bin/phpize' in the top level source directory of the module

There is no configure file or folder in the ~/zephir Also, I did run phpize from the ~/zephir foler and got this error:

Cannot find config.m4. Make sure that you run '/usr/bin/phpize' in the top level source directory of the module

Something is obviously very wrong but, I have no idea what. Can someone offer some guidance, please.



85.5k

apt-get install php-dev ( i think )

here is my dockerfile installtion of zephir

RUN git clone --depth 1 https://github.com/phalcon/zephir.git /tmp/zephir && \
  cd /tmp/zephir/ && composer install --prefer-dist --no-progress --no-suggest --optimize-autoloader --classmap-authoritative  --no-interaction && \
  ln -s /tmp/zephir/zephir /usr/local/bin/zephir