FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to install php_gtk2 on Fedora 17. Unfortunately, I can't compile it - always ends with error. I searched the Internet and a lot of people report such errors with PHP 5.4.
I installed Fedora 16 which is with PHP 5.3 and php_gtk2 compiles without any issues.
Is there any easy way to downgrade PHP from 5.4 to 5.3 using yum without compiling php.
I still believe it is php issue. Here is the build error
Code:
/home/k.kirev/php-gtk/main/phpg_support.c: In function 'phpg_init_object':
/home/k.kirev/php-gtk/main/phpg_support.c:276:42: error: 'zend_class_entry' has no member named 'default_properties'
/home/k.kirev/php-gtk/main/phpg_support.c: In function 'phpg_register_class':
/home/k.kirev/php-gtk/main/phpg_support.c:314:4: error: 'zend_class_entry' has no member named 'builtin_functions'
/home/k.kirev/php-gtk/main/phpg_support.c: In function 'phpg_register_interface':
/home/k.kirev/php-gtk/main/phpg_support.c:367:7: error: 'zend_class_entry' has no member named 'builtin_functions'
make: *** [main/phpg_support.lo] Error 1
that error looks like a now fixed bug with gcc 4.7
the June 14 update to php 5.4.4 ( or in SVN)
"should" build in gcc 4.7 on fedora 17 ????????
welcome to using fedora
Things like this are VERY common .Fedora is often to new to build and use a lot of programs
At least with out some hacking
as to downgrading to php5.3
put an exclude in the fedora-update.repo for php
and manually install the old 16 php 5.3
but building php with gcc 4.6 and not 4.7 also should fix the issue
you can have more than one version installed side by side
just do some research . I have gcc 4.6,4.1 and 3.3 installed at this time
How did you the downgrade from php 5.4 to 5.3 on fedora 17 ?
I'm not sure how they did it, but I would go to the php download page on their site pick a source code to download, and compile it myself because yum will almost always give you the latest version.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.