home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / windows / openloo / 3227 < prev    next >
Encoding:
Internet Message Format  |  1992-07-25  |  2.9 KB

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