Re: gtk-1.3.10: compiling problems on hp-ux 10.20



Well, the problem here is basically that you are using X11R5 and the X
input method extension input method module simply isn't going to work
with that.

I doubt we'll ever try to fix that: XIM support is not needed for
most people X11R6 was released ~7 years ago, but if things work
otherwise, we could make building the module conditional on having
sufficiently new XIM. Why dont' you file a bug in bugzilla.gnome.org?

For now, you can simply remove the references to im-xim.la in
gtk/modules/input/Makefile.am and things should work fine.

Regards,
                                        Owen

"Gansser, Martin" <MGansser rand de> writes:

> after 35 minutes compiling time, I get a error messages on hp-ux 10.20
> 
> #!/bin/csh -f
> #
> set path=( $path /opt/libtool/bin /opt/glib-1.3.10/bin )
> setenv CPPFLAGS "-I/opt/gettext/include -I/opt/pth/include
> -I/opt/tiff-3.5/include -I/opt/jpeg-6/include \
>  -I/opt/libpng/include -I/opt/zlib/include -I/usr/include/X11R5"
> setenv LDFLAGS "-L/opt/gettext/lib -L/opt/pth/lib -L/opt/tiff-3.5/lib
> -L/opt/jpeg-6/lib -L/opt/libpng/lib \
>  -L/opt/zlib/lib -L/usr/lib/X11R5"
> setenv RANLIB "/bin/true"
> setenv PKG_CONFIG_PATH
> "/opt/glib-1.3.10/lib/pkgconfig:/opt/atk-0.6/lib/pkgconfig:/opt/pango-0.21/l
> ib/pkgconfig"
> #
> gmake distclean
> ./configure --prefix=/opt/gtk+-1.3.10 \
> --x-includes=/usr/include/X11R5 --x-libraries=/usr/lib/X11R5
> gmake
> 
> 
> errors:
> ...
> gtkimcontextxim.c: In function `setup_im':
> gtkimcontextxim.c:130: `XIMValuesList' undeclared (first use in this
> function)
> gtkimcontextxim.c:130: (Each undeclared identifier is reported only once
> gtkimcontextxim.c:130: for each function it appears in.)
> gtkimcontextxim.c:130: `ic_values' undeclared (first use in this function)
> gtkimcontextxim.c:130: invalid lvalue in assignment
> gtkimcontextxim.c:135: `XNQueryICValuesList' undeclared (first use in this
> function)
> gtkimcontextxim.c: In function `gtk_im_context_xim_reset':
> gtkimcontextxim.c:436: `XIMPreeditState' undeclared (first use in this
> function)
> gtkimcontextxim.c:436: parse error before "preedit_state"
> gtkimcontextxim.c:445: `XNPreeditState' undeclared (first use in this
> function)
> gtkimcontextxim.c:445: `preedit_state' undeclared (first use in this
> function)
> gmake[3]: *** [gtkimcontextxim.lo] Error 1
> gmake[3]: Leaving directory `/users/mgansser/GNU/gtk+-1.3.10/modules/input'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory `/users/mgansser/GNU/gtk+-1.3.10/modules'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/users/mgansser/GNU/gtk+-1.3.10'
> gmake: *** [all-recursive-am] Error 2
> 



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