Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!decwrl!ucbvax!tut.cis.ohio-state.edu!cs.utexas.edu!ut-emx!lad-shrike!milano!titan!janssen@titan.sw.mcc.com From: janssen@titan.sw.mcc.com (Bill Janssen) Newsgroups: comp.windows.x Subject: Re: Contribs under X11R3 Message-ID: <2222@titan.sw.mcc.com> Date: 8 Apr 89 07:17:34 GMT References: <1054@elmgate.UUCP> Sender: janssen@titan.sw.mcc.com Reply-To: janssen@titan.sw.mcc.com (Bill Janssen) Distribution: usa Organization: MCC Software Technology Lines: 72 Here are my build-notes for the Andrew system (which I like a lot): Setting up the environment: In "/x11r3/contrib/toolkits/andrew/config/andrewenv.h": Set LEVEL_ENV to 4. Defined X11_ENV. DITROFF_ENV defined. (MCC STP has ditroff in /usr/andrew/bin) RESOLVER_ENV defined (though I don't really know!). added new var MCC_STP_ENV defined to 1 (for our print commands) In "/x11r3/contrib/toolkits/andrew/config/Sun.macros": XBASEDIR set to "/x11r3" (my link to the real location) XSRCDIR set to "/x11r3" DESTDIR set to "/andrew" (my link to the real location) In "/x11r3/contrib/toolkits/andrew/atk/support/print.c" Added new section of print contants (such as print_PRINTCOMMAND) conditionally defined if MCC_STP_ENV is defined. This tells Andrew how to invoke troff. In "/x11r3/contrib/toolkits/andrew/atk/ltext/ltext.c" Added indentation for "defclass" and "defmethod". In "/x11r3/contrib/toolkits/andrew/overhead/util/lib/andrewdir.c" Set default Andrew root path to "/andrew" by changing the string "/usr/andrew" to "/andrew". This defines the default setting of the environment variable ANDREWDIR. The build instructions assume that andrew is a subdirectory of contrib. I moved the Imakefile from /x11r3/contrib to /x11r3/contrib/toolkits, and removed the references to other subdirectories of /x11r3/contrib. In /x11r3/contrib/toolkits/Imakefile, changed AndrewMakefiles:: $(RM) andrew/Makefile.bak -$(MV) andrew/Makefile andrew/Makefile.bak cd andrew; ../$(IMAKE) -DTOPDIR=. -TImake.template\ -Iconfig -s Makefile to AndrewMakefiles:: $(RM) andrew/Makefile.bak -$(MV) andrew/Makefile andrew/Makefile.bak cd andrew; $(IMAKE) -DTOPDIR=. -TImake.template\ -Iconfig -s Makefile which is just removing the relative location of the imake program. Used imake to make the Makefile: /x11r3/util/imake/imake -DTOPDIR=/x11r3 \ -T /x11r3/util/imake.includes/Imake.tmpl -s mm Then cd /x11r3/contrib/toolkits make -f mm AndrewMakefiles cd andrew make Makefiles make World First error occurred while attempting to build /x11r3/contrib/toolkits/andrew/atk/basics/xfontdesc.o, in that the file $(XBASEDIR)/include/X11/cursorfont.h was not in place. Copied it from /x11r3/X11/cursorfont.h, and said "make World" again. Received a number of apparently harmless error messages from the "make depend" steps, along the lines of "cannot find file foo.eh". --