I originally wrote:
>We've got an SS20 with Solaris 2.5.1 on it, and we've been running X11R6 with
>no hitches. We are attempting to upgrade to X11R6.3 and have in fact compiled
>X11R6.3 on this machine, seemingly without a hitch. But in attempting to
>compile the contrib programs, I get the following when I do a make:
> [ a whole bunch of error messages ]
>Does this ring a bell? Has anyone gotten the contribs for X11R6.3 to compile
>under Solaris 2.5.1?
Many thanks to Tim Carlson <email@example.com> , who hit the nail on the head with
>xmkmf is failing to give you an include line of -I/opt/X11R6.3/include/X11
>what you are getting is -I/opt/X11R6.3/include -I/opt/X11R6.3/include
>edit X11.tmpl and change the INCDIR line (line 596 of my X11.tmpl) in
>/opt/X11R6.3/lib/config to add the X11 for the header files.
> INCDIR = $(INCROOT)/X11 /* header files */
> ADMDIR = AdmDir /* server log files */
> LIBDIR = LibDir /* rgb, XErrorDB, etc. */
>"X11.tmpl" [Read only] [Modified] line 596 of 1403 --42%--
Whan I adapted this to my setup and remembered to point the appropriate
environment variables (PATH and LD_LIBRARY_PATH) to the X11R6.3 stuff, all the
contributed programs except maze compiled and installed successfully. Maze is
still giving parameter errors, but oh well...
Tim also suggested that using a newer version of gcc (2.7.2, rather than my
version 2.5.6) would help, too. If someone here desperately needs the maze
program, I might try that.
Thanks also to Guenter Millahn <gm@Informatik.TU-Cottbus.DE> , who suggested:
>I guess your problem is similiar to my worries when I tried to compile
>X11R6.1 on Sol2.4 half year ago.
>I solved it using this header location part for my C compiler:
> -Iwhere/your/gcc/headers/are -I/usr/include -I/usr/ucbinclude
>Please have attention that -lucb is after -lc in your ld command.
I didn't try this yet.
-- Bill Fenwick Email: firstname.lastname@example.org Digicomp Research Voice: (607) 273-5900 ext 32
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:46 CDT