From xemacs-m  Wed Aug 13 10:23:00 1997
Received: from black-ice.cc.vt.edu (black-ice.cc.vt.edu [128.173.14.71])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id KAA22243
	for <xemacs-beta@xemacs.org>; Wed, 13 Aug 1997 10:22:59 -0500 (CDT)
Received: from black-ice.cc.vt.edu (LOCALHOST [127.0.0.1])
	by black-ice.cc.vt.edu (8.8.7/8.8.7) with ESMTP id LAA16098
	for <xemacs-beta@xemacs.org>; Wed, 13 Aug 1997 11:23:00 -0400
Message-Id: <199708131523.LAA16098@black-ice.cc.vt.edu>
To: xemacs-beta@xemacs.org
Subject: Success (more or less, sort of) with 20.3-beta17, AIX 4.2.1
From: Valdis.Kletnieks@vt.edu
X-Url: http://black-ice.cc.vt.edu/~valdis/
X-Face-Viewer: See ftp://cs.indiana.edu/pub/faces/index.html to decode picture
X-Face: 34C9$Ewd2zeX+\!i1BA\j{ex+$/V'JBG#;3_noWWYPa"|,I#`R"{n@w>#:{)FXyiAS7(8t(
 ^*w5O*!8O9YTe[r{e%7(yVRb|qxsRYw`7J!`AM}m_SHaj}f8eb@d^L>BrX7iO[<!v4-0bVIpaxF#-)
 %9#a9h6JXI|T|8o6t\V?kGl]Q!1V]GtNliUtz:3},0"hkPeBuu%E,j(:\iOX-P,t7lRR#
Mime-Version: 1.0
Content-Type: multipart/signed; boundary="==_Exmh_-1289700012P";
	micalg=pgp-md5; protocol="application/pgp-signature"
Content-Transfer-Encoding: 7bit
Date: Wed, 13 Aug 1997 11:23:00 -0400

--==_Exmh_-1289700012P
Content-Type: multipart/mixed ;
	boundary="==_Exmh_15894635140"

This is a multipart MIME message.

--==_Exmh_15894635140
Content-Type: text/plain; charset=us-ascii

1) I had to hack up src/m/ibmrs6000.h to disable all the static linking crud
in order to get even Configure to finish running (Martin - soon as I clean
up enough disk space, etc, I'll get you access here so you can figure an
"official" fix for the Configure stuff).

2) XEmacs would crash on the way up, I found that using --with-menubars=no
worked around the problem, and resulted in an XEmacs that would stay up
long enough to live through my .emacs file (This is a long-standing bug -
if anybody wants to check when I last posted a "success on AIX", that's when
it worked last).  I'm pretty sure that it's *NOT* the "right" fix, as there's
still some fuckage in the Lucid toolkit stuff (for instance, I can't
get the 'dimple' working for the scrollbars, and there's a keyboard grab
on the loose under some scrollbar conditions).  I'm investigating further,
BUT it shook out the following 2 bugs:

1) lisp/packages/big-menubar.el does no checking if 'current-menubar' is
bound before fucking with it.  No patch attached.

2) lisp/packages/gnuserv.el also does no checking.  Patch attached - I could
live without big-menubar but not gnuserv ;)

/Valdis


--==_Exmh_15894635140
Content-Type: text/plain ; name="gnuserv"; charset=us-ascii
Content-Description: gnuserv patches for --with-menubar=no
Content-Disposition: attachment; filename="gnuserv"

*** lisp/packages/gnuserv.el.dist	Wed Aug 13 10:53:23 1997
--- lisp/packages/gnuserv.el	Wed Aug 13 11:08:06 1997
***************
*** 446,453 ****
  	    (pushnew (current-buffer) (gnuclient-buffers client))
  	    (setq gnuserv-minor-mode t)
  	    ;; Add the "Done" button to the menubar, only in this buffer.
! 	    (set-buffer-menubar current-menubar)
! 	    (add-menu-button nil ["Done" gnuserv-edit t]))
  	  (run-hooks 'gnuserv-visit-hook)
  	  (pop list)))
        (cond
--- 446,455 ----
  	    (pushnew (current-buffer) (gnuclient-buffers client))
  	    (setq gnuserv-minor-mode t)
  	    ;; Add the "Done" button to the menubar, only in this buffer.
! 	    (if (boundp 'current-menubar)
! 	      (progn (set-buffer-menubar current-menubar)
! 	      (add-menu-button nil ["Done" gnuserv-edit t]))
! 	      ))
  	  (run-hooks 'gnuserv-visit-hook)
  	  (pop list)))
        (cond
***************
*** 604,610 ****
      (run-hooks 'gnuserv-done-hook)
      (setq gnuserv-minor-mode nil)
      ;; Delete the menu button.
!     (delete-menu-item '("Done"))
      (funcall (if (gnuserv-temp-file-p buffer)
  		 gnuserv-done-temp-file-function
  	       gnuserv-done-function)
--- 606,613 ----
      (run-hooks 'gnuserv-done-hook)
      (setq gnuserv-minor-mode nil)
      ;; Delete the menu button.
!     (if (boundp 'current-menubar)
!       (delete-menu-item '("Done")))
      (funcall (if (gnuserv-temp-file-p buffer)
  		 gnuserv-done-temp-file-function
  	       gnuserv-done-function)

--==_Exmh_15894635140
Content-Type: text/plain ; name="Inst.works"; charset=us-ascii
Content-Description: Inst.works
Content-Disposition: attachment; filename="Inst.works"


uname -a: AIX black-ice 2 4 003260504C00

./configure  '-with-gcc=no' '--compiler=xlc' '--cflags=-qcheck -qinfo -g -qarch=com -DNO_ANSI_KEYWORDS' '--dynamic=yes' '--with-menubars=no' '--debug' '--error-checking=all' '--with-mule' '--site-includes=/usr/local/include' '--site-libraries=/usr/local/lib' '--use-system-malloc'


Configured for `powerpc-ibm-aix4.2.1.0'.

  Where should the build process find the source code?    /home/spd/valdis/src/xemacs-20.3-b17/src
  What installation prefix should install use?		  /usr/local
  What operating system and machine description files should XEmacs use?
        `s/aix4-2.h' and `m/ibmrs6000.h'
  What compiler should XEmacs be built with?              xlc -qcheck -qinfo -g -qarch=com -DNO_ANSI_KEYWORDS
  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
  Where do we find X Windows header files?                /usr/dt/include 
  Where do we find X Windows libraries?                   /usr/dt/lib 
  Additional header files:                                /usr/local/include
  Additional libraries:                                   /usr/local/lib
  Compiling in support for XAUTH.
  Compiling in support for GIF image conversion.
  Compiling in support for XPM images.
  Compiling in support for X-Face message headers.
  Compiling in support for JPEG image conversion.
  Compiling in support for PNG image conversion.
  Compiling in support for GNU DBM.
  Compiling in Mule (multi-lingual) support.
  Compiling in support for CDE.
  Compiling in support for ToolTalk.
  Compiling in support for proper session-management.
  Using Lucid scrollbars.
  Using Motif dialog boxes.
  movemail will use "lockf" for locking mail spool files.
  Compiling in extra code for debugging.
  Compiling in code for checking XEmacs memory usage.
  WARNING: ---------------------------------------------------------
  WARNING: Compiling in support for runtime error checking.
  WARNING: XEmacs will run noticeably more slowly as a result.
  WARNING: Error checking is on by default for XEmacs beta releases.
  WARNING: ---------------------------------------------------------


--==_Exmh_15894635140--



--==_Exmh_-1289700012P
Content-Type: application/pgp-signature

-----BEGIN PGP MESSAGE-----
Version: 2.6.2

iQCVAwUBM/HRUtQBOOoptg9JAQGBIwQArzohrkVti5glP92FTxl4jOWZ8r7F6KMY
47rQZWhSDTreflNHpOXravIRK5zRU0qt+ETKHJD9DfK1e2mXqqQFWB4Jt7yPZq9K
tfzWSlVD3izaiDNYMWT34mTPALEK6VAGpwZa19/0/bizs38H5t0ud1qJ6blGiUSF
azEtCA+DgoY=
=4JRc
-----END PGP MESSAGE-----

--==_Exmh_-1289700012P--

