#44357 [Com]: php-gtk make fails
[email protected] ("zach9824 at gmail dot com")
| Newsgroups | php.gtk.dev |
|---|---|
| Message-ID | <[email protected]> |
ID: 44357
Comment by: zach9824 at gmail dot com
Reported By: nhlaine at gmx dot net
Status: Open
Bug Type: PHP-GTK related
Operating System: GNU/Linux
PHP Version: 5.2.0
Assigned To: bmajdak
New Comment:
This issue also appears to be affecting build on Gentoo Linux amd64
with make: *** [ext/gtk+/gen_atk.c] Error 1.
PHP VERSION - php-5.2.5_p20080206-r3
atk VERSION - atk-1.20.0
/usr/include/atk-1.0/atk/atkregistry.h matches that as listed below.
-------------------------------------OUTPUT-------------------------
/bin/sh
/var/tmp/portage/dev-php5/php-gtk-2.0.0/work/php-gtk-2.0.0/libtool
--mode=compile x86_64-pc-linux-gnu-gcc -I./ext/gtk+/
-I/var/tmp/portage/dev-php5/php-gtk-2.0.0/work/php-gtk-2.0.0/./ext/gtk+/
-DPHP_ATOM_INC
-I/var/tmp/portage/dev-php5/php-gtk-2.0.0/work/php-gtk-2.0.0/include
-I/var/tmp/portage/dev-php5/php-gtk-2.0.0/work/php-gtk-2.0.0/main
-I/var/tmp/portage/dev-php5/php-gtk-2.0.0/work/php-gtk-2.0.0
-I/usr/lib64/php5/include/php -I/usr/lib64/php5/include/php/main
-I/usr/lib64/php5/include/php/TSRM -I/usr/lib64/php5/include/php/Zend
-I/usr/lib64/php5/include/php/ext
-I/usr/lib64/php5/include/php/ext/date/lib -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0
-I/usr/lib64/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/gtkextra-2.0
-I/usr/include/libglade-2.0 -I/usr/include/libxml2
-I/usr/lib64/mozilla-firefox/include/gtkembedmoz
-I/usr/lib64/mozilla-firefox/include
-I/usr/lib64/mozilla-firefox/include/xpcom
-I/usr/lib64/mozilla-firefox/include/string -I/usr/include/nspr
-I/usr/include/gtkspell-2.0 -DHAVE_CONFIG_H -march=athlon64 -O2 -pipe
-msse3 -c
/var/tmp/portage/dev-php5/php-gtk-2.0.0/work/php-gtk-2.0.0/./ext/gtk+/php_gtk+.c
-o ./ext/gtk+/php_gtk+.lo
( \
/usr/lib64/php5/bin/php
/var/tmp/portage/dev-php5/php-gtk-2.0.0/work/php-gtk-2.0.0/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.12 \
&& grep -h "^PHP_GTK_EXPORT_CE" ext/gtk+/gen_atk.c | sed -e
"s!^!extern !" > ext/gtk+/gen_atk.h \
)
mkdir ./ext/gtk+/.libs
x86_64-pc-linux-gnu-gcc -I./ext/gtk+/
-I/var/tmp/portage/dev-php5/php-gtk-2.0.0/work/php-gtk-2.0.0/./ext/gtk+/
-DPHP_ATOM_INC
-I/var/tmp/portage/dev-php5/php-gtk-2.0.0/work/php-gtk-2.0.0/include
-I/var/tmp/portage/dev-php5/php-gtk-2.0.0/work/php-gtk-2.0.0/main
-I/var/tmp/portage/dev-php5/php-gtk-2.0.0/work/php-gtk-2.0.0
-I/usr/lib64/php5/include/php -I/usr/lib64/php5/include/php/main
-I/usr/lib64/php5/include/php/TSRM -I/usr/lib64/php5/include/php/Zend
-I/usr/lib64/php5/include/php/ext
-I/usr/lib64/php5/include/php/ext/date/lib -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0
-I/usr/lib64/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/gtkextra-2.0
-I/usr/include/libglade-2.0 -I/usr/include/libxml2
-I/usr/lib64/mozilla-firefox/include/gtkembedmoz
-I/usr/lib64/mozilla-firefox/include
-I/usr/lib64/mozilla-firefox/include/xpcom
-I/usr/lib64/mozilla-firefox/include/string -I/usr/include/nspr
-I/usr/include/gtkspell-2.0 -DHAVE_CONFIG_H -march=athlon64 -O2 -pipe
-msse3 -c
/var/tmp/portage/dev-php5/php-gtk-2.0.0/work/php-gtk-2.0.0/./ext/gtk+/php_gtk+.c
-fPIC -DPIC -o ./ext/gtk+/.libs/php_gtk+.o
Could not startup.
make: *** [ext/gtk+/gen_atk.c] Error 1
make: *** Waiting for unfinished jobs....
*
* ERROR: dev-php5/php-gtk-2.0.0 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3648: Called die
* The specific snippet of code:
* emake || die "make failed!";
* The die message:
* make failed!
*
* If you need support, post the topmost build error, and the call
stack if relevant.
* A complete build log is located at
'/var/log/portage/dev-php5:php-gtk-2.0.0:20080311-133939.log'.
* The ebuild environment file is located at
'/var/tmp/portage/dev-php5/php-gtk-2.0.0/temp/environment'.
------------------------------END OUTPUT-----------------------------
Previous Comments:
------------------------------------------------------------------------
[2008-03-07 20:56:34] nhlaine at gmx dot net
Yes I do have libatk dev installed, and
/usr/include/atk-1.0/atk/atkregistry.h
44 struct _AtkRegistryClass
45 {
46 GObjectClass parent_class;
47 };
48
49 typedef struct _AtkRegistry AtkRegistry;
50 typedef struct _AtkRegistryClass AtkRegistryClass;
------------------------------------------------------------------------
[2008-03-07 19:50:29] [email protected]
So my first guess was not the problem.
./atk/atkregistry.h:49:typedef struct _AtkRegistry AtkRegistry;
Can you confirm that you have the atk dev package installed, and a
/usr/include/atk-1.0/atk/atkregistry.h containing that line above on
line 49?
------------------------------------------------------------------------
[2008-03-07 12:43:59] nhlaine at gmx dot net
libatk is 1.12.4
gen_atk.c to follow by email as req.
------------------------------------------------------------------------
[2008-03-07 03:31:17] [email protected]
This is slightly strange as we have had Debian Etch people compile
clean before. Please paste your ATK package version, and also please
email me your gen_atk.c file *after* the build fails. (tar.gz it so it
does not attach inline) to bmajdak at php dot net.
------------------------------------------------------------------------
[2008-03-07 00:05:07] nhlaine at gmx dot net
php version is 5.2.0 in etch cannot test with newer
------------------------------------------------------------------------
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