Puppy Linux Blog Post:

Was able to compile PHP 7.0.1 in Lucid Puppy Linux 5.2.8, but couldn't compile PHP-GTK 2.0.1 to work with PHP 7.0.1
12/29/2015

Post Below
12/29/2015 - Was able to compile PHP 7.0.1 in Lucid Puppy Linux 5.2.8, but couldn't compile PHP-GTK 2.0.1 to work with PHP 7.0.1 (Puppy Linux)

    Hide/Show:


   ▲ Top  ▼ Bottom  △ TOC
Was able to compile PHP 7.0.1 in Lucid Puppy Linux 5.2.8, but couldn't compile PHP-GTK 2.0.1 to work with PHP 7.0.1
Tuesday, December 29th, 2015
06:50:38 GMT

Puppy Linux

I finally heard the news that PHP 7.0.1 has been released. So, I decided to see if I could get PHP-GTK 2.0.1 working with it. Alas, no.

I had hardly any trouble compiling PHP 7.0.1 itself. The only problem I had was this old problem, oddly deemed "Not a bug", from 2010:

https://bugs.php.net/bug.php?id=51774

./configure got stopped with these error messages at the bottom:

The problem was, I had put my PHP source code folder at a path which had a space in it:

/apmnt/truecrypt62/Hobbiton_Meadow/PHP 7/php-7.0.1/

I think I encountered this error while compiling PHP in the past, but I forgot yet again that lots of things in Linux have ridiculous incompatibilities with paths containing spaces.

The fix was simply to remove the space, changing the path to this:

/apmnt/truecrypt62/Hobbiton_Meadow/PHP7/php-7.0.1/

"./configure" worked fine after that, and so did "make" and "make install".


Here are some details on what stopped me from compiling PHP-GTK 2.0.1 to work with PHP 7.0.1.

If I recall correctly, PHP-GTK 2.0.1 needs the Cairo extension from PECL, and I wasn't able to compile Cairo 0.3.2, despite the fact that it worked with PHP 5.6.13.

This is as far as I got trying to compile Cairo 0.3.2:

And this is as far as I got trying to compile PHP-GTK 2.0.1:


So, if I ever manage to finish the PHP-GTK version of Astroblahhh Desktop, it might not be capable, at least for a while, of running on anything much newer than PHP 5.6.13. (Though it might also work with slightly later versions of PHP 5.6 which I haven't yet tried.)

   ▲ Top  ▼ Bottom  △ TOC


    Hide/Show: