Skip to content
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

install error : make: *** No rule to make target '/home/vagrant/phpcode/php-zephir-parser-1.1.2/parser/parser.c', needed by 'parser/parser.lo'. Stop. #38

Closed
lvyinhong opened this issue Apr 17, 2018 · 2 comments

Comments

@lvyinhong
Copy link

php environment is 5.6.32 。
When I use 7.2.1 I can compile and install. However, an error occurred in 5.6.32
image

@sergeyklay
Copy link
Member

@lvyinhong Is there any logs?

@sergeyklay
Copy link
Member

I've simplified installation of the extension using standard PHP workflow. Follow these instructions to generate a binary extension for your platform:

git clone git://github.com/phalcon/php-zephir-parser.git
cd php-zephir-parser
phpize
./configure
make
sudo make install

If you have specific PHP versions running:

git clone git://github.com/phalcon/php-zephir-parser.git
cd php-zephir-parser
/usr/local/bin/phpize
./configure --with-php-config=/usr/local/bin/php-config
make
sudo make install

Add the extension to your php.ini:

[Zephir Parser]
extension=zephir_parser.so

These changes already in the development branch. I plan release this in the near future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants