4
I am trying to install PHP 5.3.28 using 'php-build' in Linux Mint 16 (Ubuntu) but it does not compile.
I’m using the following command:
php-build -i Development 5.3.28 ~/local/php/5.3.28
After solving several package missing errors, some error is occurring that I cannot identify.
See the full log: http://pastebin.com/x5ZxNkQd
I need to have several versions of PHP on the same machine, so I’m using php-build
How do I fix this problem?
Hello thanks for the tip, when executing the command appeared the following message: "E: You should put some 'source' Uris in your sources.list"
– Luiz Martins de Carvalho
This means that your package sources do not contain entries for program sources, you should search the internet for links to the source repositories and add in your /etc/apt/sources.list
– hernandev
Thanks, I’ll try, if I can solve with this tip I mark as answer. No more thanks for the help!
– Luiz Martins de Carvalho
After adding the lines "deb http://php53.dotdeb.org stable all" and "deb-src http://php53.dotdeb.org stable all" and running apt-get build-Dep php5 again. I was able to compile easily with the "php-build" tool. Thank you @Ernandes! Now I will use https://github.com/wilmoore/php-version to easily switch between versions! Answer accepted.
– Luiz Martins de Carvalho
@Luizmartinsrvalho only the second line (deb-src) perhaps sufficed, however good that it worked
– hernandev