From xemacs-m  Sat Jun  7 03:01:49 1997
Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1])
	by xemacs.org (8.8.5/8.8.5) with SMTP id DAA24510
	for <xemacs-beta@xemacs.org>; Sat, 7 Jun 1997 03:01:48 -0500 (CDT)
Received: from Eng.Sun.COM ([129.146.1.25]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id BAA03793; Sat, 7 Jun 1997 01:20:23 -0700
Received: from kindra.eng.sun.com by Eng.Sun.COM (SMI-8.6/SMI-5.3)
	id BAA27757; Sat, 7 Jun 1997 01:00:22 -0700
Received: from xemacs.eng.sun.com by kindra.eng.sun.com (SMI-8.6/SMI-SVR4)
	id BAA10182; Sat, 7 Jun 1997 01:00:21 -0700
Received: by xemacs.eng.sun.com (SMI-8.6/SMI-SVR4)
	id BAA12761; Sat, 7 Jun 1997 01:00:19 -0700
Date: Sat, 7 Jun 1997 01:00:19 -0700
Message-Id: <199706070800.BAA12761@xemacs.eng.sun.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: Martin Buchholz <mrb@Eng.Sun.COM>
To: Andrew J Cosgriff <Andrew.Cosgriff@cc.monash.edu.au>
Cc: XEmacs Beta Testers <xemacs-beta@xemacs.org>
Subject: Warsaw dynamic success (!) on alpha-dec-osf4.0
In-Reply-To: <ruioh9ieuzr.fsf@goaway.cc.monash.edu.au>
References: <ruioh9ieuzr.fsf@goaway.cc.monash.edu.au>
X-Mailer: VM 6.32 under 20.3 XEmacs Lucid (beta4)
Reply-To: Martin Buchholz <mrb@Eng.Sun.COM>

>>>>> "ajc" == Andrew J Cosgriff <Andrew.Cosgriff@cc.monash.edu.au> writes:

ajc> Yay !  I finally worked it out.  It looks like the cause of all my
ajc> problems are some dud libraries in /usr/local/lib - i'm not sure which
ajc> ones yet, but it could be some X ones (since there's only some shared
ajc> X libraries there, no static ones, and xemacs worked ok linked
ajc> statically).  I dunno who put them there, or what they're for.  It's
ajc> times like this i miss being the only person who put things in
ajc> /usr/local :)

ajc> I still had to disable png because it didn't link in libz when doing
ajc> configure tests.

Try setting the environment variable LIBS=-lz before running configure 
and see if that works.  Try to figure out why -lz isn't autodetected.
Check out config.log.  Give me a guest account..................

ajc> I'm a bit puzzled as to how the linking worked, since libXpm, libjpeg
ajc> and libncurses and such are all in /usr/local/lib, and it found them
ajc> just fine, even though i'm using cc and I didn't tell it to use
ajc> /usr/local/lib (if i did, then things don't work).  I also don't have
ajc> an LD_LIBRARY_PATH set.  But I won't tempt fate by poking too hard
ajc> just yet :)

Bet you have symlinks from /usr/lib to /usr/local/lib.
Try to debug the configure script to see where it's finding what.

ajc> Enjoy,
ajc>  Andrew
ajc> uname -a: OSF1 goaway.cc.monash.edu.au V4.0 564 alpha alpha

ajc> ./configure  '--cflags=-O3' '--with-xpm' '--with-png=no' '--with-gcc=no' '--site-includes=/usr/local/include'

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

Martin

