Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!lavaca.uh.edu!uhnix1!nuchat!texhrc!ldm From: ldm@texhrc.UUCP (Lyle Meier) Newsgroups: comp.windows.x.motif Subject: Re: Mwm/Motif 1.1 on Sparc? Summary: Building Motif 1.1 on a Sparc system . Message-ID: <498@texhrc.UUCP> Date: 8 Sep 90 20:11:14 GMT References: Distribution: comp Organization: Texaco Houston Res. Cntr Hou, Tx Lines: 65 In article , dnb@meshugge.media.mit.edu (David N. Blank) writes: > Howdy- > Very shortly I will be attempting to compile/port Motif 1.1 (esp. > mwm) straight from the release tape to the following environment: > Sun IPC (Sun 4 Sparc), SunOS 4.1, X11R4 > > I would guess that others have done this already. Is there anything > nasty in the process waiting to bite me? Patches required? Thanks > muchly in advance for this information. To do this in the most complete fashion first have the full X.V11 R4 source tree available. Then: First ensure that all 14 mit patches have been applied to the X11R4 tree, and the motif Xt patch has been applied. Use the script mit/util/scripts/lndir.sh to build a shadow tree. (We will build the libs and execuatable here). modify the Imakefile in the MIT directory to add 2 directories to build demosmotif and tools (demosmotif will be a set of links to the motif demos). Using lndir.sh (after creating these two directories) link demosmotif to the demos directory in the motif area: Link tools to the tools area in the motif source. Next rename the config area in the shadow tree config.mit, and create and link a directory call config with config in the motif area. Now go into the lib directory in the shadow tree: rename the Imakefile link to Imakefile.mit, edit a copy and add the directories Xm and Mrm to the directories list. As above create these directories and link them with lndir.sh to the lib/Xm and lib/Mrm directories in the motif source area. Now go to mit/clients, edit the Imakefile to add clients mwm and uil: Create and link these directoires to clients/mwm and clients/uil in the motif source area:(using lndir.sh again). Now we can start to build X and motif. If you feel brave you can just type make World and wait: Alternativly you could do make Makefile: make Makefiles, Check that all directories you added to the tree are visited in this process. make include; make depend make ... Actually if you get past make Makefile, you could just do a make World and start all over with little time lost: After from 2 to 10 hours you will have a set of executable etc to begin to test. Good Luck Lyle Meier Texaco Inc Exploration and Producing Technology Department Houston Texas 77072 uunet!convex!texhrc!ldm A