Malcolm Purvis wrote:
>>>>>"Stephen" == Stephen J Turnbull
<stephen(a)xemacs.org> writes:
Stephen> With that many errors in a single file, the problem is surely
Stephen> somewhere else.
I'll second that. I've managed to build and run GTK XEmacs.21.4.18 on a Sparc
box running Solaris 10.
What sort of other changes did you have to make?
Probably should go step by step here to see where I missed up. Sorry to take
your time here.
First I created an automount point to do the build:
/packages/xemacs_21.4.17
I downloaded:
glib-1.2.10
gtk+-1.2.10
jpeg-6b
tiff-3.7.3
zlib-1.2.3
Xaw3d-1.5
xemacs-21.3.17-src
-elc
-info
-sumo-2005-12.8
I created a subdirectory called "xsrc", where I compiled all of the add ons
(with gcc). I used the --prefix option to install them into an "xlib"
directory. "gtk" needed a few soft links to glib, but it compiled. I compiled
all of these with the latest version of "gcc" I had (3.3).
Xaw3d was a tougher nut to crack. I loaded that into a release of X11R6.4 that
we had running here. I had to rebuild all of the "include" files because the
"imake" soft linked them to a directory that didn't exist. It wouldn't
compile
with gcc, but it would compile with Sparcworks.
Then I untared the -src into an "xemacs-21.4.17" directory, and ran configure as
follows:
./configure --site-prefixes=/packages/xemacs_21.4.17/xlib
--prefix=/packages/xemacs_21.4.17 --with-gtk --with-jpeg --with-png --with-xpm
--x-libraries=/packages/X11R6.4/lib --x-includes=/packages/X11R6.4/include
Then I ran "make".
I had to copy "libjpeg.a" into the "xlib/lib" directory. I had to
link
"xlib/include/X11" to the directory with "xpm.h" in it. I also had to
link
"glibconfig.h".
I have several version of Gcc and sparcworks available to me. It only seems to
work with the older ones. When I tried the latest version of gcc I got an X11
library error, that I didn't get in the older verions. When I tried the latest
"forte" C compiler from SUN I got several syntax errors. So I went back to the
"pre Y2K" versions of Gcc and sparcworks. That's as far as I've gotten.
For
every compiler I would remove the "-src" and start over.
Sorry to take your time guys, and yes, I probably did something stupid. Can you
see what it is from this?
--
David W. Bishop dbishop(a)vhdl.org All standard disclaimers apply.