gnome-applets install fails

Randall Wood rhwood at mac.com
Sat Oct 28 09:55:47 PDT 2006


I am trying to fix this and get at least version 2.14.3 to build. I  
hope to have it done soon, but since my wife is expecting next week,  
can't make any promises.

On 28 Oct 2006, at 11:01, McGarry Vince wrote:

> gnome-applets appears to be the only package in the MacPorts Gnome  
> distribution that will not compile on my PowerBook G4. It fails at  
> this point
>
> %-------
>
> Making all in libgswitchit
> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wmissing-prototypes  - 
> I..   -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/ 
> local/lib/glib-2.0/include -I/opt/local/include/libxml2   - 
> DORBIT2=1 -D_REENTRANT -DXTHREADS -I/opt/local/include/libgnome-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/orbit-2.0 -I/opt/local/ 
> include/libbonobo-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/bonobo-activation-2.0 -I/opt/local/include/ 
> libgnomeui-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/libbonoboui-2.0 -I/opt/local/include/gnome-keyring-1 -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../intl -DSYS_PLUGIN_DIR=\"/opt/local/ 
> lib/gswitchit/\" -DG_LOG_DOMAIN=\"GSwitchIt\"    -g -O2 -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
> gswitchit_config.c:27:41: error: libxklavier/xklavier_config.h: No  
> such file or directory
> gswitchit_config.c: In function '_GSwitchItKbdConfigGetDescriptions':
> gswitchit_config.c:120: error: nested functions are disabled, use - 
> fnested-functions to re-enable
> gswitchit_config.c:120: error: syntax error before 'litem'
> gswitchit_config.c:121: error: nested functions are disabled, use - 
> fnested-functions to re-enable
> gswitchit_config.c:121: error: syntax error before 'vitem'
> gswitchit_config.c:125: error: 'litem' undeclared (first use in  
> this function)
> gswitchit_config.c:125: error: (Each undeclared identifier is  
> reported only once
> gswitchit_config.c:125: error: for each function it appears in.)
> gswitchit_config.c:126: warning: implicit declaration of function  
> 'XklConfigFindLayout'
> gswitchit_config.c:134: error: 'vitem' undeclared (first use in  
> this function)
> gswitchit_config.c:136: warning: implicit declaration of function  
> 'XklConfigFindVariant'
> gswitchit_config.c: In function '_GSwitchItConfigAddListener':
> gswitchit_config.c:157: warning: implicit declaration of function  
> 'XklDebug'
> gswitchit_config.c: In function 'GSwitchItKbdConfigMergeItems':
> gswitchit_config.c:182: error: 'XKL_MAX_CI_NAME_LENGTH' undeclared  
> (first use in this function)
> gswitchit_config.c:182: warning: unused variable 'buffer'
> gswitchit_config.c: In function 'GSwitchItKbdConfigSplitItems':
> gswitchit_config.c:201: error: 'XKL_MAX_CI_NAME_LENGTH' undeclared  
> (first use in this function)
> gswitchit_config.c:202: warning: unused variable 'cbuffer'
> gswitchit_config.c:201: warning: unused variable 'pbuffer'
> gswitchit_config.c: At top level:
> gswitchit_config.c:270: error: parse error before 'XklConfigRec'
> gswitchit_config.c: In function  
> '_GSwitchItKbdConfigCopyFromXklConfig':
> gswitchit_config.c:274: error: 'kbdConfig' undeclared (first use in  
> this function)
> gswitchit_config.c:274: error: 'pdata' undeclared (first use in  
> this function)
> gswitchit_config.c:285: error: 'XKL_MAX_CI_NAME_LENGTH' undeclared  
> (first use in this function)
> gswitchit_config.c:285: warning: unused variable 'fullLayout'
> gswitchit_config.c:301: warning: unused variable 'group'
> gswitchit_config.c: At top level:
> gswitchit_config.c:321: error: parse error before 'XklConfigRec'
> gswitchit_config.c: In function '_GSwitchItKbdConfigCopyToXklConfig':
> gswitchit_config.c:324: error: 'pdata' undeclared (first use in  
> this function)
> gswitchit_config.c:325: error: 'kbdConfig' undeclared (first use in  
> this function)
> gswitchit_config.c: In function 'GSwitchItConfigLoadFromGConf':
> gswitchit_config.c:602: warning: implicit declaration of function  
> 'XklGetMaxNumGroups'
> gswitchit_config.c: In function 'GSwitchItConfigActivate':
> gswitchit_config.c:644: warning: implicit declaration of function  
> 'XklSetGroupPerApp'
> gswitchit_config.c:645: warning: implicit declaration of function  
> 'XklSetIndicatorsHandling'
> gswitchit_config.c:646: warning: implicit declaration of function  
> 'XklSetDefaultGroup'
> gswitchit_config.c: In function 'GSwitchItConfigLockNextGroup':
> gswitchit_config.c:654: warning: implicit declaration of function  
> 'XklGetNextGroup'
> gswitchit_config.c:655: warning: implicit declaration of function  
> 'XklLockGroup'
> gswitchit_config.c: In function 'GSwitchItConfigLockPrevGroup':
> gswitchit_config.c:661: warning: implicit declaration of function  
> 'XklGetPrevGroup'
> gswitchit_config.c: In function 'GSwitchItConfigRestoreGroup':
> gswitchit_config.c:668: warning: implicit declaration of function  
> 'XklGetRestoreGroup'
> gswitchit_config.c: In function 'GSwitchItKbdConfigLoadFromXCurrent':
> gswitchit_config.c:767: error: 'XklConfigRec' undeclared (first use  
> in this function)
> gswitchit_config.c:767: error: parse error before 'data'
> gswitchit_config.c:768: warning: implicit declaration of function  
> 'XklConfigRecInit'
> gswitchit_config.c:768: error: 'data' undeclared (first use in this  
> function)
> gswitchit_config.c:769: warning: implicit declaration of function  
> 'XklConfigGetFromServer'
> gswitchit_config.c:774: warning: implicit declaration of function  
> 'XklGetLastError'
> gswitchit_config.c:775: warning: implicit declaration of function  
> 'XklConfigRecDestroy'
> gswitchit_config.c: In function 'GSwitchItKbdConfigLoadFromXInitial':
> gswitchit_config.c:781: error: 'XklConfigRec' undeclared (first use  
> in this function)
> gswitchit_config.c:781: error: parse error before 'data'
> gswitchit_config.c:782: error: 'data' undeclared (first use in this  
> function)
> gswitchit_config.c:783: warning: implicit declaration of function  
> 'XklConfigGetFromBackup'
> gswitchit_config.c: In function 'GSwitchItKbdConfigActivate':
> gswitchit_config.c:921: error: 'XklConfigRec' undeclared (first use  
> in this function)
> gswitchit_config.c:921: error: parse error before 'data'
> gswitchit_config.c:922: error: 'data' undeclared (first use in this  
> function)
> gswitchit_config.c:926: warning: implicit declaration of function  
> 'XklConfigActivate'
> gswitchit_config.c: In function 'GSwitchItAppletConfigActivate':
> gswitchit_config.c:1206: warning: implicit declaration of function  
> 'XklSetSecondaryGroupsMask'
> gswitchit_config.c: In function 'GSwitchItKbdConfigFormatFullLayout':
> gswitchit_config.c:1247: error: 'XKL_MAX_CI_DESC_LENGTH' undeclared  
> (first use in this function)
> gswitchit_config.c:1247: warning: unused variable 'fullDescr'
> gswitchit_config.c: In function  
> 'GSwitchItConfigLoadGroupDescriptionsUtf8':
> gswitchit_config.c:1261: warning: implicit declaration of function  
> 'XklGetGroupNames'
> gswitchit_config.c:1261: warning: initialization makes pointer from  
> integer without a cast
> gswitchit_config.c:1263: warning: implicit declaration of function  
> 'XklGetBackendFeatures'
> gswitchit_config.c:1263: error: 'XKLF_MULTIPLE_LAYOUTS_SUPPORTED'  
> undeclared (first use in this function)
> gswitchit_config.c:1265: error: 'XklConfigRec' undeclared (first  
> use in this function)
> gswitchit_config.c:1265: error: parse error before 'xklConfig'
> gswitchit_config.c:1266: error: 'xklConfig' undeclared (first use  
> in this function)
> gswitchit_config.c:1294: warning: implicit declaration of function  
> 'XklGetNumGroups'
> make[2]: *** [gswitchit_config.o] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> 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_ 
> dports_gnome_gnome-applets/work/gnome-applets-2.12.3" && make all"  
> returned error 2
> Command output: gswitchit_config.c:769: warning: implicit  
> declaration of function 'XklConfigGetFromServer'
> gswitchit_config.c:774: warning: implicit declaration of function  
> 'XklGetLastError'
> gswitchit_config.c:775: warning: implicit declaration of function  
> 'XklConfigRecDestroy'
> gswitchit_config.c: In function 'GSwitchItKbdConfigLoadFromXInitial':
> gswitchit_config.c:781: error: 'XklConfigRec' undeclared (first use  
> in this function)
> gswitchit_config.c:781: error: parse error before 'data'
> gswitchit_config.c:782: error: 'data' undeclared (first use in this  
> function)
> gswitchit_config.c:783: warning: implicit declaration of function  
> 'XklConfigGetFromBackup'
> gswitchit_config.c: In function 'GSwitchItKbdConfigActivate':
> gswitchit_config.c:921: error: 'XklConfigRec' undeclared (first use  
> in this function)
> gswitchit_config.c:921: error: parse error before 'data'
> gswitchit_config.c:922: error: 'data' undeclared (first use in this  
> function)
> gswitchit_config.c:926: warning: implicit declaration of function  
> 'XklConfigActivate'
> gswitchit_config.c: In function 'GSwitchItAppletConfigActivate':
> gswitchit_config.c:1206: warning: implicit declaration of function  
> 'XklSetSecondaryGroupsMask'
> gswitchit_config.c: In function 'GSwitchItKbdConfigFormatFullLayout':
> gswitchit_config.c:1247: error: 'XKL_MAX_CI_DESC_LENGTH' undeclared  
> (first use in this function)
> gswitchit_config.c:1247: warning: unused variable 'fullDescr'
> gswitchit_config.c: In function  
> 'GSwitchItConfigLoadGroupDescriptionsUtf8':
> gswitchit_config.c:1261: warning: implicit declaration of function  
> 'XklGetGroupNames'
> gswitchit_config.c:1261: warning: initialization makes pointer from  
> integer without a cast
> gswitchit_config.c:1263: warning: implicit declaration of function  
> 'XklGetBackendFeatures'
> gswitchit_config.c:1263: error: 'XKLF_MULTIPLE_LAYOUTS_SUPPORTED'  
> undeclared (first use in this function)
> gswitchit_config.c:1265: error: 'XklConfigRec' undeclared (first  
> use in this function)
> gswitchit_config.c:1265: error: parse error before 'xklConfig'
> gswitchit_config.c:1266: error: 'xklConfig' undeclared (first use  
> in this function)
> gswitchit_config.c:1294: warning: implicit declaration of function  
> 'XklGetNumGroups'
> make[2]: *** [gswitchit_config.o] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-users


Randall Wood
rhwood at mac.com

"The rules are simple: The ball is round. The game lasts 90 minutes.  
All the
rest is just philosophy."





More information about the macports-users mailing list