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

Makefile:193: recipe for target 'protobuf.lo' failed

Open willgrnr opened this issue 10 years ago • 4 comments

Getting this when using $make. Makefile seems to be having a lot of problems.

https://gist.github.com/willgrnr/9376bd141506845d16935df1a4c44aa9

willgrnr avatar Jul 20 '16 02:07 willgrnr

@willgrnr Looks like you were trying to compile it for php7. Current version supports php5 only. Php7 support is implemented in pull request https://github.com/allegro/php-protobuf/pull/63

serggp avatar Jul 20 '16 03:07 serggp

@serggp that'll do it. README.md shows 5.3+. However I'm getting the following when using: $ php protoc-gen-php.php stats.proto

ERROR: protobuf module is not installed.

willgrnr avatar Jul 20 '16 04:07 willgrnr

@willgrnr it means what it says, the module is not installed 😉 In order to be able to run the compiler you need to install php-protobuf extension.

hjagodzinski avatar Jul 20 '16 13:07 hjagodzinski

I'll have a go at reinstalling, must have mucked something somewhere. Thanks @hjagodzinski @serggp

willgrnr avatar Jul 20 '16 16:07 willgrnr