Difficulties with AfterStep 1.6.6 on Sparc Solaris 2.6

Gus Hartmann (hartmann@cs.wisc.edu)
Tue, 5 Jan 1999 15:38:52 -0600 (CST)

These are the problems I had compiling AfterStep 1.6 on Solaris 2.6/Sparc

1) Configure doesn't work with the stock Bourne shell - the error:
	"test - argument expected" while searching for libXpm. This is
	almost always a symptom of using an option to test that only GNU
	test supports. I changed the script to be executed with bash.

2) The extremely handy Uninstall-Old-AfterStep script could probably be
	written in true Bourne shell instead of bash. It might also be handy
	if an option to create backup copies was created.

These are the problems I had running AfterStep 1.6 on Solaris 2.6/Sparc

1) The assumption that xli was on my system. Configure didn't even look for it,
	yet it was needed for any sort of background picture. At least there
	should be a URL provided for obtaining it.

2) Core dumps when running on multiple displays. The X server starts,
	and the Sun logo shows on both screens. My .xinitrc starts to run,
	and afterstep starts on the first display, but then dies, and the X
	server exits. Interestingly, nothing is written to stderr or stdout,
	both of which I redirect into a .xerrors file.

Backtrace shows:

hartmann chinook ~ # gdb -core afterstep-1.6.6.core afterstep
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (sparc-sun-solaris2.4), 
Copyright 1996 Free Software Foundation, Inc...(no debugging symbols found)...
Core was generated by `/usr/openwin/bin/afterstep -d :0.1 -s'.
Program terminated with signal 11, Segmentation fault.
#0  0x14060 in GrabButtons ()
(gdb) bt
#0  0x14060 in GrabButtons ()
#1  0x140d0 in GrabButtons ()
#2  0x141c8 in FetchWmProtocols ()
#3  0x1419c in FetchWmProtocols ()
#4  0xef5788f4 in ?? ()
#5  0xef58cb24 in ?? ()
#6  0x1ba04 in GetHilite ()
#7  0x22220 in ExecuteFunction ()
#8  0x23a00 in ChangeWarpIndex ()
#9  0x225bc in ExecuteFunction ()
#10 0x13454 in AddWindow ()
(gdb) quit

	I have saved the core, if it is of any use to you, or if you would
like any further analysis done.

	I greatly appreciate the work that the AfterStep developers do, and
really enjoy having AfterStep as a window manager. Hopefully this bug report
will be of some use.

  http://www.upl.cs.wisc.edu/~hartmann/ | PGP Key ID: pub  1024/DCC499F5
          I heard KMart and WalMart have it.. wanna order in bulk? ;)

   WWW:   http://www.afterstep.org/
   FTP:   ftp://ftp.afterstep.org/
   MAIL:  http://www.caldera.com/linuxcenter/forums/afterstep.html