From xemacs-m  Mon May 19 18:03:16 1997
Received: from ALPHA8.CC.MONASH.EDU.AU (alpha8.cc.monash.edu.au [130.194.1.8])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id SAA00541
	for <xemacs-beta@xemacs.org>; Mon, 19 May 1997 18:03:14 -0500 (CDT)
Received: from goaway.cc.monash.edu.au ("port 4827"@goaway.cc.monash.edu.au)
 by vaxh.cc.monash.edu.au (PMDF V5.1-7 #20655)
 with ESMTP id <01IJ359EC8D08ZECE8@vaxh.cc.monash.edu.au> for
 xemacs-beta@xemacs.org; Tue, 20 May 1997 09:03:14 +1000
Received: (ajc@localhost) by goaway.cc.monash.edu.au (8.8.5/8.6.4)
 id JAA23306; Tue, 20 May 1997 09:03:14 +1000 (EST)
Date: Tue, 20 May 1997 09:03:11 +1000
From: Andrew J Cosgriff <Andrew.Cosgriff@cc.monash.edu.au>
Subject: 20.3-b1 sort of success on Digital Unix 4.0B
To: XEmacs Beta Testers <xemacs-beta@xemacs.org>
Message-id: <ruihgfzqd3k.fsf@goaway.cc.monash.edu.au>
MIME-version: 1.0 (generated by tm-edit 7.106)
X-Mailer: Gnus v5.4.53/XEmacs 20.2
Content-type: multipart/mixed; boundary="Multipart_Tue_May_20_09:03:11_1997-1"
Content-transfer-encoding: 7bit
X-Attribution: ajc
X-URI: <URL:http://www-personal.monash.edu.au/~ajc>
X-PGP-Key-ID: C7BD53F5
X-Face: 
 PBPJ+.AE`FBN4$}H<dIo+^`A-G%mJTXXP$^4bBox##5=oF{G\[:0|sNlr%~H1,>rwwEh<qq.dHRpu8ftJ\'14l]<x(nRD>J)x?-5$MQ%Z)svNR@Q\WG6[GDr,}a@8ULwGWBsk,Pqxm!Z<lnD(Skwwe$j+<0g6N6z}>-
Lines: 101

--Multipart_Tue_May_20_09:03:11_1997-1
Content-Type: text/plain; charset=US-ASCII


I finally got around to finding time to work out why it wouldnt build :)

I noticed that during some configure tests, it looks like it's linking
in libpng but not libz :

**
./configure   (ie. no arguments)
.
.
.
checking size of short... 15732:./conftest: /sbin/loader: Error: unresolvable symbol in /usr/local/lib/libpng.so.0.90: deflateEnd
15732:./conftest: /sbin/loader: Error: unresolvable symbol in /usr/local/lib/libpng.so.0.90: deflate
15732:./conftest: /sbin/loader: Error: unresolvable symbol in /usr/local/lib/libpng.so.0.90: deflateInit2_
15732:./conftest: /sbin/loader: Error: unresolvable symbol in /usr/local/lib/libpng.so.0.90: inflateInit_
15732:./conftest: /sbin/loader: Error: unresolvable symbol in /usr/local/lib/libpng.so.0.90: crc32
15732:./conftest: /sbin/loader: Error: unresolvable symbol in /usr/local/lib/libpng.so.0.90: inflate
15732:./conftest: /sbin/loader: Error: unresolvable symbol in /usr/local/lib/libpng.so.0.90: inflateReset
15732:./conftest: /sbin/loader: Error: unresolvable symbol in /usr/local/lib/libpng.so.0.90: deflateReset
15732:./conftest: /sbin/loader: Error: unresolvable symbol in /usr/local/lib/libpng.so.0.90: inflateEnd
15732:./conftest: /sbin/loader: Fatal Error: this executable has unresolvable symbols
0
    Defining SIZEOF_SHORT = 0
checking size of int... 
^C

7 goaway/2:pa 1539 [1] % tail config.log
main()
{
  FILE *f=fopen("conftestval", "w");
  if (!f) exit(1);
  fprintf(f, "%d\n", sizeof(short));
  exit(0);
}
configure:6961: checking size of int
configure:6975: gcc -o conftest     -D_BSD   -I/usr/dt/include    -L/usr/ccs/lib    -L/usr/dt/lib  conftest.c   -lSM -lICE -lXm -lpng  -ljpeg -lcompface -lXpm -lDtSvc -ltt  -lXau -lXmu -lXext -lXt -lX11  -ldnet_stub -lm     -lbsd    1>&5
**

Yup, no libz.

Also, the link line for temacs looks like

... EmacsManager.o              -llw                 -lSM -lICE -lcanna -lRKC -lXaw -ljpeg -lcompface -lXpm -lXau -lXmu -lXext -lXt -lX11  -ldnet_stub -lm  -lncurses -lgdbm -ldb    -lbsd

Adding/Moving -lSM -lICE to the end works, as already pointed out by
others.


--Multipart_Tue_May_20_09:03:11_1997-1
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="Installation"
Content-Transfer-Encoding: 7bit

uname -a: OSF1 goaway.cc.monash.edu.au V4.0 564 alpha alpha

./configure  'alpha-dec-osf4.0' '--cflags=-O -g' '--dynamic=no' '--with-tooltalk=no' '--with-xface' '--with-png=no' '--with-cde=no' '--with-xim=no' '--with-mule' '--x-includes=/usr/X11R6/include' '--x-libraries=/usr/X11R6/lib' '--site-includes=/usr/local/include /net/users/ajc/work/jp/canna/include' '--site-libraries=/usr/local/lib /net/users/ajc/work/jp/canna/lib' '--with-dialogs=athena'


Configured for `alpha-dec-osf4.0'.

  Where should the build process find the source code?    /net/users/ajc/build/xemacs-20.3-b1
  What installation prefix should install use?		  /usr/local
  What operating system and machine description files should XEmacs use?
        `s/decosf4-0-static.h' and `m/alpha.h'
  What compiler should XEmacs be built with?              gcc -O -g
  Should XEmacs use the GNU version of malloc?            no
  (The GNU allocators don't work with this system configuration.)
  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 /usr/X11R6/include
  Where do we find X Windows libraries?                   /usr/dt/lib /usr/X11R6/lib
  Additional header files:                                /usr/local/include /net/users/ajc/work/jp/canna/include
  Additional libraries:                                   /usr/local/lib /net/users/ajc/work/jp/canna/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 Berkeley DB.
  Compiling in support for GNU DBM.
  Compiling in support for ncurses.
  Compiling in Mule (multi-lingual) support.
  Compiling in support for Canna on Mule.
  Using the Lucid menubar.
  Using the Lucid scrollbar.
  Using the Athena dialog boxes.


--Multipart_Tue_May_20_09:03:11_1997-1
Content-Type: text/plain; charset=US-ASCII

-- 
 - Andrew J. Cosgriff -                  ajc@bing.wattle.id.au    (PGP/MIME ok)
 +61 3 9905 1165 (bh) 9905 4746 (fax)    http://www-personal.monash.edu.au/~ajc
       My BIOLOGICAL ALARM CLOCK just went off ... It has noiseless DOZE
                          FUNCTION and full kitchen!!

--Multipart_Tue_May_20_09:03:11_1997-1--

