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!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2008-10-04 19:44:21

  giegiel - Członek DUG

giegiel
Członek DUG
Skąd: Chrzypsko Wielkie/Poznań
Zarejestrowany: 2006-04-15

Problem z instalacją php-gtk

Przy robieniu make wyskakuje:

Kod:

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

 

#2  2009-03-04 15:51:46

  blink - Użytkownik

blink
Użytkownik
Zarejestrowany: 2007-01-10

Re: Problem z instalacją php-gtk

Udało Ci się skompilować te php-gtk ? Bo mam taki sam problem.

Offline

 

#3  2009-03-04 18:06:24

  giegiel - Członek DUG

giegiel
Członek DUG
Skąd: Chrzypsko Wielkie/Poznań
Zarejestrowany: 2006-04-15

Re: Problem z instalacją php-gtk

Nie dałem se spokój :P

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Możesz wyłączyć AdBlock — tu nie ma reklam ;-)

[ Generated in 0.017 seconds, 14 queries executed ]

Informacje debugowania

Time (s) Query
0.00011 SET CHARSET latin2
0.00004 SET NAMES latin2
0.00123 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='3.14.246.52' WHERE u.id=1
0.00113 REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.14.246.52', 1732538412)
0.00039 SELECT * FROM punbb_online WHERE logged<1732538112
0.00105 DELETE FROM punbb_online WHERE ident='18.223.206.84'
0.00079 DELETE FROM punbb_online WHERE ident='3.133.129.8'
0.00397 DELETE FROM punbb_online WHERE ident='3.144.25.248'
0.00066 SELECT topic_id FROM punbb_posts WHERE id=112860
0.00140 SELECT id FROM punbb_posts WHERE topic_id=12443 ORDER BY posted
0.00061 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.00082 SELECT search_for, replace_with FROM punbb_censoring
0.00223 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.00111 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=12443
Total query time: 0.01554 s