[Lunar-bugs] [bug] libexif-gtk-0.3.3 fails build

lunar-bugs at lunar-linux.org lunar-bugs at lunar-linux.org
Mon Oct 18 12:24:32 UTC 2004


 Project:      lunar-linux
 ID:           
 Version:      <none>
 Component:    moonbase (modules)
 Category:     bug reports
 Priority:     minor
 Assigned to:  Moe
 Reported by:  dveatch
 Updated by:   Moe
-Status:       won't fix
+Status:       fixed

As of right now gtkam runs fine again (requiered a huge patch tp gphoto2
.. but hell, it runs!). Enjoy.

Moe



Previous comments:
------------------------------------------------------------------------

Wed, 09/15/2004 - 12:54 : dveatch

Attachment: http://lunar-linux.org/files/issues/libexif-gtk-0.3.3.bz2 (3.43 KB)

libexif compiled fine but the gtk part doesn't. The problem starts with
gtk-option-menu-option. Here is a short snip;

depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..
-I../intl -DGTK_DISABLE_DEPRECATED -I/usr/include
rm -f .libs/gtk-option-menu-option.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl
-DGTK_DISABLE_DEPRECATED -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/includ
In file included from gtk-option-menu-option.c:22:
gtk-option-menu-option.h:37: error: parse error before "GtkOptionMenu"
gtk-option-menu-option.h:37: warning: no semicolon at end of struct or
union
gtk-option-menu-option.h:40: error: parse error before '}' token
gtk-option-menu-option.h:43: error: parse error before
"GtkOptionMenuClass"
gtk-option-menu-option.h:43: warning: no semicolon at end of struct or
union
gtk-option-menu-option.h:47: error: parse error before '}' token

A Google showed a others having the same error. Though no real fix that
I could find. One possibility may be here or a least provide a clue for
others more capablie. Here is other having the same problem;

http://www.linuxquestions.org/questions/showthread.php?s=&postid=1160574#post1160574

Abd here was a possible fix the didn't work and may be of some use;

http://mail-index.netbsd.org/tech-pkg/2004/04/06/0015.html


------------------------------------------------------------------------

Mon, 09/20/2004 - 16:48 : Moe

This could be happening because of the recent changes in the underlaying
toolkit GTK2 (2.2 -> 2.4) as the libexif-gtk library hasn't been updated
in a very long time (1 1/2 years!). -DGTK_DISABLE_DEPRECATED is used to
disable deprecated calls and functions in GTK code and since
libexif-gtk seems to be a bit old I guess we can't do much about it
apart from editing the flag out of the Makefile(like suggested at the
one of the links you provided). Unfortunately it seems like that
libexif itself is too young to even let the old libexif-gtk compile
against it so that won't help anyways.

I suggest using gphoto2 instead of gtkam and leave libexif-gtk alone.

-- 
View: http://lunar-linux.org/?q=node/view/440
Edit: http://lunar-linux.org/?q=project/comments/add/440




More information about the Lunar-bugs mailing list