如何在 Acer Aspire One 中安装 php-gtk?
我有一个应用程序在 Ubuntu、Windows 和 Asus EeePC 附带的 Xandros 中运行得很好。
现在我们正在转向 Acer Aspire One 但我在制作 php 时遇到了很多麻烦-gtk 在自带的类 Fedora (Linpus Linux Lite) Linux 下编译。
I have an application that works pretty well in Ubuntu, Windows and the Xandros that come with the Asus EeePC.
Now we are moving to the Acer Aspire One but I'm having a lot of trouble making php-gtk to compile under the Fedora-like (Linpus Linux Lite) Linux that come with it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我设法在 Fedora 上安装 Phoronix 测试套件所需的所有组件,但仍然有一个问题。
你需要两个 Fedora 中没有的软件包 php-gtk,但是 php-gtk 也有它的依赖项 - pecl-cairo
php-gtk 需要从 svn 下载,因为 tar.gz 版本非常旧并且无法使用php 5.3
这是我构建所有组件的方法。
因此,请继续我离开的地方,让 Phoronix 测试套件在 Fedora 上运行。
I managed to get all components needed for Phoronix test suite installed on Fedora but still have one issue.
You need two packages that aren't in Fedora, php-gtk, but php-gtk also has it's dependency - pecl-cairo
php-gtk needs to be downloaded from svn because tar.gz version is really old and doesn't work with php 5.3
Here is how I got all components built.
So please take where I left to get Phoronix test suite running on Fedora.
大家好,我终于让这个东西工作了,基本工作流程是这样的:
如果你想添加更多像 gtk-extra 这样的库,请在查看可用的不同选项之前输入
./configure -help
。安装后,您需要将
php_gtk2.so
添加到/etc/php.ini
的动态扩展来源:
[1]: < a href="http://macles.blogspot.com/2008/08/dependency-problems-on-acer-aspire-one.html" rel="nofollow noreferrer">Acer Aspire One Linux 上的依赖性问题
Hi Guys well I finally got this thing to work the basic workflow was this:
If you want to add more libraries like gtk-extra please type
./configure -help
before making it to see the different options available.After installing you'll need to add
php_gtk2.so
to the Dynamic Extensions of/etc/php.ini
Sources:
[1]: Dependency problems on Acer Aspire One Linux
如果你能给我们更多的帮助,而不仅仅是编译时的麻烦; 我们也许能够更好地帮助您解决问题。
If you could give us more to go on than just trouble making it compile; we might be better able to help you with your issues.