Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#12202 closed defect (duplicate)

BUG: libgnomekbd does not compile

Reported by: bastian@… Owned by: rhwood@…
Priority: High Milestone:
Component: ports Version:
Keywords: Cc: bastian@…, rhwood@…
Port:

Description

libgnomekbd does not compile with the following error message. Lots of other parts of gnome did compile successfully (including gtk). Is there a chance to solve this problem ?

Thanks...

$ sudo port install libgnomekbd
Password:
--->  Building libgnomekbd with target all
Error: Target com.apple.build returned: shell command " cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp orts_gnome_libgnomekbd/work/libgnomekbd-2.18.2" && make all "  
returned error 2
Command output: make  all-recursive
Making all in libgnomekbd
make  all-am
make[3]: Nothing to be done for `all-am'.
Making all in test
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/local/include -Wall -Wmissing-prototypes  -I.. -Wall -Werror -DPNG_NO_MMX_CODE -DXTHREADS -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include   -DPNG_NO_MMX_CODE -DXTHREADS -I/opt/local/include/libglade-2.0 -I/opt/local/include/gtk-2.0 -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include   -DORBIT2=1 -D_REENTRANT -I/opt/local/include/libgnome-2.0 -I/opt/local/include/orbit-2.0 -I/opt/local/include/gconf/2 -I/opt/local/include/gnome-vfs-2.0 -I/opt/local/lib/gnome-vfs-2.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libbonobo-2.0 -I/opt/local/include/bonobo-activation-2.0   -DORBIT2=1 -D_REENTRANT -DPNG_NO_MMX_CODE -DXTHREADS -I/opt/local/include/libgnomeui-2.0 -I/opt/local/include/libgnome-2.0 -I/opt/local/include/libgnomecanvas-2.0 -I/opt/local/include/gtk-2.0 -I/opt/local/include/libart-2.0 -I/opt/local/include/gconf/2 -I/opt/local/include/libbonoboui-2.0 -I/opt/local/include/gnome-vfs-2.0 -I/opt/local/lib/gnome-vfs-2.0/include -I/opt/local/include/gnome-keyring-1 -I/opt/local/include/orbit-2.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libbonobo-2.0 -I/opt/local/include/bonobo-activation-2.0 -I/opt/local/include/pango-1.0 -I/opt/local/include/freetype2 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/libpng12 -I/usr/X11R6/include -I/opt/local/include/libxml2   -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/libxml2   -I../intl -DSYS_PLUGIN_DIR=\"/opt/local/lib/gnomekbd/\" -DG_LOG_DOMAIN=\"GnomeKbdIndicatorTest\" -DDATADIR=\"/opt/local/share\" -O2 -I/usr/X11R6/include -MT gkbd_indicator_test-gkbd-indicator-test.o -MD -MP -MF ".deps/gkbd_indicator_test-gkbd-indicator-test.Tpo" -c -o gkbd_indicator_test-gkbd-indicator-test.o `test -f 'gkbd-indicator-test.c' || echo './'`gkbd-indicator-test.c; \
then mv -f ".deps/gkbd_indicator_test-gkbd-indicator-test.Tpo" ".deps/gkbd_indicator_test-gkbd-indicator-test.Po"; else rm -f ".deps/gkbd_indicator_test-gkbd-indicator-test.Tpo"; exit 1; fi
In file included from /opt/local/include/libbonobo-2.0/bonobo/bonobo-i18n.h:37,
                  from /opt/local/include/libgnome-2.0/libgnome/gnome-i18n.h:41,
                  from /opt/local/include/libgnome-2.0/libgnome/libgnome.h:30,
                  from /opt/local/include/libgnomeui-2.0/gnome.h:5,
                  from gkbd-indicator-test.c:34:
/opt/local/include/glib-2.0/glib/gi18n.h:30:1: error: "N_" redefined
In file included from /opt/local/include/libgnome-2.0/libgnome/gnome-program.h:41,
                  from /opt/local/include/libgnome-2.0/libgnome/libgnome.h:29,
                  from /opt/local/include/libgnomeui-2.0/gnome.h:5,
                  from gkbd-indicator-test.c:34:
/opt/local/include/popt.h:161:1: error: this is the location of the  
previous definition
make[2]: *** [gkbd_indicator_test-gkbd-indicator-test.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.
$

Change History (6)

comment:1 Changed 17 years ago by tyler@…

I detailed this a bit more in #12236, feel free to mark this bug, or mine as a duplicate.

I intend to have a patch shortly, which I'll attach to #12236 :)

comment:2 Changed 17 years ago by bastian@…

This problem does not occur anymore in version 1.5, but I cannot figure out how to close a ticket.

comment:3 Changed 17 years ago by nox@…

Milestone: Port Bugs
Priority: BlockerHigh
Summary: libgnomekbd does not compileBUG: libgnomekbd does not compile
Version: 1.4.42

comment:4 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: bastian@… rhwood@… added
Owner: changed from macports-dev@… to rhwood@…

comment:5 Changed 17 years ago by rhwood@…

Resolution: duplicate
Status: newclosed

Duplicates #12236

comment:6 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.