X-windows on pyramid (X11R3)

Bob Sutterfield bob at tyranosaur.cis.ohio-state.edu
Tue Sep 5 14:36:49 AEST 1989


In article <1080 at rex.cs.tulane.edu> barad at rex.cs.tulane.edu (Herb Barad) writes:
   Has anyone got X-windows running on a Pyramid?

Here's the article that got the job done for me:

From: mark at comp.vuw.ac.nz (Mark Davies)
Newsgroups: comp.sys.pyramid
Subject: Re: X windows
Message-ID: <14434 at comp.vuw.ac.nz>
Date: 8 Dec 88 02:47:07 GMT
Organization: Dept. of Comp. Sci., Victoria Uni. of Wellington, New Zealand.

In article <1866 at questar.QUESTAR.MN.ORG> scott at questar.QUESTAR.MN.ORG (Scott Anderson) writes:
>Are any of you using X windows 11r3 on your pyramids?  If so, did you
>port it yourself?  

Yes and Yes (Not that there was much to the "port").

This is what we did (but not in this order).

1) Apply the following patch to Login.h in clients/xdm.  The Pyramid
compiler objected to the lack of a semi-colon.  Don't think this was fixed
in fix1 or fix2 from MIT.

*** Login.h~	Fri Nov 18 11:37:30 1988
--- Login.h	Sat Nov 19 19:55:05 1988
***************
*** 73,79 ****
  #define NAME_LEN	32
  
  typedef struct _LoginData { 
! 	char	name[NAME_LEN], passwd[NAME_LEN] 
  } LoginData;
  
  # define NOTIFY_OK	0
--- 73,79 ----
  #define NAME_LEN	32
  
  typedef struct _LoginData { 
! 	char	name[NAME_LEN], passwd[NAME_LEN];
  } LoginData;
  
  # define NOTIFY_OK	0


2)  Add the following to Imake.tmpl

#ifdef pyr
#define MacroIncludeFile "Pyr.macros"
#define MacroFile Pyr.macros
#undef pyr
#define PyramidArchitecture
#endif /* pyr */

3)  Use the following as your Pyr.macros file (Yes it does look like a
cross between the Sun and Mips files).

-------- start of Pyr.macros -----------
/*
 * SET VERSION NUMBERS BEFORE MAKING MAKEFILES
 *
 * If you change either of the following numbers, you will need to do a 
 * full build (make World) at the top of the sources....
 */
#define PyrOSPlatform     YES		/* set to NO if not running SunOS */
#define OSName            OSx 4.0
#define OSMajorVersion    4
#define OSMinorVersion    0


/*
 ****************************************************************************
 */

/**/# platform:  $XConsortium: Pyr.macros,v 1.52 88/10/23 11:00:55 jim Exp $
/**/# operating system:  OSName

BOOTSTRAPCFLAGS = 
             AS = as
             CC = cc
       COMPRESS = /usr/new/compress
            CPP = /lib/cpp
             LD = ld
           LINT = lint
        INSTALL = install
           TAGS = ctags
             RM = rm -f
             MV = mv
             LN = ln -s
         RANLIB = ranlib
RANLIBINSTFLAGS = 
             AR = ar clq
             LS = ls
       LINTOPTS = -axz
    LINTLIBFLAG = -C
           MAKE = make
STD_CPP_DEFINES = 
    STD_DEFINES = 

/* define this as you like for normal library compilation */
#define LibraryDefines

/* define this as you like for server font support */
/*#define FontDefines	-DFONT_SNF -DFONT_BDF -DCOMPRESSED_FONTS*/


/* -DTCPCONN allows TCP connections */
/* -DUNIXCONN allows Unix domain connections */
/* -DDNETCONN allows DECnet connections */

#define ConnectionFlags		-DTCPCONN

/*
 * override any parameters from site.def
 */
#define UnalignedReferencesAllowed NO	/* if arbitrary deref is okay */
#define BuildServer		NO

#define ExpandManNames		YES	/* expand Xlib man page filenames */
#define UNCOMPRESSPATH /usr/new/uncompress
-------- end of Pyr.macros -----------

Now follow the X11R3 installation guide.
I think thats all we did here.

cheers
mark
-- 
Domainised:  mark at comp.vuw.ac.nz	Bang form: ...!uunet!vuwcomp!mark



More information about the Comp.sys.pyramid mailing list