From xemacs-m  Mon Mar 10 08:35:37 1997
Received: from fronsac.ensg.u-nancy.fr (fronsac.ensg.u-nancy.fr [192.93.48.17])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id IAA22903
	for <xemacs-beta@xemacs.org>; Mon, 10 Mar 1997 08:35:08 -0600 (CST)
Received: (from cognot@localhost) by fronsac.ensg.u-nancy.fr (8.7.6/8.7.3) id PAA01172; Mon, 10 Mar 1997 15:31:27 +0100 (GMT)
Date: Mon, 10 Mar 1997 15:31:27 +0100 (GMT)
Message-Id: <199703101431.PAA01172@fronsac.ensg.u-nancy.fr>
From: Richard Cognot <cognot@fronsac.ensg.u-nancy.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: xemacs-beta@xemacs.org
Subject: 20.1b6 OK on hpux 10.20 (mostly).
Reply-to: cognot@ensg.u-nancy.fr
X-Face:  .|{6#t`YCBNfg_E.8;@IFK9kd'Ol7>~2S7U!o3+g)+\`hV5&I]k,UwC%g%Y\,-KV+[eEgZm
 i(NgMB@L_n/A!jk;}@!?$<t5Aw`B$R=xJSv[F$2&sz*cwxF!|B3)MH,6YBDNU!$9;91N_p*>}</%ZO
 +EYRSc{a_#KXB)sJlPpxQq,/:}\*noO!;(5PY~MTnspl;&XA$JccP;N~;v5E>Yh.



Finally got some time to catch up with the last beta!

Configure line:

./configure  --prefix=/usr/local/xemacs
--bindir=/usr/local/xemacs/bin/hppa1.1-hp-hpux10.20
--x-libraries="/usr/lib/X11R6 -L/usr/lib -L/usr/contrib/X11R6/lib"
--x-includes="/usr/include/X11R6 -I/usr/include/Motif1.2_R6
-I/usr/contrib/X11R6/include"
--site-includes="/home/cognot/APPS/include /opt/audio/include"
--site-libraries="/home/cognot/APPS/lib/hp700 /opt/audio/lib"
--verbose --extra-verbose --cflags="+O3 +Onoinline -Ae"
--error-checking=none --debug=no --dynamic=yes --with-menubars=lucid
--with-scrollbars=lucid --with-dialogs=motif --with-png --with-mule 

Couple of comments:

As you might notice from the configure line, there is a slight problem
with the path for the X libs on 10.20.

10.20 comes bundled with X11R6, but, for compatibility reasons, X11R5
dev libs/includes are still there. By default, the X11R5 libs get
used.

*But*, if CDE is used (in my case, it is autodetected), linking with
the X11R5 libs brings a conflict between Xm and Xt (just a warning,
but annoying).

Also, the --x-libraries must be specified in that order, otherwise
some of the libs are picked up shared and not archive (Grrr. some
links are missing. Thanks, HP!). I also had to make /usr/dt/include/Tt
world readable (don't ask me why it wasn't, this is a fresh 10.20
install).

With this config line, I get:

fronsac:cognot[72]> chatr xemacs
xemacs: 
         shared executable 
         shared library dynamic path search:
             SHLIB_PATH     disabled  second 
             embedded path  disabled  first  Not Defined
         internal name:
             temacs
         shared library list:
             dynamic   /opt/audio/lib/libAlib.1
             dynamic   /usr/dt/lib/libDtSvc.1
             dynamic   /usr/dt/lib/libtt.1
             dynamic   /usr/lib/libXm.2
             dynamic   /usr/lib/X11R6/libXt.2
             dynamic   /usr/lib/X11R6/libSM.1
             dynamic   /usr/lib/X11R6/libICE.1
             dynamic   /usr/lib/X11R6/libX11.2
             dynamic   /usr/lib/libdbm.1
             dynamic   /usr/lib/libM.1
             dynamic   /usr/lib/libc.1
         shared library binding:
             deferred 
         static branch prediction disabled
         data page size: 4K
         instruction page size: 4K

Also, --x-{libraries,includes} behave differenly from
--site{libraries,includes} in that I need to specify the additionnal
directories with -I or -L. I think this should be fixed as this is
definitely not natural.

There is probably a need for a specific hpux10.20.h and
hpux10.20-shr.h, but my attempts in that direction have failed
miserably. I could go as far as having them picked by configure, but
my settings of C_SWITCH_X_SYSTEM and LD_SWITCH_X_DEFAULT were ignored.

Richard.

PS: just upgraded to 128 Mb of memory, and XEmacs definitely lives
happily with that ;-)

-- 
|-------------------------------------------------------------|
| Richard Cognot           | Proceed, with fingers crossed... |
|                          |           /\^^/\                 |
| <cognot@ensg.u-nancy.fr> |             `'                   |
|-------------------------------------------------------------|
| http://www.ensg.u-nancy.fr/~cognot                          |
|-------------------------------------------------------------|

