Re: glibconfig.h
| From: | Andrei Zmievski | Date: | Tue, 19 Apr 2005 06:27:57 +0000 |
| Subject: | Re: glibconfig.h | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-1084@lists.php.net to get a copy of this message | ||
I can't really figure out what's wrong from here. You might have to dig around yourself and see what you can find.
-Andrei
On Apr 18, 2005, at 11:07 PM, Ivan Rodriguez wrote:
Yes with gcc with php5.1-dev and php-gtk from cvs On 4/19/05, Andrei Zmievski <andrei@gravitonic.com> wrote:Ok, and are you compiling with gcc? -Andrei On Apr 18, 2005, at 3:34 PM, Ivan Rodriguez wrote:-- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpYes, I do: [epplestun@localhost epplestun]$ cat /usr/lib/glib-2.0/include/glibconfig.h | grep G_GNUC_INTERNAL #define G_GNUC_INTERNAL __attribute__((visibility("hidden"))) [epplestun@localhost epplestun]$ On 4/18/05, Andrei Zmievski <andrei@gravitonic.com> wrote:Ivan, Does that file contain G_GNUC_INTERNAL definition? -Andrei On Apr 18, 2005, at 4:41 AM, Ivan Rodriguez wrote:I have the glibconfig.h file in /usr/lib/glib-2.0 dir, i copy the file to /usr/include/glib-2.0 dir but make command return the same error In file included from /home/epplestun/php-dev/gtk/php-gtk/ext/gtk+/php_gtk+.c:23: /home/epplestun/php-dev/gtk/php-gtk/main/php_gtk.h: In function `phpg_object_check': /home/epplestun/php-dev/gtk/php-gtk/main/php_gtk.h:279: error: syntax error before "G_LIKELY" /home/epplestun/php-dev/gtk/php-gtk/main/php_gtk.h: At top level: /home/epplestun/php-dev/gtk/php-gtk/main/php_gtk.h:279: error: syntax error before '}' token /home/epplestun/php-dev/gtk/php-gtk/main/php_gtk.h:328: error: syntax error before '*' token /home/epplestun/php-dev/gtk/php-gtk/ext/gtk+/php_gtk+.c: In function `register_stock_constants': /home/epplestun/php-dev/gtk/php-gtk/ext/gtk+/php_gtk+.c:162: warning: assignment makes pointer from integer without a cast make: *** [ext/gtk+/php_gtk+.lo] Error 1 Any idea?¿ On 4/18/05, Markus Fischer <markus@fischer.name> wrote:Ok great, will test it in a few hours from home. - Markus Jani Taskinen wrote:-- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpFixed in CVS. :)--JaniOn Sun, 17 Apr 2005, Andrei Zmievski wrote:This is disturbing. We may have to involve Jani here since he knows best about these sorts of things. I can't imagine why this macro would not be found, since it is a default autoconf macro. Jani, any ideas? I believe Markus checked out php-gtk HEAD and tried to run ./buildconf in it against the latest PHP 5.1. -Andrei On Apr 17, 2005, at 12:40 PM, Markus Fischer wrote:Hi, I tried getting php-gtk head running with php5 head, but it breaks at running ./buildconf: $ ./buildconf Configuring for:PHP Api Version: 20041225 Zend Module Api No: 20041031Zend Extension Api No: 220041031 autoconf: Undefined macros:configure.in:20: AC_MSG_ERROR(Cannot find php-config. Pleaseuse --with-php-config=PATH) make: *** [buildmk.stamp] Error 1 I tried the fix written by Andrei athttp://marc.theaimsgroup.com/?l=php-gtk- dev&m=111216704228211&w=2 but it didn't work either. My exakt versions are is 2.13 . Is there anything else to watch out for? - Markus -- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php