php-go icon indicating copy to clipboard operation
php-go copied to clipboard

can't make for example main.go

Open dahuang1991 opened this issue 7 years ago • 7 comments

$ make make: /usr/bin/php-config: Command not found make: /usr/bin/php-config: Command not found make: /usr/bin/php-config: Command not found make: /usr/bin/php-config: Command not found go install ./zend

github.com/kitech/php-go/zend

In file included from zend/goapi.go:5:0: ./array.h:1:10: fatal error: zend_API.h: No such file or directory #include <zend_API.h> ^~~~~~~~~~~~ compilation terminated. Makefile:31: recipe for target 'all' failed make: *** [all] Error 2

dahuang1991 avatar Jul 16 '18 10:07 dahuang1991

php开发库要安装,这库牛逼

ghost avatar Jul 19 '18 10:07 ghost

php开发库是什么 是go的么

dahuang1991 avatar Jul 19 '18 10:07 dahuang1991

C的

deb: php7.2-dev rpm: php-devel

ghost avatar Jul 19 '18 15:07 ghost

default

TZCV avatar Aug 24 '18 08:08 TZCV

default

TZCV avatar Aug 24 '18 09:08 TZCV

@di3663 MAC 下也遇到这种情况改装什么库

yymmhh avatar Jul 31 '19 14:07 yymmhh