home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / windows / x / 15150 < prev    next >
Encoding:
Internet Message Format  |  1992-08-12  |  2.2 KB

  1. Xref: sparky comp.windows.x:15150 comp.windows.open-look:3430
  2. Path: sparky!uunet!caen!uakari.primate.wisc.edu!bin
  3. From: bin@primate.wisc.edu (Brain in Neutral)
  4. Newsgroups: comp.windows.x,comp.windows.open-look
  5. Subject: Re: Looking for Imake expert who also knows OpenWindows
  6. Message-ID: <6556@uakari.primate.wisc.edu>
  7. Date: 12 Aug 92 16:05:55 GMT
  8. References: <1992Aug12.084601.23431@fulcrum.oz.au>
  9. Sender: bin@primate.wisc.edu
  10. Reply-To: bin@primate.wisc.edu
  11. Lines: 53
  12.  
  13. re: patching OW config files 'n' such so they actually work, there's
  14. a patch to xmkmf that's supposed to help (excerpt below).  I have a
  15. question about it at the end.
  16. -----------------------------
  17. | Being an internet squirrel :-), I have it right here. Thanks go to Greg, of
  18. | course, for writing it.
  19.  
  20. | -PaulR.
  21.  
  22. | Message follows:
  23.  
  24. | Assuming you want to maintain an OpenWindows environment (i.e., if you run
  25. | "xmkmf" and then "make" and then "make install", you expect the final product
  26. | to get installed in $OPENWINHOME/bin et al.), here's a solution that should
  27. | also work for sources that expect X11 R5 (i.e., they have R5-ish Imakefiles).
  28. | Just cd to $OPENWINHOME and apply these simple patches:
  29. | --snip-snip---------------------------------------------------------------------
  30. | *** bin/xmkmf.orig    Wed Sep 18 07:02:02 1991
  31. | --- bin/xmkmf    Tue Aug  6 00:39:20 1991
  32. | ***************
  33. | *** 30,34 ****
  34. |   
  35. |   elif [ -n "$OPENWINHOME" ]; then
  36. | !     args="-DUseInstalled "$OPENWINHOME/lib/config
  37. |   
  38. |   else
  39. | --- 30,34 ----
  40. |   
  41. |   elif [ -n "$OPENWINHOME" ]; then
  42. | !     args="-I$OPENWINHOME/lib/config -DUseInstalled -DXCOMM="/**/#" "$OPENWINHOME/lib/config
  43.  
  44. --------------------
  45.  
  46. My question: just what exactly is that last argument in "args" supposed
  47. to do?  Stock X11R4/X11R5 xmkmf.cpp sets args to
  48.  
  49.     "-DUseInstalled "CONFIGDIRSPEC
  50.  
  51. which turns into
  52.  
  53.     "-DUseInstalled "-I/usr/lib/X11/config
  54.  
  55. if you use the default configuration file install directory.
  56.  
  57. It looks to me like the OW xmkmf (both the original and the patched
  58. versions) are broken - i.e., like someone changed the /usr/lib/X11/config
  59. to $OPENWINHOME/lib/config, but ALSO took out the -I.  That could be kind
  60. of important for telling imake where to look for config files...
  61.  
  62. Paul DuBois
  63. dubois@primate.wisc.edu
  64.