[PHP-BUG] Bug #63805 [NEW]: Problem during compiling php-gtk with php 5.4

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[PHP-BUG] Bug #63805 [NEW]: Problem during compiling php-gtk with php 5.4

Guthrie at att dot net
From:             marco_mg at libero dot it
Operating system: GNU/Linux (Debian Wheezy)
PHP version:      5.4Git-2012-12-19 (Git)
Package:          PHP-GTK related
Bug Type:         Bug
Bug description:Problem during compiling php-gtk with php 5.4

Description:
------------
While compiling php-gtk stops with an error.

Test script:
---------------
marco@ACER:~/Scrivania/php-gtk-2.0.1$ make
/bin/bash /home/marco/Scrivania/php-gtk-2.0.1/libtool --mode=compile cc
-I./ext/gtk+/ -I/home/marco/Scrivania/php-gtk-2.0.1/./ext/gtk+/
-DPHP_ATOM_INC -I/home/marco/Scrivania/php-gtk-2.0.1/include
-I/home/marco/Scrivania/php-gtk-2.0.1/main
-I/home/marco/Scrivania/php-gtk-2.0.1 -I/usr/include/php5
-I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend
-I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0
-I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
-I/usr/include/libxml2 -I/usr/include/libglade-2.0
-I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include  -DHAVE_CONFIG_H  -g
-O2   -c /home/marco/Scrivania/php-gtk-2.0.1/./ext/gtk+/php_gtk+.c -o
./ext/gtk+/php_gtk+.lo
libtool: compile:  cc -I./ext/gtk+/
-I/home/marco/Scrivania/php-gtk-2.0.1/./ext/gtk+/ -DPHP_ATOM_INC
-I/home/marco/Scrivania/php-gtk-2.0.1/include
-I/home/marco/Scrivania/php-gtk-2.0.1/main
-I/home/marco/Scrivania/php-gtk-2.0.1 -I/usr/include/php5
-I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend
-I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0
-I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
-I/usr/include/libxml2 -I/usr/include/libglade-2.0
-I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -DHAVE_CONFIG_H -g
-O2 -c /home/marco/Scrivania/php-gtk-2.0.1/./ext/gtk+/php_gtk+.c  -fPIC
-DPIC -o ./ext/gtk+/.libs/php_gtk+.o
In file included from
/home/marco/Scrivania/php-gtk-2.0.1/./ext/gtk+/php_gtk+.c:23:0:
/home/marco/Scrivania/php-gtk-2.0.1/main/php_gtk.h:307:75: error: unknown
type name 'function_entry'
In file included from
/home/marco/Scrivania/php-gtk-2.0.1/./ext/gtk+/php_gtk+.c:23:0:
/home/marco/Scrivania/php-gtk-2.0.1/main/php_gtk.h:308:79: error: unknown
type name 'function_entry'
/home/marco/Scrivania/php-gtk-2.0.1/main/php_gtk.h:490:75: error: unknown
type name 'function_entry'
/home/marco/Scrivania/php-gtk-2.0.1/main/php_gtk.h:506:77: error: unknown
type name 'function_entry'
make: *** [ext/gtk+/php_gtk+.lo] Error 1


--
Edit bug report at https://bugs.php.net/bug.php?id=63805&edit=1
--
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=63805&r=trysnapshot54
Try a snapshot (PHP 5.3):   https://bugs.php.net/fix.php?id=63805&r=trysnapshot53
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=63805&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=63805&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=63805&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=63805&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=63805&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=63805&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=63805&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=63805&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=63805&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=63805&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=63805&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63805&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=63805&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=63805&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=63805&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=63805&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=63805&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=63805&r=mysqlcfg


--
PHP-GTK Development Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply | Threaded
Open this post in threaded view
|

Bug #63805 [Opn->Fbk]: Problem during compiling php-gtk with php 5.4

auroraeosrose
Edit report at https://bugs.php.net/bug.php?id=63805&edit=1

 ID:                 63805
 Updated by:         [hidden email]
 Reported by:        marco_mg at libero dot it
 Summary:            Problem during compiling php-gtk with php 5.4
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            PHP-GTK related
 Operating System:   GNU/Linux (Debian Wheezy)
 PHP Version:        5.4Git-2012-12-19 (Git)
 Block user comment: N
 Private report:     N

 New Comment:

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

I cannot reproduce this, master branch of git compiles fine against PHP 5.4

You used the source code from https://github.com/php/php-gtk-src.git correct?  And you checked out the master branch

php-gtk 2.0.1 does NOT work with PHP 5.4 nor will it

The compile error displayed says you're using php-gtk-2.0.1 source


Previous Comments:
------------------------------------------------------------------------
[2012-12-19 11:15:09] marco_mg at libero dot it

Description:
------------
While compiling php-gtk stops with an error.

Test script:
---------------
marco@ACER:~/Scrivania/php-gtk-2.0.1$ make
/bin/bash /home/marco/Scrivania/php-gtk-2.0.1/libtool --mode=compile cc  -I./ext/gtk+/ -I/home/marco/Scrivania/php-gtk-2.0.1/./ext/gtk+/ -DPHP_ATOM_INC -I/home/marco/Scrivania/php-gtk-2.0.1/include -I/home/marco/Scrivania/php-gtk-2.0.1/main -I/home/marco/Scrivania/php-gtk-2.0.1 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include  -DHAVE_CONFIG_H  -g -O2   -c /home/marco/Scrivania/php-gtk-2.0.1/./ext/gtk+/php_gtk+.c -o ./ext/gtk+/php_gtk+.lo
libtool: compile:  cc -I./ext/gtk+/ -I/home/marco/Scrivania/php-gtk-2.0.1/./ext/gtk+/ -DPHP_ATOM_INC -I/home/marco/Scrivania/php-gtk-2.0.1/include -I/home/marco/Scrivania/php-gtk-2.0.1/main -I/home/marco/Scrivania/php-gtk-2.0.1 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -DHAVE_CONFIG_H -g -O2 -c /home/marco/Scrivania/php-gtk-2.0.1/./ext/gtk+/php_gtk+.c  -fPIC -DPIC -o ./ext/gtk+/.libs/php_gtk+.o
In file included from /home/marco/Scrivania/php-gtk-2.0.1/./ext/gtk+/php_gtk+.c:23:0:
/home/marco/Scrivania/php-gtk-2.0.1/main/php_gtk.h:307:75: error: unknown type name 'function_entry'
In file included from /home/marco/Scrivania/php-gtk-2.0.1/./ext/gtk+/php_gtk+.c:23:0:
/home/marco/Scrivania/php-gtk-2.0.1/main/php_gtk.h:308:79: error: unknown type name 'function_entry'
/home/marco/Scrivania/php-gtk-2.0.1/main/php_gtk.h:490:75: error: unknown type name 'function_entry'
/home/marco/Scrivania/php-gtk-2.0.1/main/php_gtk.h:506:77: error: unknown type name 'function_entry'
make: *** [ext/gtk+/php_gtk+.lo] Error 1



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=63805&edit=1

--
PHP-GTK Development Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply | Threaded
Open this post in threaded view
|

Bug #63805 [Com]: Problem during compiling php-gtk with php 5.4

Guthrie at att dot net
In reply to this post by Guthrie at att dot net
Edit report at https://bugs.php.net/bug.php?id=63805&edit=1

 ID:                 63805
 Comment by:         marco__mg at libero dot it
 Reported by:        marco_mg at libero dot it
 Summary:            Problem during compiling php-gtk with php 5.4
 Status:             Feedback
 Type:               Bug
 Package:            PHP-GTK related
 Operating System:   GNU/Linux (Debian Wheezy)
 PHP Version:        5.4Git-2012-12-19 (Git)
 Block user comment: N
 Private report:     N

 New Comment:

I have downloaded the sources from http://gtk.php.net/download.php (php-gtk 2.0.1).


Previous Comments:
------------------------------------------------------------------------
[2012-12-19 14:24:01] [hidden email]

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

I cannot reproduce this, master branch of git compiles fine against PHP 5.4

You used the source code from https://github.com/php/php-gtk-src.git correct?  And you checked out the master branch

php-gtk 2.0.1 does NOT work with PHP 5.4 nor will it

The compile error displayed says you're using php-gtk-2.0.1 source

------------------------------------------------------------------------
[2012-12-19 11:15:09] marco_mg at libero dot it

Description:
------------
While compiling php-gtk stops with an error.

Test script:
---------------
marco@ACER:~/Scrivania/php-gtk-2.0.1$ make
/bin/bash /home/marco/Scrivania/php-gtk-2.0.1/libtool --mode=compile cc  -I./ext/gtk+/ -I/home/marco/Scrivania/php-gtk-2.0.1/./ext/gtk+/ -DPHP_ATOM_INC -I/home/marco/Scrivania/php-gtk-2.0.1/include -I/home/marco/Scrivania/php-gtk-2.0.1/main -I/home/marco/Scrivania/php-gtk-2.0.1 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include  -DHAVE_CONFIG_H  -g -O2   -c /home/marco/Scrivania/php-gtk-2.0.1/./ext/gtk+/php_gtk+.c -o ./ext/gtk+/php_gtk+.lo
libtool: compile:  cc -I./ext/gtk+/ -I/home/marco/Scrivania/php-gtk-2.0.1/./ext/gtk+/ -DPHP_ATOM_INC -I/home/marco/Scrivania/php-gtk-2.0.1/include -I/home/marco/Scrivania/php-gtk-2.0.1/main -I/home/marco/Scrivania/php-gtk-2.0.1 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -DHAVE_CONFIG_H -g -O2 -c /home/marco/Scrivania/php-gtk-2.0.1/./ext/gtk+/php_gtk+.c  -fPIC -DPIC -o ./ext/gtk+/.libs/php_gtk+.o
In file included from /home/marco/Scrivania/php-gtk-2.0.1/./ext/gtk+/php_gtk+.c:23:0:
/home/marco/Scrivania/php-gtk-2.0.1/main/php_gtk.h:307:75: error: unknown type name 'function_entry'
In file included from /home/marco/Scrivania/php-gtk-2.0.1/./ext/gtk+/php_gtk+.c:23:0:
/home/marco/Scrivania/php-gtk-2.0.1/main/php_gtk.h:308:79: error: unknown type name 'function_entry'
/home/marco/Scrivania/php-gtk-2.0.1/main/php_gtk.h:490:75: error: unknown type name 'function_entry'
/home/marco/Scrivania/php-gtk-2.0.1/main/php_gtk.h:506:77: error: unknown type name 'function_entry'
make: *** [ext/gtk+/php_gtk+.lo] Error 1



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=63805&edit=1

--
PHP-GTK Development Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply | Threaded
Open this post in threaded view
|

Bug #63805 [Com]: Problem during compiling php-gtk with php 5.4

Guthrie at att dot net
In reply to this post by Guthrie at att dot net
Edit report at https://bugs.php.net/bug.php?id=63805&edit=1

 ID:                 63805
 Comment by:         marco__mg at libero dot it
 Reported by:        marco_mg at libero dot it
 Summary:            Problem during compiling php-gtk with php 5.4
 Status:             Feedback
 Type:               Bug
 Package:            PHP-GTK related
 Operating System:   GNU/Linux (Debian Wheezy)
 PHP Version:        5.4Git-2012-12-19 (Git)
 Block user comment: N
 Private report:     N

 New Comment:

Now I've cloned git repository and it works!
Thank you very much!


Previous Comments:
------------------------------------------------------------------------
[2012-12-19 15:27:22] marco__mg at libero dot it

I have downloaded the sources from http://gtk.php.net/download.php (php-gtk 2.0.1).

------------------------------------------------------------------------
[2012-12-19 14:24:01] [hidden email]

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

I cannot reproduce this, master branch of git compiles fine against PHP 5.4

You used the source code from https://github.com/php/php-gtk-src.git correct?  And you checked out the master branch

php-gtk 2.0.1 does NOT work with PHP 5.4 nor will it

The compile error displayed says you're using php-gtk-2.0.1 source

------------------------------------------------------------------------
[2012-12-19 11:15:09] marco_mg at libero dot it

Description:
------------
While compiling php-gtk stops with an error.

Test script:
---------------
marco@ACER:~/Scrivania/php-gtk-2.0.1$ make
/bin/bash /home/marco/Scrivania/php-gtk-2.0.1/libtool --mode=compile cc  -I./ext/gtk+/ -I/home/marco/Scrivania/php-gtk-2.0.1/./ext/gtk+/ -DPHP_ATOM_INC -I/home/marco/Scrivania/php-gtk-2.0.1/include -I/home/marco/Scrivania/php-gtk-2.0.1/main -I/home/marco/Scrivania/php-gtk-2.0.1 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include  -DHAVE_CONFIG_H  -g -O2   -c /home/marco/Scrivania/php-gtk-2.0.1/./ext/gtk+/php_gtk+.c -o ./ext/gtk+/php_gtk+.lo
libtool: compile:  cc -I./ext/gtk+/ -I/home/marco/Scrivania/php-gtk-2.0.1/./ext/gtk+/ -DPHP_ATOM_INC -I/home/marco/Scrivania/php-gtk-2.0.1/include -I/home/marco/Scrivania/php-gtk-2.0.1/main -I/home/marco/Scrivania/php-gtk-2.0.1 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -DHAVE_CONFIG_H -g -O2 -c /home/marco/Scrivania/php-gtk-2.0.1/./ext/gtk+/php_gtk+.c  -fPIC -DPIC -o ./ext/gtk+/.libs/php_gtk+.o
In file included from /home/marco/Scrivania/php-gtk-2.0.1/./ext/gtk+/php_gtk+.c:23:0:
/home/marco/Scrivania/php-gtk-2.0.1/main/php_gtk.h:307:75: error: unknown type name 'function_entry'
In file included from /home/marco/Scrivania/php-gtk-2.0.1/./ext/gtk+/php_gtk+.c:23:0:
/home/marco/Scrivania/php-gtk-2.0.1/main/php_gtk.h:308:79: error: unknown type name 'function_entry'
/home/marco/Scrivania/php-gtk-2.0.1/main/php_gtk.h:490:75: error: unknown type name 'function_entry'
/home/marco/Scrivania/php-gtk-2.0.1/main/php_gtk.h:506:77: error: unknown type name 'function_entry'
make: *** [ext/gtk+/php_gtk+.lo] Error 1



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=63805&edit=1

--
PHP-GTK Development Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply | Threaded
Open this post in threaded view
|

Bug #63805 [Fbk->Nab]: Problem during compiling php-gtk with php 5.4

auroraeosrose
In reply to this post by Guthrie at att dot net
Edit report at https://bugs.php.net/bug.php?id=63805&edit=1

 ID:                 63805
 Updated by:         [hidden email]
 Reported by:        marco_mg at libero dot it
 Summary:            Problem during compiling php-gtk with php 5.4
-Status:             Feedback
+Status:             Not a bug
 Type:               Bug
 Package:            PHP-GTK related
 Operating System:   GNU/Linux (Debian Wheezy)
 PHP Version:        5.4Git-2012-12-19 (Git)
 Block user comment: N
 Private report:     N

 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.




Previous Comments:
------------------------------------------------------------------------
[2012-12-19 15:32:47] marco__mg at libero dot it

Now I've cloned git repository and it works!
Thank you very much!

------------------------------------------------------------------------
[2012-12-19 15:27:22] marco__mg at libero dot it

I have downloaded the sources from http://gtk.php.net/download.php (php-gtk 2.0.1).

------------------------------------------------------------------------
[2012-12-19 14:24:01] [hidden email]

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

I cannot reproduce this, master branch of git compiles fine against PHP 5.4

You used the source code from https://github.com/php/php-gtk-src.git correct?  And you checked out the master branch

php-gtk 2.0.1 does NOT work with PHP 5.4 nor will it

The compile error displayed says you're using php-gtk-2.0.1 source

------------------------------------------------------------------------
[2012-12-19 11:15:09] marco_mg at libero dot it

Description:
------------
While compiling php-gtk stops with an error.

Test script:
---------------
marco@ACER:~/Scrivania/php-gtk-2.0.1$ make
/bin/bash /home/marco/Scrivania/php-gtk-2.0.1/libtool --mode=compile cc  -I./ext/gtk+/ -I/home/marco/Scrivania/php-gtk-2.0.1/./ext/gtk+/ -DPHP_ATOM_INC -I/home/marco/Scrivania/php-gtk-2.0.1/include -I/home/marco/Scrivania/php-gtk-2.0.1/main -I/home/marco/Scrivania/php-gtk-2.0.1 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include  -DHAVE_CONFIG_H  -g -O2   -c /home/marco/Scrivania/php-gtk-2.0.1/./ext/gtk+/php_gtk+.c -o ./ext/gtk+/php_gtk+.lo
libtool: compile:  cc -I./ext/gtk+/ -I/home/marco/Scrivania/php-gtk-2.0.1/./ext/gtk+/ -DPHP_ATOM_INC -I/home/marco/Scrivania/php-gtk-2.0.1/include -I/home/marco/Scrivania/php-gtk-2.0.1/main -I/home/marco/Scrivania/php-gtk-2.0.1 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -DHAVE_CONFIG_H -g -O2 -c /home/marco/Scrivania/php-gtk-2.0.1/./ext/gtk+/php_gtk+.c  -fPIC -DPIC -o ./ext/gtk+/.libs/php_gtk+.o
In file included from /home/marco/Scrivania/php-gtk-2.0.1/./ext/gtk+/php_gtk+.c:23:0:
/home/marco/Scrivania/php-gtk-2.0.1/main/php_gtk.h:307:75: error: unknown type name 'function_entry'
In file included from /home/marco/Scrivania/php-gtk-2.0.1/./ext/gtk+/php_gtk+.c:23:0:
/home/marco/Scrivania/php-gtk-2.0.1/main/php_gtk.h:308:79: error: unknown type name 'function_entry'
/home/marco/Scrivania/php-gtk-2.0.1/main/php_gtk.h:490:75: error: unknown type name 'function_entry'
/home/marco/Scrivania/php-gtk-2.0.1/main/php_gtk.h:506:77: error: unknown type name 'function_entry'
make: *** [ext/gtk+/php_gtk+.lo] Error 1



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=63805&edit=1

--
PHP-GTK Development Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php