| Newsgroups |
php.gtk.dev |
| Message-ID |
<[email protected]> |
ID: 44357
Updated by: [email protected]
Reported By: nhlaine at gmx dot net
-Status: Assigned
+Status: Feedback
Bug Type: PHP-GTK related
Operating System: GNU/Linux
PHP Version: 5.2.0
Assigned To: bmajdak
New Comment:
to original poster:
does this still happen on newer PHP5?
also be sure to install php dev packages for your distro if you did not
compile php5 yourself
Previous Comments:
------------------------------------------------------------------------
[2008-03-16 21:38:33] nhlaine at gmx dot net
On my side I do not experiment the 'Could not startup' error. Please
find below the full error trace.
Also I tried to rebuild from CVS and followed ur instructions bmajdak
and it didn't change a thing. The `php -i | grep Configure` doesn't
echo anything...?
------
/bin/sh /home/nhlaine/Desktop/php-gtk/libtool --mode=compile gcc
-I./ext/gtk+/ -I/home/nhlaine/Desktop/php-gtk/./ext/gtk+/ -DPHP_ATOM_INC
-I/home/nhlaine/Desktop/php-gtk/include
-I/home/nhlaine/Desktop/php-gtk/main -I/home/nhlaine/Desktop/php-gtk
-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/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/freetype2
-I/usr/include/libpng12 -I/usr/include/libglade-2.0
-I/usr/include/libxml2 -DHAVE_CONFIG_H -g -O2 -c
/home/nhlaine/Desktop/php-gtk/./ext/gtk+/php_gtk+.c -o
./ext/gtk+/php_gtk+.lo
mkdir ./ext/gtk+/.libs
gcc -I./ext/gtk+/ -I/home/nhlaine/Desktop/php-gtk/./ext/gtk+/
-DPHP_ATOM_INC -I/home/nhlaine/Desktop/php-gtk/include
-I/home/nhlaine/Desktop/php-gtk/main -I/home/nhlaine/Desktop/php-gtk
-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/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/freetype2
-I/usr/include/libpng12 -I/usr/include/libglade-2.0
-I/usr/include/libxml2 -DHAVE_CONFIG_H -g -O2 -c
/home/nhlaine/Desktop/php-gtk/./ext/gtk+/php_gtk+.c -fPIC -DPIC -o
./ext/gtk+/.libs/php_gtk+.o
( \
/usr/bin/php /home/nhlaine/Desktop/php-gtk/generator/generator.php
\
-l ext/gtk+/gen_atk.log \
-r ext/gtk+/atk-types.defs \
-r ext/gtk+/pango-types.defs \
-r ext/gtk+/gdk-types.defs \
-r ext/gtk+/gtk-types.defs \
-o ext/gtk+/atk.overrides \
-p atk \
-f ext/gtk+/gen_atk.c ext/gtk+/atk.defs \
-v 2.8 \
&& grep -h "^PHP_GTK_EXPORT_CE" ext/gtk+/gen_atk.c | sed -e
"s!^!extern !" > ext/gtk+/gen_atk.h \
)
Parsing file 'ext/gtk+/atk.defs'.
Parsing file 'ext/gtk+/atk-types.defs'.
Parsing file 'ext/gtk+/pango-types.defs'.
Parsing file 'ext/gtk+/gdk-types.defs'.
Parsing file 'ext/gtk+/gtk-types.defs'.
Parsing file 'ext/gtk+/atk-types.defs'.
========================================================================
Atk Summary
========================================================================
Atk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
functions (14 written, 4 skipped)
--------------------------------------------------
Interfaces
--------------------------------------------------
-- none --
--------------------------------------------------
Objects
--------------------------------------------------
AtkHyperlink
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
constructors (0 written, 0 skipped)
methods (6 written, 0 skipped)
AtkObject
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
constructors (0 written, 0 skipped)
methods (16 written, 2 skipped)
AtkNoOpObject
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
constructors (1 written, 0 skipped)
methods (0 written, 0 skipped)
AtkObjectFactory
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
constructors (0 written, 0 skipped)
methods (2 written, 0 skipped)
AtkNoOpObjectFactory
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
constructors (1 written, 0 skipped)
methods (0 written, 0 skipped)
AtkRegistry
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
constructors (0 written, 0 skipped)
methods (3 written, 0 skipped)
AtkRelation
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
constructors (1 written, 0 skipped)
methods (1 written, 1 skipped)
AtkRelationSet
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
constructors (1 written, 0 skipped)
methods (7 written, 0 skipped)
AtkStateSet
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
constructors (1 written, 0 skipped)
methods (8 written, 2 skipped)
AtkUtil
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
constructors (0 written, 0 skipped)
methods (0 written, 0 skipped)
--------------------------------------------------
Boxed Types
--------------------------------------------------
-- none --
--------------------------------------------------
Pointers
--------------------------------------------------
-- none --
========================================================================
Atk Coverage
========================================================================
Functions : 77.8% written (14/18)
Methods : 89.6% written (43/48)
Constructors : 100.0% written (5/5)
Property accessors : none found
/bin/sh /home/nhlaine/Desktop/php-gtk/libtool --mode=compile gcc
-Iext/gtk+/ -I/home/nhlaine/Desktop/php-gtk/ext/gtk+/ -DPHP_ATOM_INC
-I/home/nhlaine/Desktop/php-gtk/include
-I/home/nhlaine/Desktop/php-gtk/main -I/home/nhlaine/Desktop/php-gtk
-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/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/freetype2
-I/usr/include/libpng12 -I/usr/include/libglade-2.0
-I/usr/include/libxml2 -DHAVE_CONFIG_H -g -O2 -c ext/gtk+/gen_atk.c
-o ext/gtk+/gen_atk.lo
gcc -Iext/gtk+/ -I/home/nhlaine/Desktop/php-gtk/ext/gtk+/
-DPHP_ATOM_INC -I/home/nhlaine/Desktop/php-gtk/include
-I/home/nhlaine/Desktop/php-gtk/main -I/home/nhlaine/Desktop/php-gtk
-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/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/freetype2
-I/usr/include/libpng12 -I/usr/include/libglade-2.0
-I/usr/include/libxml2 -DHAVE_CONFIG_H -g -O2 -c ext/gtk+/gen_atk.c
-fPIC -DPIC -o ext/gtk+/.libs/gen_atk.o
ext/gtk+/gen_atk.c: In function 'zim_Atk_get_default_registry':
ext/gtk+/gen_atk.c:28: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c:28: error: (Each undeclared identifier is reported
only once
ext/gtk+/gen_atk.c:28: error: for each function it appears in.)
ext/gtk+/gen_atk.c: In function 'zim_Atk_relation_type_register':
ext/gtk+/gen_atk.c:39: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c:39: error: too few arguments to function
'atk_relation_type_register'
ext/gtk+/gen_atk.c: In function 'zim_Atk_relation_type_for_name':
ext/gtk+/gen_atk.c:50: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c:50: error: too few arguments to function
'atk_relation_type_for_name'
ext/gtk+/gen_atk.c: In function 'zim_Atk_state_type_for_name':
ext/gtk+/gen_atk.c:61: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c:61: error: too few arguments to function
'atk_state_type_for_name'
ext/gtk+/gen_atk.c: In function 'zim_Atk_text_attribute_get_name':
ext/gtk+/gen_atk.c:72: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c:72: error: too few arguments to function
'atk_text_attribute_get_name'
ext/gtk+/gen_atk.c: In function 'zim_Atk_text_attribute_get_value':
ext/gtk+/gen_atk.c:83: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c:83: error: too few arguments to function
'atk_text_attribute_get_value'
ext/gtk+/gen_atk.c: In function 'zim_Atk_remove_focus_tracker':
ext/gtk+/gen_atk.c:94: error: too few arguments to function
'atk_remove_focus_tracker'
ext/gtk+/gen_atk.c: In function 'zim_Atk_focus_tracker_notify':
ext/gtk+/gen_atk.c:105: error: too few arguments to function
'atk_focus_tracker_notify'
ext/gtk+/gen_atk.c: In function
'zim_Atk_remove_global_event_listener':
ext/gtk+/gen_atk.c:116: error: too few arguments to function
'atk_remove_global_event_listener'
ext/gtk+/gen_atk.c: In function 'zim_Atk_remove_key_event_listener':
ext/gtk+/gen_atk.c:127: error: too few arguments to function
'atk_remove_key_event_listener'
ext/gtk+/gen_atk.c: In function 'zim_Atk_get_root':
ext/gtk+/gen_atk.c:138: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c: In function 'zim_Atk_get_toolkit_name':
ext/gtk+/gen_atk.c:149: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c: In function 'zim_Atk_get_toolkit_version':
ext/gtk+/gen_atk.c:160: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c: In function 'zim_Atk_role_for_name':
ext/gtk+/gen_atk.c:171: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c:171: error: too few arguments to function
'atk_role_for_name'ext/gtk+/gen_atk.c: In function
'zim_AtkHyperlink_get_uri':
ext/gtk+/gen_atk.c:253: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c:253: error: too few arguments to function
'atk_hyperlink_get_uri'
ext/gtk+/gen_atk.c: In function 'zim_AtkHyperlink_get_object':
ext/gtk+/gen_atk.c:266: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c:266: error: too few arguments to function
'atk_hyperlink_get_object'
ext/gtk+/gen_atk.c: In function 'zim_AtkHyperlink_get_end_index':
ext/gtk+/gen_atk.c:279: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c: In function 'zim_AtkHyperlink_get_start_index':
ext/gtk+/gen_atk.c:292: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c: In function 'zim_AtkHyperlink_is_valid':
ext/gtk+/gen_atk.c:305: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c: In function 'zim_AtkHyperlink_get_n_anchors':
ext/gtk+/gen_atk.c:318: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c: In function 'zim_AtkObject_get_name':
ext/gtk+/gen_atk.c:351: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c: In function 'zim_AtkObject_get_description':
ext/gtk+/gen_atk.c:364: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c: In function 'zim_AtkObject_get_parent':
ext/gtk+/gen_atk.c:377: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c: In function
'zim_AtkObject_get_n_accessible_children':
ext/gtk+/gen_atk.c:390: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c: In function 'zim_AtkObject_ref_accessible_child':
ext/gtk+/gen_atk.c:403: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c:403: error: too few arguments to function
'atk_object_ref_accessible_child'
ext/gtk+/gen_atk.c: In function 'zim_AtkObject_ref_relation_set':
ext/gtk+/gen_atk.c:416: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c: In function 'zim_AtkObject_get_role':
ext/gtk+/gen_atk.c:429: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c: In function 'zim_AtkObject_get_layer':
ext/gtk+/gen_atk.c:442: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c: In function 'zim_AtkObject_get_mdi_zorder':
ext/gtk+/gen_atk.c:455: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c: In function 'zim_AtkObject_ref_state_set':
ext/gtk+/gen_atk.c:468: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c: In function 'zim_AtkObject_get_index_in_parent':
ext/gtk+/gen_atk.c:481: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c: In function 'zim_AtkObject_set_name':
ext/gtk+/gen_atk.c:494: error: too few arguments to function
'atk_object_set_name'
ext/gtk+/gen_atk.c: In function 'zim_AtkObject_set_description':
ext/gtk+/gen_atk.c:507: error: too few arguments to function
'atk_object_set_description'
ext/gtk+/gen_atk.c: In function 'zim_AtkObject_set_parent':
ext/gtk+/gen_atk.c:520: error: too few arguments to function
'atk_object_set_parent'
ext/gtk+/gen_atk.c: In function 'zim_AtkObject_set_role':
ext/gtk+/gen_atk.c:533: error: too few arguments to function
'atk_object_set_role'
ext/gtk+/gen_atk.c: In function
'zim_AtkObject_remove_property_change_handler':
ext/gtk+/gen_atk.c:546: error: too few arguments to function
'atk_object_remove_property_change_handler'
ext/gtk+/gen_atk.c: In function 'zim_AtkNoOpObject___construct':
ext/gtk+/gen_atk.c:609: error: too few arguments to function
'atk_no_op_object_new'
ext/gtk+/gen_atk.c: In function
'zim_AtkObjectFactory_create_accessible':
ext/gtk+/gen_atk.c:637: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c:637: error: too few arguments to function
'atk_object_factory_create_accessible'
ext/gtk+/gen_atk.c: In function 'zim_AtkRegistry_set_factory_type':
ext/gtk+/gen_atk.c:698: error: too few arguments to function
'atk_registry_set_factory_type'
ext/gtk+/gen_atk.c: In function 'zim_AtkRegistry_get_factory_type':
ext/gtk+/gen_atk.c:711: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c:711: error: too few arguments to function
'atk_registry_get_factory_type'
ext/gtk+/gen_atk.c: In function 'zim_AtkRegistry_get_factory':
ext/gtk+/gen_atk.c:724: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c:724: error: too few arguments to function
'atk_registry_get_factory'
ext/gtk+/gen_atk.c: In function 'zim_AtkRelation_get_relation_type':
ext/gtk+/gen_atk.c:800: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c: In function 'zim_AtkRelationSet_contains':
ext/gtk+/gen_atk.c:844: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c:844: error: too few arguments to function
'atk_relation_set_contains'
ext/gtk+/gen_atk.c: In function 'zim_AtkRelationSet_remove':
ext/gtk+/gen_atk.c:857: error: too few arguments to function
'atk_relation_set_remove'
ext/gtk+/gen_atk.c: In function 'zim_AtkRelationSet_add':
ext/gtk+/gen_atk.c:870: error: too few arguments to function
'atk_relation_set_add'
ext/gtk+/gen_atk.c: In function 'zim_AtkRelationSet_get_n_relations':
ext/gtk+/gen_atk.c:883: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c: In function 'zim_AtkRelationSet_get_relation':
ext/gtk+/gen_atk.c:896: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c:896: error: too few arguments to function
'atk_relation_set_get_relation'
ext/gtk+/gen_atk.c: In function
'zim_AtkRelationSet_get_relation_by_type':
ext/gtk+/gen_atk.c:909: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c:909: error: too few arguments to function
'atk_relation_set_get_relation_by_type'
ext/gtk+/gen_atk.c: In function
'zim_AtkRelationSet_add_relation_by_type':
ext/gtk+/gen_atk.c:922: error: too few arguments to function
'atk_relation_set_add_relation_by_type'
ext/gtk+/gen_atk.c: In function 'zim_AtkStateSet_is_empty':
ext/gtk+/gen_atk.c:997: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c: In function 'zim_AtkStateSet_add_state':
ext/gtk+/gen_atk.c:1010: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c:1010: error: too few arguments to function
'atk_state_set_add_state'
ext/gtk+/gen_atk.c: In function 'zim_AtkStateSet_contains_state':
ext/gtk+/gen_atk.c:1036: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c:1036: error: too few arguments to function
'atk_state_set_contains_state'
ext/gtk+/gen_atk.c: In function 'zim_AtkStateSet_remove_state':
ext/gtk+/gen_atk.c:1049: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c:1049: error: too few arguments to function
'atk_state_set_remove_state'
ext/gtk+/gen_atk.c: In function 'zim_AtkStateSet_and_sets':
ext/gtk+/gen_atk.c:1062: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c:1062: error: too few arguments to function
'atk_state_set_and_sets'
ext/gtk+/gen_atk.c: In function 'zim_AtkStateSet_or_sets':
ext/gtk+/gen_atk.c:1075: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c:1075: error: too few arguments to function
'atk_state_set_or_sets'
ext/gtk+/gen_atk.c: In function 'zim_AtkStateSet_xor_sets':
ext/gtk+/gen_atk.c:1088: error: 'php_retval' undeclared (first use in
this function)
ext/gtk+/gen_atk.c:1088: error: too few arguments to function
'atk_state_set_xor_sets'
make: *** [ext/gtk+/gen_atk.lo] Erreur 1
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/44357
--
Edit this bug report at http://bugs.php.net/?id=44357&edit=1