From xemacs-m  Wed Jan  8 14:10:54 1997
Received: from caviar.cv.ruu.nl (caviar.cv.ruu.nl [131.211.144.138])
          by xemacs.cs.uiuc.edu (8.8.4/8.8.4) with ESMTP
	  id OAA11956 for <xemacs-beta@xemacs.org>; Wed, 8 Jan 1997 14:10:53 -0600 (CST)
Received: from triton.cv.ruu.nl (triton.cv.ruu.nl [131.211.144.150]) by caviar.cv.ruu.nl (8.7.5/8.7.3) with ESMTP id VAA19017 for <xemacs-beta@xemacs.org>; Wed, 8 Jan 1997 21:10:52 +0100 (MET)
Received: from wodan.cv.ruu.nl (wodan.cv.ruu.nl [131.211.144.149]) by triton.cv.ruu.nl (8.7.5/8.6.12) with ESMTP id VAA25896 for <xemacs-beta@xemacs.org>; Wed, 8 Jan 1997 21:12:59 +0100 (MET)
From: Karel Zuiderveld <Karel.Zuiderveld@cv.ruu.nl>
Received: (karel@localhost) by wodan.cv.ruu.nl (8.6.12/8.6.12) id VAA14563 for xemacs-beta@xemacs.org; Wed, 8 Jan 1997 21:10:32 +0100
Message-Id: <199701082010.VAA14563@wodan.cv.ruu.nl>
Subject: 20.0-b34: XIM problems on Irix 6.3
To: xemacs-beta@xemacs.org
Date: Wed, 8 Jan 1997 21:10:32 +0100 (MET)
X-Mailer: ELM [version 2.4 PL25]
Content-Type: text

Hi,

I finally got my new O2 workstation I was waiting for. Tried to
delurk and compile b34, didn't succeed.

/configure --prefix=/Packages/xemacs-20.0b34 --site-includes=/net/include 
--site-libraries=/usr/freeware/lib -with-xim=no --with-dialogs=athena

-----> Note: I explicitely specified I don't want to use xim.

---->

Configured for `mips-sgi-irix6.3'.

  Where should the build process find the source code? /scratch1/karel/port/xemacs-20.0-b34
  What installation prefix should install use? /Packages/xemacs-20.0b34
  What operating system and machine description files should XEmacs
use?     `s/irix6-0.h' and `m/iris4d.h'
  What compiler should XEmacs be built with?              cc -g 
  Should XEmacs use the GNU version of malloc?            yes
  Should XEmacs use the relocating allocator for buffers? yes
  What window system should XEmacs use?                   x11
  Additional header files:                                /net/include
  Additional libraries: /usr/freeware/lib
  Compiling in support for XAUTH.
  Compiling in support for XPM.
  Compiling in support for GIF image conversion.
  Compiling in support for JPEG image conversion.
  Compiling in support for PNG image conversion.
  Compiling in native sound support.
  Compiling in support for DBM.
  Using the Lucid menubar.
  Using the Lucid scrollbar.
  Using the Athena dialog boxes.
  Compiling in extra code for debugging.
  Compiling in code for checking XEmacs memory usage.

Warning during creation of the makefile:

cpp: warning junk.c:529: INPUT_METHOD_X_OBJS redefined

Flawless compile until 

       cc -c -Demacs -DHAVE_CONFIG_H  -I.  -I/scratch1/karel/port/xemacs-20.0-b34/src      -I/net/include    -I/scratch1/karel/port/xemacs-20.0-b34/src/../lwlib   -g  input-method-xlib.c
cfe: Warning 605: input-method-xlib.c: 42: #error XIM_XLIB is not defined??
cfe: Error: input-method-xlib.c, line 131: This expression is not an lvalue.
   DEVICE_X_XIM (d) = xim = XOpenIM (dpy, XtDatabase (dpy), name, class);
 -------------------^
cfe: Error: input-method-xlib.c, line 141: Unacceptable operand of '&'.
       XGetIMValues (xim, "queryInputStyle" , &DEVICE_X_XIM_STYLES (d), 0L );
 ---------------------------------------------^
cfe: Warning 712: input-method-xlib.c, line 153: illegal combination of pointer and integer
   XIM xim = DEVICE_X_XIM (d);
 ------^
cfe: Error: input-method-xlib.c, line 193: This expression is not an lvalue.
       FRAME_X_XIC (f) = 0L ;
 ----------------------^
cfe: Error: input-method-xlib.c, line 204: This expression is not an lvalue.
       FRAME_X_XIC (f) = 0L ;
 ----------------------^
cfe: Error: input-method-xlib.c, line 208: This expression is not an lvalue.
   FRAME_X_XIC_STYLE (f) = style =
 ------------------------^

etc. 

Anybody encountered similar problems?

karel

-- 
------------------------------------------------------------------------- 
Karel Zuiderveld, PhD                 E-mail: karel.zuiderveld@cv.ruu.nl
Department of Image Sciences E01.334  WWW: http://www.cv.ruu.nl/~karel 
Image Sciences Institute              Tel: +31-30-2507772 Fax: +31-30-2513399
University Hospital Utrecht, Heidelberglaan 100, NL-3584 CX Utrecht
---------------- If Murphy's law can go wrong, it will ------------------

