Installation right now (Fedora Vs kioto) the winner is kioto
| From: | difenza2003\@libero\.it | Date: | Tue, 30 Nov 2004 15:11:30 +0000 |
| Subject: | Installation right now (Fedora Vs kioto) the winner is kioto | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-5277@lists.php.net to get a copy of this message | ||
Hi all i 'm very happy i have installed for the first time the PHP-GTk on my Fedora.
I want that this informations will add to the global tutorial or FAQ of
gtk.php.net installation of
linux based on RPM package manager.
For the newbie on linux the problem of installation depend of RPM package
installed on the system.
I have updated the GTK2: like gtk2-devel, libglade, gnome-libs, libpng-devel etc
but i don't know that the GTK1 it's a whole module apart.
I have installed more and more RPM for all dependencies needed of GTk1.
This a list of package that i have installed for all dependencies on my Fedora
for overview:
alsa-lib-devel-1.0.3a-2.i386.rpm
gtk-engines-0.12-3.0.1.i386.rpm
audiofile-devel-0..2.5-1.1.i386.rpm
imlib-devel-1.9.13-15.1.i386.rpm
esound-devel-0.2.34-2.i386.rpm
libglade-devel-0.17-13.2.1.i386.rpm
glib-devel-1.2.10-12.1.1.i386.rpm
libjpeg-devel-6b-31.1.i386.rpm
gnome-libs-devel-1.4.1.2.90-40.i386.rpm
libtiff-devel-3.5.7-16.1.i386.rpm
gtk+-1.2.10-29.1.1.i386.rpm
libungif-devel-4.1.0-17.1.i386..rpm
gtk+-devel-1.2.10-29.1.1.i386.rpm
libxml-devel-1.8.17-10.1..1.i386.rpm
gtk-doc-1.2-1.noarch.rpm
ORBit-devel-0.5.17-11.4.1.i386.rpm
gtk+-docs-1.2.10-12.i586.rpm
The second step to complete the installation:
./buildconf --with-phpize=/path_to_php/bin/phpize \
aclocal
I have received out any warning.
./configure --with-php-config=/path_to_php/bin/php-config \
make
make install
.......
Installing shared extensions:
/usr/local/php/lib/php/extensions/no-debug-non-zts-20020429/
In the php.ini to the directive extension_dir=
"/usr/local/php/lib/php/extensions/no-debug-non-zts-20020429/"
#extension loaded from php uncomment the extension to be loaded strip ;
extension=php_gtk.so
Change directory of php is installed /usr/local/php/bin/
#pwd /usr/local/php/bin/
ln -sf /usr/local/src/php-gtk/test test
#to testing the installation
./php /test/hello.php
I hope that will help other little users of Linux sistem that admin distro like
Fedora and Mandrake.
Thanks to Dimitri Giardina and Cristian Weiske for the triks.
Good work to all members of community.
____________________________________________________________
Libero ADSL: navighi gratis a 1.2 Mega, senza canone e costi di attivazione.
Abbonati subito su http://www.libero.it