See my comments below.
uname -a: SunOS ahoward 5.5 Generic_103093-23 sun4m sparc SUNW,SPARCstation-10
./configure '--prefix=/afs/nd.edu/user4/jpalmier'
'--site-includes=/afs/nd.edu/user4/jpalmier/lib/include'
'--site-libraries=/afs/nd.edu/user4/jpalmier/lib/lib'
'--x-includes=/usr/openwin/share/include' '--with-cde=no'
XEmacs 21.2-b4 "Aglaophonos" configured for `sparc-sun-solaris2.5'.
Where should the build process find the source code?
/afs/nd.edu/user4/jpalmier/silly/transfers/xemacs-21.2-b4
What installation prefix should install use? /afs/nd.edu/user4/jpalmier
What operating system and machine description files should XEmacs use?
`s/sol2.h' and `m/sparc.h'
What compiler should XEmacs be built with? gcc -g -O3 -Wall -Wno-switch
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
/usr/openwin/share/include
Where do we find X Windows libraries? /usr/dt/lib /usr/openwin/lib
Additional header files:
/afs/nd.edu/user4/jpalmier/lib/include
Additional libraries:
/afs/nd.edu/user4/jpalmier/lib/lib
Runtime library search path:
/afs/nd.edu/user4/jpalmier/lib/lib:/usr/dt/lib:/usr/openwin/lib:/usr/local/src/gnu96/lib
Compiling in support for XAUTH.
Compiling in support for XPM images.
Compiling in support for PNG image handling.
Compiling in support for (builtin) GIF image handling.
Compiling in support for JPEG image handling.
Compiling in support for TIFF image handling.
Compiling in support for X-Face message headers.
Compiling in support for GNU DBM.
Compiling in support for ToolTalk.
Compiling in support for proper session-management.
Using Lucid menubars.
Using Lucid scrollbars.
Using Motif dialog boxes.
Compiling in DLL support.
movemail will use "dot-locking" 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: ---------------------------------------------------------
My comments:
1. If I ran configure without '--x-includes=/usr/openwin/share/include',
then the variables x_libraries and x_includes would not be set
correctly--they ended up being set to
x_libraries: /usr/dt/lib /usr/openwin/lib
x_includes: /usr/dt/include /usr/X11R6/include
Even though /usr/openwin/share/include exists and contains the
appropriate things, this part of the 'configure' was not defining
x_includes properly (after this part of the script, x_includes was
still "NONE").
I noticed that the PROBLEMS file in the distribution mentions
something about this:
*** Problems finding X11 libraries on Solaris with Openwindows
Some users have reported problems in this area. The reported solution
is to define the environment variable OPENWINHOME, even if you must set
it to `/usr/openwin'.
I do have this variable set to /usr/openwin, and it didn't help me.
2. Running configure without the option '--with-cde=no' leads to this
problem:
gcc -c -g -O3 -Wall -Wno-switch -Demacs -I. -DHAVE_CONFIG_H
-I/afs/nd.edu/user4/jpalmier/lib/include -I/usr/dt/include -I/usr/openwin/share/include
frame-x.c
frame-x.c:975: Dt/Dt.h: No such file or directory
frame-x.c:976: Dt/Dnd.h: No such file or directory
make[1]: *** [frame-x.o] Error 1
make[1]: Leaving directory
`/afs/nd.edu/user4/jpalmier/silly/transfers/xemacs-21.2-b3/src'
make: *** [src] Error 2
Did I do something wrong, or did configure?
--
John H. Palmieri
e-mail: palmieri.2(a)nd.edu 205 Computing/Mathematics Building
URL:http://www.nd.edu/~jpalmier/ University of Notre Dame
(219) 631-8846 Notre Dame, IN 46556