bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Problem related to gtk+-2.14.2 ?


From: Christian Anthon
Subject: Re: [Bug-gnubg] Problem related to gtk+-2.14.2 ?
Date: Tue, 23 Sep 2008 22:01:23 +0200

Hi Louis,

problem tracked down. It turns out that I accidentally left a
GTK_DISABLE_DEPRECATED line in top of gtkrace.c. Since GtkSignalFunc
is deprecated in 2.14, but not in 2.12, the behavior is explained.

Fixed a problem or two on the way, so only your time was wasted.

Christian.

On Tue, Sep 23, 2008 at 8:53 PM, Zulli, Louis P <address@hidden> wrote:
>
> I realize now that I completely misunderstood your earlier requests. I
> looked at config.h in the gtk+ directory, and I looked for autogen.sh there
> too. I mistakenly believed that the flag GTK_DISABLE_DEPRECATED pertained to
> building gtk+, rather than to building gnubg.
>
> OK. I have built and installed gtk+-2.14.2. After running autogen.sh and
> configure in the gnubg directory, I do indeed have a config.h file that
> contains the following lines:
>
> /* Define if you want to disable deprecated gtk functions */
> /* #undef GTK_DISABLE_DEPRECATED */
>
> I understand this to mean that GTK deprecated functions are allowed.
> Nonetheless, when I execute make the compiling ends with
>
> if gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I. -I./lib -I./board3d
> -I/usr/local/include/libxml2 -DLOCALEDIR=\"/usr/local/share/locale\"
> -I/usr/local/include/freetype2 -I/usr/local/include   -pipe
> -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5
> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
> -I/usr/local/include/libpng12   -I/usr/local/include/gtk-2.0
> -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0
> -I/usr/local/include/cairo -I/usr/local/include/pango-1.0
> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
> -I/usr/local/include/freetype2 -I/usr/local/include
> -I/usr/local/include/libpng12 -I/usr/local/include/pixman-1
>  -I/usr/local/include/cairo -I/usr/local/include/freetype2
> -I/usr/local/include -I/usr/local/include/libpng12
> -I/usr/local/include/pixman-1   -I/usr/local/include/pango-1.0
> -I/usr/local/include/cairo -I/usr/local/include/glib-2.0
> -I/usr/local/lib/glib-2.0/include -I/usr/local/include/freetype2
> -I/usr/local/include -I/usr/local/include/libpng12
> -I/usr/local/include/pixman-1   -D_REENTRANT -I/usr/local/include/glib-2.0
> -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gtkglext-1.0
> -I/usr/local/lib/gtkglext-1.0/include -I/usr/X11/include
> -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include
> -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0
> -I/usr/local/lib/glib-2.0/include -I/usr/local/include/cairo
> -I/usr/local/include/freetype2 -I/usr/local/include
> -I/usr/local/include/libpng12 -I/usr/local/include/pixman-1
> -I/usr/local/include/atk-1.0   -I/usr/local/include
>  -DDOCDIR='"/usr/local/share/doc/gnubg"' -DDATADIR='"/usr/local/share"'
> -DPKGDATADIR='"/usr/local/share/gnubg"'   -g -O2 -MT gtkrace.o -MD -MP -MF
> ".deps/gtkrace.Tpo" -c -o gtkrace.o gtkrace.c; \
>        then mv -f ".deps/gtkrace.Tpo" ".deps/gtkrace.Po"; else rm -f
> ".deps/gtkrace.Tpo"; exit 1; fi
> In file included from gtkrace.c:36:
> gtkwindows.h:50: error: expected declaration specifiers or '...' before
> 'GtkSignalFunc'
> gtkrace.c: In function 'GTKShowRace':
> gtkrace.c:339: error: too many arguments to function 'GTKCreateDialog'
> make[2]: *** [gtkrace.o] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> This is the same error as earlier, and it does not appear if I uninstall
> GTK+-2.14.2 and re-install 2.12.12 and rebuild gnubg.
>
> As for the revision number, I have AC_REVISION($Revision: 1.198 $)
>
> Thanks for all your time. Sorry that I misunderstood earlier. I thought I
> needed to modify how I built gtk.
>
> Louis
>
>
> On Tue, 23 Sep 2008 19:33:18 +0200
>  "Christian Anthon" <address@hidden> wrote:
>>
>> The autogen.sh file should be in your gnubg directory.
>>
>> Can you tell me what revision number you have in configure.in. It
>> should look like this:
>>
>> AC_REVISION($Revision: 1.202 $)
>>
>> though your Revision number will be a bit smaller.
>>
>> cvs is easy to use if you just want a read only copy. Install cvs make
>> an empty directory and write
>>
>> "cvs -z3 -d:pserver:address@hidden:/sources/gnubg co
>> gnubg"
>>
>> "" should be on a single line.
>>
>> Christian.
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]