Re: errors in desktop/libxklavier on redhat7.3



Dunno if this is still a problem for you three months later, but I
just bumped into it.
Here is the answer, I hope it helps some googlers :)

That bit of code puts a C statement before a variable declaration in a block:

  {
    XklDebug( 0, "ERROR: XKL VTable is NOT initialized.\n" );
    /* force the crash! */
    char *p = NULL; *p = '\0';
  }

Old versions of GCC (v2.9 ?) don't allow it, so for Redhat 7.3 you'll need
to install a more recent GCC (I use v3.4.3 with no probs). If you don't
have root, you can compile it up yourself into ~/bin, and then 

Here are a few other tips for a non-root-access build on rh73:

#### move these packages to garnome/broken/, because:
# gnome-volume-manager : needs dbus
# gnome-system-monitor & libgnomesu : need root password
# nettool          : need ipv6 (ifaddrs)
# totem            : netinet.h parse errors (__KERNEL__; bad RH kernel errors)
# ximian-connector : Could not find krb5. Install krb5 or heimdal packages.
# seahorse         : needs GPG

I use these bootstrap packages:

BOOTSTRAP=\
	pkgconfig		\
	freetype		\
	autoconf-2.59		\
	render			\
	xrender			\
	fontconfig		\
	xft			\
	ttf-bitstream-vera	\
	musicbrainz		\
	firefox			\

I get all of desktop, office & fifth-toe working nicely (excepting the packages
listed above!). If you get problems with libgda & berkeleyDB, get in touch;
I've had a few too, but I think it's more to do with how my company tailors
rh73 than rh73 itself.

Good luck. It's very satisfying to get a start-of-the-art GUI running on an
almost obsolete linux :)

 - Adam

On 4/9/05, Ankur Nayak <ankur iit gmail com> wrote:
> Hi,
> I m trying to install gnome2.10 on a redhat7.3 box. But i am getting
> errors in "desktop/libxklavier" which is being built as a deps for
> control-center. I installed almost everything that was present in
> bootstrap and platform.
> Here are the errors i m getting....kindly help me out...
> 
> xklavier.c: In function `_XklEnsureVTableInited':
> xklavier.c:777: parse error before `char'
> xklavier.c:777: `p' undeclared (first use in this function)
> xklavier.c:777: (Each undeclared identifier is reported only once
> xklavier.c:777: for each function it appears in.)
> make[5]: *** [xklavier.lo] Error 1
> make[5]: Leaving directory
> `/home/ankur/build/garnome-2.10.0.1/desktop/libxklavier/work/main.d/libxklavier-2.0/libxklavier'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory
> `/home/ankur/build/garnome-2.10.0.1/desktop/libxklavier/work/main.d/libxklavier-2.0'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory
> `/home/ankur/build/garnome-2.10.0.1/desktop/libxklavier/work/main.d/libxklavier-2.0'
> make[2]: *** [build-work/main.d/libxklavier-2.0/Makefile] Error 2
> make[2]: Leaving directory
> `/home/ankur/build/garnome-2.10.0.1/desktop/libxklavier'
> make[1]: *** [../../desktop/libxklavier/cookies/main.d/install] Error 2
> make[1]: Leaving directory
> `/home/ankur/build/garnome-2.10.0.1/desktop/control-center'
> make: *** [paranoid-install] Error 2
> 
> I dont have root access on the m/c. Any help will be appreciated...
> --
> garnome-list mailing list
> garnome-list gnome org
> http://mail.gnome.org/mailman/listinfo/garnome-list
>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]