インストール方法はphp-gtkは、Acer Aspire。
質問
しているアプリケーション作品のフリー UbuntuエクスペディアのキャンセXandrosのAsus EeePC.
現在の Acer Aspire One がん手作りのphp-gtkをコンパイルにFedora(Linpus Linux Lite)Linuxとならなくてはなりません。
解決 2
こんにちはうものだそして私はこのことを仕事の基礎ワークフローがこ
#!/bin/bash
sudo yum install yum-utils
#We don't want to update the main gtk2 by mistake so we download them
#manually and install with no-deps[1](and forced because gtk version
#version of AA1 and the gtk2-devel aren't compatible).
sudo yumdownloader --disablerepo=updates gtk2-devel glib2-devel
sudo rpm --force --nodeps -i gtk2*rpm glib2*rpm
#We install the rest of the libraries needed.
sudo yum --disablerepo=updates install atk-devel pango-devel libglade2-devel
sudo yum install php-cli php-devel make gcc
#We Download and compile php-gtk
wget http://gtk.php.net/do_download.php?download_file=php-gtk-2.0.1.tar.gz
tar -xvzf php-gtk-2.0.1.tar.gz
cd php-gtk-2.0.1
./buildconf
./configure
make
sudo make install
を追加したい場合により図書館のようなブジェクトファイルの追加くださいタイプ ./configure -help
前の造りになっており、異なるオプションが可能です。
インストール後、すぐに追加する必要があり php_gtk2.so
の 動的拡張 の /etc/php.ini
extension=php_gtk2.so
資料
他のヒント
管理するすべてのコンポーネント製品Phoronix試験スイートに設置Fedoraもしています。
# phoronix-test-suite gui
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
pwd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
pwd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
/usr/bin/phoronix-test-suite: line 28: [: /usr/share/phoronix-test-suite: unary operator expected
必要な二つのパッケージなにFedora、php-gtkがphp-gtkもので依存関係-pecl-カイロ
php-gtkする必要からダウンロードsvnでtar.gz 版は本当に古いリリースでは以下のセキュリティ5.3
ここにはなったきっかけに全ての部品。
su -c "yum install php-cli php-devel make gcc gtk2-devel svn"
svn co http://svn.php.net/repository/pecl/cairo/trunk pecl-cairo
cd pecl-cairo/
phpize
./configure
make
su -c "make install"
cd ..
svn co http://svn.php.net/repository/gtk/php-gtk/trunk php-gtk
cd php-gtk
./buildconf
./configure
make
su -c "make install"
cd ..
wget http://www.phoronix-test-suite.com/download.php?file=phoronix-test-suite-2.8.1
tar xvzf phoronix-test-suite-2.8.1.tar.gz
cd phoronix-test-suite
su -c "./install-sh"
くにかくPhoronix試験スイート走行Fedora.
ごりに行くだけでトラブルでコンパイル;した方が良いかもしれないときのお手伝をさせていただきます。
所属していません StackOverflow