Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Przy robieniu make wyskakuje:
kuba@debian:~/php-gtk$ make /bin/sh /home/kuba/php-gtk/libtool --mode=compile gcc -Iext/gtk+/ -I/home/kuba/php-gtk/ext/gtk+/ -DPHP_ATOM_INC -I/home/kuba/php-gtk/include -I/home/kuba/php-gtk/main -I/home/kuba/php-gtk -I/opt/php5_2/include/php -I/opt/php5_2/include/php/main -I/opt/php5_2/include/php/TSRM -I/opt/php5_2/include/php/Zend -I/opt/php5_2/include/php/ext -I/opt/php5_2/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/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/opt/php5_2/include/php -DHAVE_CONFIG_H -g -O2 -c ext/gtk+/gen_gdk.c -o ext/gtk+/gen_gdk.lo gcc -Iext/gtk+/ -I/home/kuba/php-gtk/ext/gtk+/ -DPHP_ATOM_INC -I/home/kuba/php-gtk/include -I/home/kuba/php-gtk/main -I/home/kuba/php-gtk -I/opt/php5_2/include/php -I/opt/php5_2/include/php/main -I/opt/php5_2/include/php/TSRM -I/opt/php5_2/include/php/Zend -I/opt/php5_2/include/php/ext -I/opt/php5_2/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/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/opt/php5_2/include/php -DHAVE_CONFIG_H -g -O2 -c ext/gtk+/gen_gdk.c -fPIC -DPIC -o ext/gtk+/.libs/gen_gdk.o ext/gtk+/gdk-2.8.overrides: In function 'zim_Gdk_cairo_set_source_pixbuf': ext/gtk+/gdk-2.8.overrides:68: error: 'context_object' undeclared (first use in this function) ext/gtk+/gdk-2.8.overrides:68: error: (Each undeclared identifier is reported only once ext/gtk+/gdk-2.8.overrides:68: error: for each function it appears in.) ext/gtk+/gdk-2.8.overrides:68: error: 'cont' undeclared (first use in this function) ext/gtk+/gdk-2.8.overrides:72: error: expected expression before ')' token ext/gtk+/gdk-2.8.overrides: At top level: ext/gtk+/gdk-2.8.overrides:125: error: stray '#' in program ext/gtk+/gdk-2.8.overrides:125: error: expected '=', ',', ';', 'asm' or '__attribute__' before numeric constant ext/gtk+/gdk-2.10.overrides: In function 'zim_Gdk_cairo_set_source_pixmap': ext/gtk+/gdk-2.10.overrides:63: error: 'context_object' undeclared (first use in this function) ext/gtk+/gdk-2.10.overrides:63: error: 'cont' undeclared (first use in this function) ext/gtk+/gdk-2.10.overrides:67: error: expected expression before ')' token ext/gtk+/gen_gdk.c: At top level: ext/gtk+/gen_gdk.c:1904: error: 'zim_Gdk_cairo_region' undeclared here (not in a function) ext/gtk+/gdk-2.8.overrides: In function 'zim_GdkDrawable_cairo_create': ext/gtk+/gdk-2.8.overrides:11: error: 'context_object' undeclared (first use in this function) ext/gtk+/gdk-2.8.overrides:11: error: 'cont' undeclared (first use in this function) ext/gtk+/gdk-2.8.overrides:11: error: invalid operands to binary * (have 'struct zend_function_entry *' and 'struct zend_function_entry *') ext/gtk+/gdk-2.8.overrides:17: warning: assignment makes pointer from integer without a cast ext/gtk+/gdk-2.8.overrides:19: error: expected expression before ')' token ext/gtk+/gdk-2.8.overrides:19: error: invalid operands to binary * (have 'struct zend_function_entry *' and 'struct zend_function_entry *') ext/gtk+/gdk-2.8.overrides:21: error: 'zend_function_entry' has no member named 'context' ext/gtk+/gdk-2.10.overrides: In function 'zim_GdkScreen_set_font_options': ext/gtk+/gdk-2.10.overrides:15: error: 'fontoptions_object' undeclared (first use in this function) ext/gtk+/gdk-2.10.overrides:15: error: 'fobj' undeclared (first use in this function) ext/gtk+/gdk-2.10.overrides:15: error: invalid operands to binary * (have 'struct zend_function_entry *' and 'struct zend_function_entry *') ext/gtk+/gdk-2.10.overrides:20: error: expected expression before ')' token ext/gtk+/gdk-2.10.overrides:20: error: invalid operands to binary * (have 'struct zend_function_entry *' and 'struct zend_function_entry *') ext/gtk+/gdk-2.10.overrides:22: error: 'zend_function_entry' has no member named 'fontoptions' ext/gtk+/gdk-2.10.overrides:22: warning: passing argument 2 of 'gdk_screen_set_font_options' from incompatible pointer type ext/gtk+/gdk-2.10.overrides: In function 'zim_GdkScreen_get_font_options': ext/gtk+/gdk-2.10.overrides:31: error: 'fontoptions_object' undeclared (first use in this function) ext/gtk+/gdk-2.10.overrides:31: error: 'fobj' undeclared (first use in this function) ext/gtk+/gdk-2.10.overrides:31: error: invalid operands to binary * (have 'struct zend_function_entry *' and 'struct zend_function_entry *') ext/gtk+/gdk-2.10.overrides:36: warning: assignment makes pointer from integer without a cast ext/gtk+/gdk-2.10.overrides:39: error: expected expression before ')' token ext/gtk+/gdk-2.10.overrides:39: error: invalid operands to binary * (have 'struct zend_function_entry *' and 'struct zend_function_entry *')
Szkoda że w repo tego nie ma ;/
Offline
Udało Ci się skompilować te php-gtk ? Bo mam taki sam problem.
Offline
Nie dałem se spokój :P
Offline
Time (s) | Query |
---|---|
0.00012 | SET CHARSET latin2 |
0.00010 | SET NAMES latin2 |
0.00142 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='18.117.192.64' WHERE u.id=1 |
0.00083 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '18.117.192.64', 1732531028) |
0.00080 | SELECT * FROM punbb_online WHERE logged<1732530728 |
0.00104 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=12443 AND t.moved_to IS NULL |
0.00023 | SELECT search_for, replace_with FROM punbb_censoring |
0.00184 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=12443 ORDER BY p.id LIMIT 0,25 |
0.00098 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=12443 |
Total query time: 0.00736 s |