Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Oct 2006 17:01:16 -0400
From:      "Jeffrey Racine" <racinej@univmail.cis.mcmaster.ca>
To:        freebsd-gnome@freebsd.org
Subject:   gnome 2.16.1 gnome-control-center fails to compile
Message-ID:  <web-144615845@cgpsrv2.cis.mcmaster.ca>

next in thread | raw e-mail | index | archive | help
Hi.

Installing gnome 2.16.1 fails on gnome-control-center and gnome-session
(same error).

Any suggestions most appreciated.

-- Jeff

uname -a

FreeBSD pc-racine1.mcmaster.ca 6.1-RC2 FreeBSD 6.1-RC2 #0: Wed May  3
10:02:44 EDT 2006     


gmake[3]: Entering directory
`/usr/ports/sysutils/gnome-control-center/work/control-center-2.16.1/libgswitchit'

if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wmissing-prototypes  -I..
-DORBIT2=1 -D_REENTRANT -DXTHREADS -DXUSE_MTSAFE_API
-I/usr/local/include/libgnomeui-2.0 -I/usr/local/include/libgnome-2.0
-I/usr/local/include/libgnomecanvas-2.0 -I/usr/local/include/gtk-2.0
-I/usr/local/include/libart-2.0 -I/usr/local/include/gconf/2
-I/usr/local/include/libbonoboui-2.0 -I/usr/local/include/gnome-vfs-2.0
-I/usr/local/lib/gnome-vfs-2.0/include
-I/usr/local/include/gnome-keyring-1 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/orbit-2.0
-I/usr/local/include/libbonobo-2.0
-I/usr/local/include/bonobo-activation-2.0
-I/usr/local/include/pango-1.0 -I/usr/X11R6/include
-I/usr/local/include/freetype2 -I/usr/local/include
-I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0
-I/usr/local/include/cairo -I/usr/local/include/libxml2   -DORBIT2=1
-D_REENTRANT -DXTHREADS -DXUSE_MTSAFE_API
-I/usr/local/include/gnome-desktop-2.0 -I/usr/local/include/gtk-2.0
-I/usr/local/include/libgnomeui-2.0
-I/usr/local/include/startup-notification-1.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/X11R6/include -I/usr/local/include/freetype2
-I/usr/local/include -I/usr/local/include/libgnome-2.0
-I/usr/local/include/libgnomecanvas-2.0 -I/usr/local/include/libart-2.0
-I/usr/local/include/gconf/2 -I/usr/local/include/libbonoboui-2.0
-I/usr/local/include/gnome-vfs-2.0
-I/usr/local/lib/gnome-vfs-2.0/include
-I/usr/local/include/gnome-keyring-1 -I/usr/local/include/orbit-2.0
-I/usr/local/include/libbonobo-2.0
-I/usr/local/include/bonobo-activation-2.0 -I/usr/local/include/libxml2
  -DORBIT2=1 -D_REENTRANT -DXTHREADS -DXUSE_MTSAFE_API
-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/X11R6/include
-I/usr/local/include/freetype2 -I/usr/local/include
-I/usr/local/include/gconf/2 -I/usr/local/include/orbit-2.0
-I/usr/local/include/libgnomeui-2.0 -I/usr/local/include/libgnome-2.0
-I/usr/local/include/libgnomecanvas-2.0 -I/usr/local/include/libart-2.0
-I/usr/local/include/libbonoboui-2.0 -I/usr/local/include/gnome-vfs-2.0
-I/usr/local/lib/gnome-vfs-2.0/include
-I/usr/local/include/gnome-keyring-1 -I/usr/local/include/libbonobo-2.0
-I/usr/local/include/bonobo-activation-2.0 -I/usr/local/include/libxml2
-I/usr/local/include/libglade-2.0
-I/usr/local/include/gnome-desktop-2.0
-I/usr/local/include/startup-notification-1.0
   -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
  -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/local/include/hal
-I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
  -I/usr/local/include -I/usr/local/include/libxml2    -I../intl
-DSYS_PLUGIN_DIR=\"/usr/local/lib/gswitchit/\"
-DG_LOG_DOMAIN=\"GSwitchIt\" -DGLADEDIR=\"\"
-DDATADIR=\"/usr/local/share/gnome\" -DSYSCONFDIR=\"/usr/local/etc\"
-DLIBDIR=\"/usr/local/lib\"				  -I/usr/local/include
-I/usr/X11R6/include  -O2 -fno-strict-aliasing -pipe  -Wall -MT
gswitchit-config.o -MD -MP -MF ".deps/gswitchit-config.Tpo" -c -o
gswitchit-config.o gswitchit-config.c; \

	then mv -f ".deps/gswitchit-config.Tpo" ".deps/gswitchit-config.Po";
else rm -f ".deps/gswitchit-config.Tpo"; exit 1; fi

In file included from gswitchit-config.c:28:

gswitchit-config.h:55: error: syntax error before "XklEngine"

gswitchit-config.h:69: error: syntax error before "XklEngine"

gswitchit-config.h:77: error: syntax error before "XklEngine"

gswitchit-config.h:90: error: syntax error before "XklConfigRegistry"

gswitchit-config.h:120: error: syntax error before "XklEngine"

gswitchit-config.h:166: error: syntax error before '*' token

In file included from gswitchit-config.c:29:

gswitchit-config-private.h:42: error: syntax error before "XklEngine"

gswitchit-config-private.h:105: error: syntax error before "XklEngine"

gswitchit-config.c:101: error: syntax error before '*' token

gswitchit-config.c: In function
`gswitchit_kbd_config_get_lv_descriptions':

gswitchit-config.c:110: error: syntax error before "litem"

gswitchit-config.c:111: error: syntax error before "vitem"

gswitchit-config.c:113: error: `layout_name' undeclared (first use in
this function)

gswitchit-config.c:113: error: (Each undeclared identifier is reported
only once

gswitchit-config.c:113: error: for each function it appears in.)

gswitchit-config.c:115: error: `litem' undeclared (first use in this
function)

gswitchit-config.c:116: warning: implicit declaration of function
`xkl_config_registry_find_layout'

gswitchit-config.c:116: error: `config_registry' undeclared (first use
in this function)

gswitchit-config.c:117: error: `layout_short_descr' undeclared (first
use in this function)

gswitchit-config.c:118: error: `layout_descr' undeclared (first use in
this function)

gswitchit-config.c:122: error: `variant_name' undeclared (first use in
this function)

gswitchit-config.c:124: error: `vitem' undeclared (first use in this
function)

gswitchit-config.c:127: warning: implicit declaration of function
`xkl_config_registry_find_variant'

gswitchit-config.c:128: error: `variant_short_descr' undeclared (first
use in this function)

gswitchit-config.c:129: error: `variant_descr' undeclared (first use in
this function)

gswitchit-config.c: In function `gswitchit_config_add_listener':

gswitchit-config.c:184: warning: implicit declaration of function
`xkl_debug'

gswitchit-config.c: In function `gswitchit_kbd_config_merge_items':

gswitchit-config.c:211: error: `XKL_MAX_CI_NAME_LENGTH' undeclared
(first use in this function)

gswitchit-config.c:211: warning: unused variable `buffer'

gswitchit-config.c: In function `gswitchit_kbd_config_split_items':

gswitchit-config.c:231: error: `XKL_MAX_CI_NAME_LENGTH' undeclared
(first use in this function)

gswitchit-config.c:231: warning: unused variable `pbuffer'

gswitchit-config.c:232: warning: unused variable `cbuffer'

gswitchit-config.c: At top level:

gswitchit-config.c:281: error: syntax error before "XklConfigRec"

gswitchit-config.c: In function
`gswitchit_kbd_config_copy_from_xkl_config':

gswitchit-config.c:284: error: `kbd_config' undeclared (first use in
this function)

gswitchit-config.c:284: error: `pdata' undeclared (first use in this
function)

gswitchit-config.c:296: error: `XKL_MAX_CI_NAME_LENGTH' undeclared
(first use in this function)

gswitchit-config.c:296: warning: unused variable `full_layout'

gswitchit-config.c:312: warning: unused variable `group'

gswitchit-config.c: At top level:

gswitchit-config.c:332: error: syntax error before "XklConfigRec"

gswitchit-config.c: In function
`gswitchit_kbd_config_copy_to_xkl_config':

gswitchit-config.c:336: error: `pdata' undeclared (first use in this
function)

gswitchit-config.c:337: error: `kbd_config' undeclared (first use in
this function)

gswitchit-config.c: At top level:

gswitchit-config.c:546: error: syntax error before "XklEngine"

gswitchit-config.c:547: warning: no previous prototype for
'gswitchit_config_init'

gswitchit-config.c: In function `gswitchit_config_init':

gswitchit-config.c:550: error: `config' undeclared (first use in this
function)

gswitchit-config.c:551: error: `conf_client' undeclared (first use in
this function)

gswitchit-config.c:552: error: `engine' undeclared (first use in this
function)

gswitchit-config.c: In function `gswitchit_config_load_from_gconf':

gswitchit-config.c:632: warning: implicit declaration of function
`xkl_engine_get_max_num_groups'

gswitchit-config.c:632: error: structure has no member named `engine'

gswitchit-config.c: In function `gswitchit_config_activate':

gswitchit-config.c:674: warning: implicit declaration of function
`xkl_engine_set_group_per_toplevel_window'

gswitchit-config.c:674: error: structure has no member named `engine'

gswitchit-config.c:676: warning: implicit declaration of function
`xkl_engine_set_indicators_handling'

gswitchit-config.c:676: error: structure has no member named `engine'

gswitchit-config.c:678: warning: implicit declaration of function
`xkl_engine_set_default_group'

gswitchit-config.c:678: error: structure has no member named `engine'

gswitchit-config.c: In function `gswitchit_config_lock_next_group':

gswitchit-config.c:687: warning: implicit declaration of function
`xkl_engine_get_next_group'

gswitchit-config.c:687: error: structure has no member named `engine'

gswitchit-config.c:688: warning: implicit declaration of function
`xkl_engine_lock_group'

gswitchit-config.c:688: error: structure has no member named `engine'

gswitchit-config.c: In function `gswitchit_config_lock_prev_group':

gswitchit-config.c:694: warning: implicit declaration of function
`xkl_engine_get_prev_group'

gswitchit-config.c:694: error: structure has no member named `engine'

gswitchit-config.c:695: error: structure has no member named `engine'

gswitchit-config.c: In function `gswitchit_config_restore_group':

gswitchit-config.c:701: warning: implicit declaration of function
`xkl_engine_get_current_window_group'

gswitchit-config.c:701: error: structure has no member named `engine'

gswitchit-config.c:702: error: structure has no member named `engine'

gswitchit-config.c: At top level:

gswitchit-config.c:728: error: syntax error before "XklEngine"

gswitchit-config.c:729: warning: no previous prototype for
'gswitchit_kbd_config_init'

gswitchit-config.c: In function `gswitchit_kbd_config_init':

gswitchit-config.c:732: error: `kbd_config' undeclared (first use in
this function)

gswitchit-config.c:733: error: `conf_client' undeclared (first use in
this function)

gswitchit-config.c:734: error: `engine' undeclared (first use in this
function)

gswitchit-config.c: In function
`gswitchit_kbd_config_load_from_x_current':

gswitchit-config.c:806: error: `XklConfigRec' undeclared (first use in
this function)

gswitchit-config.c:806: error: `data' undeclared (first use in this
function)

gswitchit-config.c:806: warning: implicit declaration of function
`xkl_config_rec_new'

gswitchit-config.c:807: warning: implicit declaration of function
`xkl_config_rec_get_from_server'

gswitchit-config.c:807: error: structure has no member named `engine'

gswitchit-config.c:813: warning: implicit declaration of function
`xkl_get_last_error'

gswitchit-config.c: In function
`gswitchit_kbd_config_load_from_x_initial':

gswitchit-config.c:820: error: `XklConfigRec' undeclared (first use in
this function)

gswitchit-config.c:820: error: `data' undeclared (first use in this
function)

gswitchit-config.c:821: warning: implicit declaration of function
`xkl_config_rec_get_from_backup'

gswitchit-config.c:821: error: structure has no member named `engine'

gswitchit-config.c: In function `gswitchit_kbd_config_activate':

gswitchit-config.c:964: error: `XklConfigRec' undeclared (first use in
this function)

gswitchit-config.c:964: error: `data' undeclared (first use in this
function)

gswitchit-config.c:967: warning: implicit declaration of function
`xkl_config_rec_activate'

gswitchit-config.c:967: error: structure has no member named `engine'

gswitchit-config.c: At top level:

gswitchit-config.c:992: error: syntax error before '*' token

gswitchit-config.c:998: warning: no previous prototype for
'gswitchit_kbd_config_get_descriptions'

gswitchit-config.c: In function
`gswitchit_kbd_config_get_descriptions':

gswitchit-config.c:1001: error: `name' undeclared (first use in this
function)

gswitchit-config.c:1003: error: `config_registry' undeclared (first use
in this function)

gswitchit-config.c:1006: error: `layout_short_descr' undeclared (first
use in this function)

gswitchit-config.c:1007: error: `layout_descr' undeclared (first use in
this function)

gswitchit-config.c:1008: error: `variant_short_descr' undeclared (first
use in this function)

gswitchit-config.c:1009: error: `variant_descr' undeclared (first use
in this function)

gswitchit-config.c: In function
`gswitchit_kbd_config_format_full_layout':

gswitchit-config.c:1016: error: `XKL_MAX_CI_DESC_LENGTH' undeclared
(first use in this function)

gswitchit-config.c:1016: warning: unused variable `full_descr'

gswitchit-config.c: At top level:

gswitchit-config.c:1069: error: syntax error before "XklConfigRegistry"

gswitchit-config.c:1071: warning: no previous prototype for
'gswitchit_config_load_group_descriptions_utf8'

gswitchit-config.c: In function
`gswitchit_config_load_group_descriptions_utf8':

gswitchit-config.c:1074: warning: implicit declaration of function
`xkl_engine_get_groups_names'

gswitchit-config.c:1074: error: `config' undeclared (first use in this
function)

gswitchit-config.c:1074: warning: initialization makes pointer from
integer without a cast

gswitchit-config.c:1075: warning: implicit declaration of function
`xkl_engine_get_num_groups'

gswitchit-config.c:1080: warning: implicit declaration of function
`xkl_engine_get_features'

gswitchit-config.c:1083: error: `XklConfigRec' undeclared (first use in
this function)

gswitchit-config.c:1083: error: `xkl_config' undeclared (first use in
this function)

gswitchit-config.c:1094: error: `config_registry' undeclared (first use
in this function)

gswitchit-config.c: In function `gswitchit_kbd_config_merge_items':

gswitchit-config.c:211: error: storage size of `buffer' isn't known

gswitchit-config.c: In function `gswitchit_kbd_config_split_items':

gswitchit-config.c:231: error: storage size of `pbuffer' isn't known

gswitchit-config.c:232: error: storage size of `cbuffer' isn't known

gswitchit-config.c: In function
`gswitchit_kbd_config_format_full_layout':

gswitchit-config.c:1016: error: storage size of `full_descr' isn't
known

gmake[3]: *** [gswitchit-config.o] Error 1

gmake[3]: Leaving directory
`/usr/ports/sysutils/gnome-control-center/work/control-center-2.16.1/libgswitchit'

gmake[2]: *** [all] Error 2

gmake[2]: Leaving directory
`/usr/ports/sysutils/gnome-control-center/work/control-center-2.16.1/libgswitchit'

gmake[1]: *** [all-recursive] Error 1

gmake[1]: Leaving directory
`/usr/ports/sysutils/gnome-control-center/work/control-center-2.16.1'

gmake: *** [all] Error 2

*** Error code 2



Stop in /usr/ports/sysutils/gnome-control-center.

*** Error code 1



Stop in /usr/ports/x11/gnome-applets.

** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade.8470.47 env PORT_UPGRADE=yes make

** Fix the problem and try again.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?web-144615845>