Re: glibconfig.h

From: Date: Mon, 18 Apr 2005 22:34:30 +0000
Subject: Re: glibconfig.h
References: 1 2 3 4 5 6  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-1081@lists.php.net to get a copy of this message
Yes, 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: > >>> > >>> Fixed in CVS. :) > >>> > >>> --Jani > >>> > >>> On 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: 20041031 > >>>>> Zend Extension Api No: 220041031 > >>>>> autoconf: Undefined macros: > >>>>> configure.in:20: AC_MSG_ERROR(Cannot find php-config. Please use > >>>>> --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 > >>>> > >>>> > >>> > >> > >> -- > >> PHP-GTK Development Mailing List (http://gtk.php.net/) > >> To unsubscribe, visit: http://www.php.net/unsub.php > >> > >> > >

« previous php.gtk.dev (#1081) next »