Error compiling php 5.3.28 using php-build

4

I'm trying to install PHP 5.3.28 using ' php-build in Linux Mint 16 (Ubuntu) more it does not compile.

I am using the following command:

  

php-build -i development 5.3.28 ~ / local / php / 5.3.28

After solving a number of package errors, some error is occurring that I can not identify.

See the full log: link

I need to have several versions of PHP on the same machine, so I'm using php-build

How do I fix this?

    
asked by anonymous 16.01.2014 / 17:15

1 answer

3

General Case

In Debian and other derived distros (Ubuntu, Mint, etc.) you can install all the build dependencies of a given software using the

  

apt-get build-dep package

Example: PHP

To install the build dependencies for the , use the command:

  

apt-get build-dep php5

In your case, log shows us that the missing packages are: bison and libsqlite3 both will be installed when using the above command

    
16.01.2014 / 18:14