unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* guile-gnome - git clone + 3 debian patches - compilation error
@ 2010-07-05 16:53 David Pirotte
  2010-07-06  9:50 ` Patrick Bernaud
  0 siblings, 1 reply; 3+ messages in thread
From: David Pirotte @ 2010-07-05 16:53 UTC (permalink / raw)
  To: guile-user

[-- Attachment #1: Type: text/plain, Size: 3389 bytes --]

Hi Andy,

From a fresh git clone + the 3 debian patches, I get the following error [below].

	[but yesterday i succeeded compiling the debian tree patched with your 
	 suggested 2 revname ??]

Cheers,
David


;; --

the 3 debian patches @

	http://patch-tracker.debian.org/package/guile-gnome-platform/2.16.1-4

;; --

few installed lib info:

	ii  libgtk2.0-0                         	2.20.1-1  
	ii  libglib2.0-0                       	2.24.1-1 
	ii  libgnome2-0                   	2.30.0-1     
	ii  libgnomeui-0           		2.24.3-1


;; --

patching 'trace'

david@rascar:/usr/local/src/guile-gnome 100 $ ./patch-guile-gnome-git-with-debian-patches 
patching file glib/test-suite/Makefile.am
patching file gtk/gnome/gw/gtk-support.c
patching file gtk/gnome/gw/gtk-support.h
patching file gtk/gnome/overrides/gtk.defs
patching file gtk/gnome/gw/Makefile.am
david@rascar:/usr/local/src/guile-gnome 101 $ 


;; --

error output

...
mv -f .deps/libgw_guile_gnome_gtk_la-gtk-support.Tpo .deps/libgw_guile_gnome_gtk_la-gtk-support.Plo
/bin/sh ../../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../..    -I../../../glib/gnome/gobject -I../../../glib/gnome/gobject -I. -I. -Wall -Werror -g -I/usr/include/guile-cairo -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -pthread -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/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -std=gnu99    -g -O2 -MT libgw_guile_gnome_gtk_la-guile-gnome-gw-gtk.lo -MD -MP -MF .deps/libgw_guile_gnome_gtk_la-guile-gnome-gw-gtk.Tpo -c -o libgw_guile_gnome_gtk_la-guile-gnome-gw-gtk.lo `test -f 'guile-gnome-gw-gtk.c' || echo './'`guile-gnome-gw-gtk.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../glib/gnome/gobject -I../../../glib/gnome/gobject -I. -I. -Wall -Werror -g -I/usr/include/guile-cairo -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -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/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu99 -g -O2 -MT libgw_guile_gnome_gtk_la-guile-gnome-gw-gtk.lo -MD -MP -MF .deps/libgw_guile_gnome_gtk_la-guile-gnome-gw-gtk.Tpo -c guile-gnome-gw-gtk.c  -fPIC -DPIC -o .libs/libgw_guile_gnome_gtk_la-guile-gnome-gw-gtk.o
cc1: warnings being treated as errors
guile-gnome-gw-gtk.c: In function 'gw__tmp6246_gtk_recent_info_get_application_info_wrapper':
guile-gnome-gw-gtk.c:27337: error: passing argument 3 of 'gtk_recent_info_get_application_info' from incompatible pointer type
/usr/include/gtk-2.0/gtk/gtkrecentmanager.h:187: note: expected 'const gchar **' but argument is of type 'char **'
make[5]: *** [libgw_guile_gnome_gtk_la-guile-gnome-gw-gtk.lo] Error 1
make[5]: Leaving directory `/usr/local/src/guile-gnome/guile-gnome-platform/gtk/gnome/gw'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/usr/local/src/guile-gnome/guile-gnome-platform/gtk/gnome/gw'
make[3]: *** [all-recursive] Error 1

[-- Attachment #2: config.log.gz --]
[-- Type: application/x-gzip, Size: 8427 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* guile-gnome - git clone + 3 debian patches - compilation error
  2010-07-05 16:53 guile-gnome - git clone + 3 debian patches - compilation error David Pirotte
@ 2010-07-06  9:50 ` Patrick Bernaud
  2010-07-07  3:06   ` David Pirotte
  0 siblings, 1 reply; 3+ messages in thread
From: Patrick Bernaud @ 2010-07-06  9:50 UTC (permalink / raw)
  To: David Pirotte; +Cc: guile-user

Hello David,

David Pirotte writes:
 > [...]
 > cc1: warnings being treated as errors
 > guile-gnome-gw-gtk.c: In function 'gw__tmp6246_gtk_recent_info_get_application_info_wrapper':
 > guile-gnome-gw-gtk.c:27337: error: passing argument 3 of 'gtk_recent_info_get_application_info' from incompatible pointer type
 > /usr/include/gtk-2.0/gtk/gtkrecentmanager.h:187: note: expected 'const gchar **' but argument is of type 'char **'
 > make[5]: *** [libgw_guile_gnome_gtk_la-guile-gnome-gw-gtk.lo] Error 1
 > make[5]: Leaving directory `/usr/local/src/guile-gnome/guile-gnome-platform/gtk/gnome/gw'
 > make[4]: *** [all] Error 2
 > make[4]: Leaving directory `/usr/local/src/guile-gnome/guile-gnome-platform/gtk/gnome/gw'
 > make[3]: *** [all-recursive] Error 1

If gtk version >= 2.18, you have to pass '--disable-Werror' to
configure (see https://bugzilla.gnome.org/show_bug.cgi?id=597480#c2)
or fix/override gtk_recent_info_get_application_info() definition in
defs/gnome/defs/gtk.defs.

Regards,


Patrick



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: guile-gnome - git clone + 3 debian patches - compilation error
  2010-07-06  9:50 ` Patrick Bernaud
@ 2010-07-07  3:06   ` David Pirotte
  0 siblings, 0 replies; 3+ messages in thread
From: David Pirotte @ 2010-07-07  3:06 UTC (permalink / raw)
  To: Patrick Bernaud; +Cc: guile-user

Hello Patrick,

Thanks a lot, it compiled with no problem.

Cheers,
David

;; --

Le Tue, 6 Jul 2010 11:50:31 +0200,
Patrick Bernaud <patrickb@chez.com> a écrit :

> Hello David,
> 
> David Pirotte writes:
>  > [...]
>  > cc1: warnings being treated as errors
>  > guile-gnome-gw-gtk.c: In function
>  > 'gw__tmp6246_gtk_recent_info_get_application_info_wrapper':
>  > guile-gnome-gw-gtk.c:27337: error: passing argument 3 of
>  > 'gtk_recent_info_get_application_info' from incompatible pointer
>  > type /usr/include/gtk-2.0/gtk/gtkrecentmanager.h:187: note: expected 'const
>  > gchar **' but argument is of type 'char **' make[5]: ***
>  > [libgw_guile_gnome_gtk_la-guile-gnome-gw-gtk.lo] Error 1 make[5]: Leaving
>  > directory `/usr/local/src/guile-gnome/guile-gnome-platform/gtk/gnome/gw'
>  > make[4]: *** [all] Error 2 make[4]: Leaving directory
>  > `/usr/local/src/guile-gnome/guile-gnome-platform/gtk/gnome/gw' make[3]: ***
>  > [all-recursive] Error 1
> 
> If gtk version >= 2.18, you have to pass '--disable-Werror' to
> configure (see https://bugzilla.gnome.org/show_bug.cgi?id=597480#c2)
> or fix/override gtk_recent_info_get_application_info() definition in
> defs/gnome/defs/gtk.defs.
> 
> Regards,
> Patrick



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-07-07  3:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-05 16:53 guile-gnome - git clone + 3 debian patches - compilation error David Pirotte
2010-07-06  9:50 ` Patrick Bernaud
2010-07-07  3:06   ` David Pirotte

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).