I'm working on a project using a Raspberry Pi 3 board as a low cost platform for developing management systems, with the Adianti Framework for PHP:
I'm trying to make php-gtk work so I can run and use Adianti Studio, the IDE of the framework, but it's difficult. The architecture of the RPi3 processor is ARM, and the php-gtk compiled packages available on the Adianti website are for x86 platform, so they do not work.
I was able to install gtk2 on Raspberry using this tutorial:
I was able to run "Hello World" on a good one, so, in theory, GTK2 is working, just missing the php-gtk.
Then I followed this tutorial for installing php-gtk in Debian:
I followed everything right, except for the installation of php-gtk by svn, because the indicated repository no longer exists. But I downloaded the SRC source code from the official php-gtk page and continued the tutorial steps from that point on to proceed with the installation.
The whole procedure was executed without problems. But at the time of testing php-gtk for the command:
php -m | grep gtk
Displays the following error:
"PHP Warning: Unable to load dynamic library '/usr/lib/php5/20131226/php_gtk2.so' - /usr/lib/php5/20131226/php_gtk2.so: undefined symbol: php_cairo_get_context_ce in Unknown on line 0"
Remembering that the reference to the libraries are already inserted in php.ini...
And when I try to run the Adianti Studio IDE I get the following error:
"./main.sh: 4: ./main.sh: php-gtk2: not found"
Has anyone here accidentally used php-gtk on the Raspbian, and have any suggestions that might help me?
Last edited by rafaelramos (2016-12-20 20:02)
I made php-gtk work on ARM by following this link:
But after contacting the framework support, I noticed that the IDE is incompatible with the ARM architecture...