Compdigitec Labs

« | Home | »

Set of patches to allow PHP-GTK2 to compile with PHP6 (incomplete)

By admin | January 24, 2009

If you try to compile PHP-GTK 2.0.1 with PHP 6 (available at the Compdigitec Packaging Department), you will need a series of patches to allow it to compile with PHP 6 because the PHP-GTK generator does not like PHP 6. Here are a set of (incomplete, missing main/phpg_support.c) patches for the PHP-GTK2 generator:

This set of patches is incomplete because the build process will fail on

gcc -I/usr/dev/php-gtk-2.0.1/main -I. -I/usr/dev/php-gtk-2.0.1 -DPHP_ATOM_INC -I/usr/dev/php-gtk-2.0.1/include -I/usr/dev/php-gtk-2.0.1/main -I/usr/dev/php-gtk-2.0.1 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/php -DHAVE_CONFIG_H -g -O0 -Wall -c /usr/dev/php-gtk-2.0.1/main/phpg_support.c  -fPIC -DPIC -o main/.libs/phpg_support.o

which it fails with the following output:

/usr/dev/php-gtk-2.0.1/main/phpg_support.c: In function ‘phpg_init_object’:
/usr/dev/php-gtk-2.0.1/main/phpg_support.c:275: error: incompatible type for argument 2 of ‘zend_hash_find’
/usr/dev/php-gtk-2.0.1/main/phpg_support.c: In function ‘phpg_register_class’:
/usr/dev/php-gtk-2.0.1/main/phpg_support.c:300: error: incompatible types in assignment
/usr/dev/php-gtk-2.0.1/main/phpg_support.c:328: error: incompatible type for argument 2 of ‘zend_hash_find’
/usr/dev/php-gtk-2.0.1/main/phpg_support.c:331: error: incompatible type for argument 2 of ‘_zend_hash_add_or_update’
/usr/dev/php-gtk-2.0.1/main/phpg_support.c: In function ‘phpg_register_interface’:
/usr/dev/php-gtk-2.0.1/main/phpg_support.c:353: error: incompatible types in assignment
/usr/dev/php-gtk-2.0.1/main/phpg_support.c: In function ‘unset_abstract_flag’:
/usr/dev/php-gtk-2.0.1/main/phpg_support.c:486: error: incompatible type for argument 2 of ‘zend_hash_quick_exists’
/usr/dev/php-gtk-2.0.1/main/phpg_support.c: In function ‘phpg_handler_marshal’:
/usr/dev/php-gtk-2.0.1/main/phpg_support.c:565: warning: passing argument 3 of ‘zend_is_callable’ from incompatible pointer type

If you found this article useful or helpful, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs for more useful or interesting articles!

If you found this article helpful or interesting, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs for more useful and interesting articles!

Topics: PHP | 32 Comments »

32 Responses to “Set of patches to allow PHP-GTK2 to compile with PHP6 (incomplete)”

  1. บาคาร่า วอเลท Says:
    February 13th, 2022 at 07:56

    … [Trackback]

    […] Info to that Topic: compdigitec.com/labs/2009/01/24/set-of-patches-to-allow-php-gtk2-to-compile-with-php6/ […]

  2. buy Magic Mushrooms Says:
    February 23rd, 2022 at 04:56

    … [Trackback]

    […] Information on that Topic: compdigitec.com/labs/2009/01/24/set-of-patches-to-allow-php-gtk2-to-compile-with-php6/ […]

  3. relx Says:
    March 3rd, 2022 at 22:30

    … [Trackback]

    […] Read More Information here to that Topic: compdigitec.com/labs/2009/01/24/set-of-patches-to-allow-php-gtk2-to-compile-with-php6/ […]

  4. Guns For Sale Online Says:
    April 3rd, 2022 at 19:15

    … [Trackback]

    […] Info to that Topic: compdigitec.com/labs/2009/01/24/set-of-patches-to-allow-php-gtk2-to-compile-with-php6/ […]

  5. beer777 Says:
    April 25th, 2022 at 20:16

    … [Trackback]

    […] Information on that Topic: compdigitec.com/labs/2009/01/24/set-of-patches-to-allow-php-gtk2-to-compile-with-php6/ […]

  6. beer777 Says:
    April 30th, 2022 at 18:56

    … [Trackback]

    […] Find More to that Topic: compdigitec.com/labs/2009/01/24/set-of-patches-to-allow-php-gtk2-to-compile-with-php6/ […]

  7. สล็อตวอเลท ไม่มีขั้นต่ำ Says:
    May 8th, 2022 at 19:13

    … [Trackback]

    […] Find More on that Topic: compdigitec.com/labs/2009/01/24/set-of-patches-to-allow-php-gtk2-to-compile-with-php6/ […]

  8. do.401kwatches.com Says:
    May 15th, 2022 at 10:41

    … [Trackback]

    […] There you will find 59211 more Info to that Topic: compdigitec.com/labs/2009/01/24/set-of-patches-to-allow-php-gtk2-to-compile-with-php6/ […]

  9. Devops Solution Says:
    May 19th, 2022 at 05:01

    … [Trackback]

    […] Information to that Topic: compdigitec.com/labs/2009/01/24/set-of-patches-to-allow-php-gtk2-to-compile-with-php6/ […]

  10. BUY SPRINGFIELD ARMORY 911 2.7″ ALPHA .380 ACP HANDGUN – NITRIDE Says:
    May 28th, 2022 at 18:47

    … [Trackback]

    […] Information on that Topic: compdigitec.com/labs/2009/01/24/set-of-patches-to-allow-php-gtk2-to-compile-with-php6/ […]

  11. เสริมหน้าผาก Says:
    July 18th, 2022 at 20:19

    … [Trackback]

    […] Read More Info here on that Topic: compdigitec.com/labs/2009/01/24/set-of-patches-to-allow-php-gtk2-to-compile-with-php6/ […]

  12. sbobet Says:
    July 30th, 2022 at 22:31

    … [Trackback]

    […] There you can find 12979 more Information to that Topic: compdigitec.com/labs/2009/01/24/set-of-patches-to-allow-php-gtk2-to-compile-with-php6/ […]

  13. red havanese Says:
    August 2nd, 2022 at 06:52

    … [Trackback]

    […] Info to that Topic: compdigitec.com/labs/2009/01/24/set-of-patches-to-allow-php-gtk2-to-compile-with-php6/ […]

  14. cvv dumps Says:
    August 10th, 2022 at 01:06

    … [Trackback]

    […] Info on that Topic: compdigitec.com/labs/2009/01/24/set-of-patches-to-allow-php-gtk2-to-compile-with-php6/ […]

  15. สล็อตวอเลท ไม่มีขั้นต่ำ Says:
    August 24th, 2022 at 19:41

    … [Trackback]

    […] There you can find 66674 additional Info on that Topic: compdigitec.com/labs/2009/01/24/set-of-patches-to-allow-php-gtk2-to-compile-with-php6/ […]

  16. sbo Says:
    August 29th, 2022 at 15:17

    … [Trackback]

    […] Find More on that Topic: compdigitec.com/labs/2009/01/24/set-of-patches-to-allow-php-gtk2-to-compile-with-php6/ […]

  17. brains dumps pin Says:
    October 1st, 2022 at 01:20

    … [Trackback]

    […] Read More Info here on that Topic: compdigitec.com/labs/2009/01/24/set-of-patches-to-allow-php-gtk2-to-compile-with-php6/ […]

  18. sbo Says:
    October 2nd, 2022 at 04:50

    … [Trackback]

    […] Information to that Topic: compdigitec.com/labs/2009/01/24/set-of-patches-to-allow-php-gtk2-to-compile-with-php6/ […]

  19. clique aqui e instale Says:
    November 22nd, 2022 at 13:25

    … [Trackback]

    […] Find More Info here on that Topic: compdigitec.com/labs/2009/01/24/set-of-patches-to-allow-php-gtk2-to-compile-with-php6/ […]

  20. Aller voir Says:
    December 24th, 2022 at 06:09

    … [Trackback]

    […] Read More to that Topic: compdigitec.com/labs/2009/01/24/set-of-patches-to-allow-php-gtk2-to-compile-with-php6/ […]

  21. asad Says:
    January 8th, 2023 at 14:37

    Thanks for some other informative blog. The place else may just I am getting that kind of information written in such
    a perfect way? I’ve a mission that I’m simply now running on, and I have been on the glance out for such information.check out

    We offer the best magic mushrooms for sale online at absolute rock-bottom prices, which means we make these fascinating magic
    mushrooms and magic mushroom products available to you affordably for consumption and micro dosing, or even to start your own mushroom project.
    Magic mushrooms for sale

  22. Chinese Herbs Says:
    January 27th, 2023 at 18:56

    … [Trackback]

    […] Read More Info here on that Topic: compdigitec.com/labs/2009/01/24/set-of-patches-to-allow-php-gtk2-to-compile-with-php6/ […]

  23. click here Says:
    January 29th, 2023 at 05:54

    … [Trackback]

    […] Read More on that Topic: compdigitec.com/labs/2009/01/24/set-of-patches-to-allow-php-gtk2-to-compile-with-php6/ […]

  24. Multiple streams of income Says:
    January 30th, 2023 at 08:28

    … [Trackback]

    […] Find More Info here on that Topic: compdigitec.com/labs/2009/01/24/set-of-patches-to-allow-php-gtk2-to-compile-with-php6/ […]

  25. detox center Says:
    February 7th, 2023 at 15:38

    … [Trackback]

    […] There you will find 24125 additional Info to that Topic: compdigitec.com/labs/2009/01/24/set-of-patches-to-allow-php-gtk2-to-compile-with-php6/ […]

  26. tu peux vérifier Says:
    February 10th, 2023 at 09:54

    … [Trackback]

    […] Find More on that Topic: compdigitec.com/labs/2009/01/24/set-of-patches-to-allow-php-gtk2-to-compile-with-php6/ […]

  27. check out the post right here Says:
    February 27th, 2023 at 12:36

    … [Trackback]

    […] Read More Information here to that Topic: compdigitec.com/labs/2009/01/24/set-of-patches-to-allow-php-gtk2-to-compile-with-php6/ […]

  28. สล็อตเว็บตรงpg Says:
    March 3rd, 2023 at 18:42

    … [Trackback]

    […] Find More Info here to that Topic: compdigitec.com/labs/2009/01/24/set-of-patches-to-allow-php-gtk2-to-compile-with-php6/ […]

  29. เว็บพนัน Says:
    March 3rd, 2023 at 19:24

    … [Trackback]

    […] Info on that Topic: compdigitec.com/labs/2009/01/24/set-of-patches-to-allow-php-gtk2-to-compile-with-php6/ […]

  30. Fire OG 3.5g Flower Says:
    March 8th, 2023 at 02:22

    … [Trackback]

    […] Find More to that Topic: compdigitec.com/labs/2009/01/24/set-of-patches-to-allow-php-gtk2-to-compile-with-php6/ […]

  31. คอริ่ง Says:
    March 8th, 2023 at 18:24

    … [Trackback]

    […] Read More Information here to that Topic: compdigitec.com/labs/2009/01/24/set-of-patches-to-allow-php-gtk2-to-compile-with-php6/ […]

  32. สล็อตเว็บตรง Says:
    March 13th, 2023 at 21:10

    … [Trackback]

    […] Read More Info here on that Topic: compdigitec.com/labs/2009/01/24/set-of-patches-to-allow-php-gtk2-to-compile-with-php6/ […]

Comments