Skip to content

can't compile due to lack of Zend/zend_smart_str.h on PHP5 #97

@cprn

Description

@cprn

Seems like "Zend/zend_smart_str.h" doesn't come with sudo apt-get install zend-framework on Ubuntu GNOME 15.10. Where do I get it from? Can this be added to README.md somewhere?

$ php --version | grep ^PHP
PHP 5.6.11-1ubuntu3.4 (cli)
$ git clone -o php5 https://github.com/msgpack/msgpack-php.git
# [...] all OK
Checking connectivity... done.
$ cd msgpack-php/
$ phpize
Configuring for:
PHP Api Version:         20131106
Zend Module Api No:      20131226
Zend Extension Api No:   220131226
$ ./configure
# [...] all OK
$ make && make install
# [...]
In file included from [...]/msgpack-php/msgpack.c:16:0:
[...]/msgpack-php/php_msgpack.h:4:56: fatal error: Zend/zend_smart_str.h: No such file or directory
compilation terminated.
Makefile:180: recipe for target 'msgpack.lo' failed
make: *** [msgpack.lo] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions