home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.windows.open-look:3227 comp.sys.sun.apps:1477
- Newsgroups: comp.windows.open-look,comp.sys.sun.apps
- Path: sparky!uunet!sun-barr!ames!elroy.jpl.nasa.gov!poseur.JPL.NASA.GOV!earle
- From: earle@poseur.JPL.NASA.GOV (Greg Earle - Sun JPL on-site Software Support)
- Subject: Re: New topic for cwol FAQ - OW 3.0 and imake
- Message-ID: <1992Jul26.071505.12154@elroy.jpl.nasa.gov>
- Followup-To: comp.windows.open-look,comp.sys.sun.apps
- Summary: diffs
- Sender: news@elroy.jpl.nasa.gov (Usenet)
- Nntp-Posting-Host: poseur.jpl.nasa.gov
- Organization: Sun Microsystems - JPL on-site Software Support
- References: <1992Jul17.111457.14780@cas.org>
- Date: Sun, 26 Jul 1992 07:15:05 GMT
- Lines: 61
-
- In article <1992Jul17.111457.14780@cas.org> lvirden@cas.org (Larry W. Virden) writes:
- >Would someone please write up a guaranteed method of getting imake to
- >work with OW 3.0 (and OpenWindows installed as /usr/openwin as recommended
- >or at least illustrated in the install docs)? This is a question that I
- >see on various Sun and X groups regularly. I have ATTEMPTED to create my
- >own templates, etc. but cannot get them to work properly. Sigh.
-
- Assuming you want to maintain an OpenWindows environment (i.e., if you run
- "xmkmf" and then "make" and then "make install", you expect the final product
- to get installed in $OPENWINHOME/bin et al.), here's a solution that should
- also work for sources that expect X11 R5 (i.e., they have R5-ish Imakefiles).
-
- Just cd to $OPENWINHOME and apply these simple patches:
-
- ------------------------------------------------------------------------------
- *** bin/xmkmf.orig Wed Sep 18 07:02:02 1991
- --- bin/xmkmf Tue Aug 6 00:39:20 1991
- ***************
- *** 30,34 ****
-
- elif [ -n "$OPENWINHOME" ]; then
- ! args="-DUseInstalled "$OPENWINHOME/lib/config
-
- else
- --- 30,34 ----
-
- elif [ -n "$OPENWINHOME" ]; then
- ! args="-I$OPENWINHOME/lib/config -DUseInstalled -DXCOMM="/**/#" "$OPENWINHOME/lib/config
-
- else
- *** lib/config/site.def.orig Wed Sep 18 01:26:19 1991
- --- lib/config/site.def Tue Aug 6 00:44:37 1991
- ***************
- *** 0 ****
- --- 1,7 ----
- + #define BinDir $(OPENWINHOME)/bin
- + #define LibDir $(OPENWINHOME)/lib
- + #define IncRoot $(OPENWINHOME)/share/include
- + #define InstallNonExecFile(file,dest) @@\
- + install:: file @@\
- + $(INSTALL) -c $(INSTDATFLAGS) file dest
- + #define NullParameter
- *** lib/config/sun.cf.orig Wed Sep 18 01:26:19 1991
- --- lib/config/sun.cf Fri Dec 13 16:17:58 1991
- ***************
- *** 6,12 ****
- */
- #define SunOSPlatform YES /* set to NO if not running SunOS */
- ! #define OSName SunOS 4.0.3
- #define OSMajorVersion 4
- ! #define OSMinorVersion 0
- #define HasSaberC YES /* for machines that have it */
- #define HasNdbm YES
- --- 6,12 ----
- */
- #define SunOSPlatform YES /* set to NO if not running SunOS */
- ! #define OSName SunOS 4.1.2
- #define OSMajorVersion 4
- ! #define OSMinorVersion 1
- #define HasSaberC YES /* for machines that have it */
- #define HasNdbm YES
-