home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sgi / 12886 < prev    next >
Encoding:
Internet Message Format  |  1992-08-25  |  2.5 KB

  1. Path: sparky!uunet!munnari.oz.au!goanna!minyos.xx.rmit.oz.au!acas
  2. From: acas@cgl.citri.edu.au (Andrew Cassin)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Interviews 3.0.1 bug?
  5. Summary: hmmm....
  6. Keywords: hmmm...
  7. Message-ID: <acas.714790976@godzilla.cgl.citri.edu.au>
  8. Date: 26 Aug 92 01:02:56 GMT
  9. Sender: usenet@minyos.xx.rmit.oz.au (Njuiz noveles nova newes)
  10. Organization: RMIT Advanced Computer Graphics Centre, CITRI, Melbourne
  11. Lines: 66
  12.  
  13.  
  14. I grabbed 3.0.1.tar.Z from sgi.com:/graphics/interviews and followed the
  15. instructions in the README file, namely:
  16.     setenv CPU `make World`
  17.     make World
  18.  
  19. However, part way through the build, CC complains about an inline function
  20. call when compiling iv/src/lib/IV-2_6/xpainter.c. Making this function
  21. (AllocPts) non-inline fixes the compile errors.
  22.  
  23. Is the a known cfront bug? Or am I configuring InterViews incorrectly? 
  24. (see below)
  25.  
  26. We are using IRIX 4.0.1, IDO and C++ 2.1.1 on a 340VGX. 
  27. Of the configuration files, only the following has been modified and its
  28. contents are given below:
  29.  
  30. --- start of iv/src/config/InterViews/local.def ---
  31.  
  32. /*
  33.  * For now, just assume cfront 2.0.
  34.  * If you are using cfront 2.1, then use -Dcplusplus_2_1.
  35.  */
  36. #undef LanguageCCDefines
  37. #define LanguageCCDefines -Dcplusplus_2_0
  38.  
  39. /*
  40.  * Delete this definition if your /tmp space is less than five megabytes.
  41.  */
  42. #undef HasLargeTmp
  43. #define HasLargeTmp YES
  44.  
  45. /*
  46.  * If you do not want to create a symbolic link called "/interviews"
  47.  * that points at /..../iv/installed, you should replace /interviews
  48.  * below with the name of the symbolic link you do want to use (say,
  49.  * /usr/local/interviews).  If you don't want to create a symbolic
  50.  * link at all, replace /interviews with the absolute pathname of
  51.  * /..../iv/installed so InterViews applications still can find the
  52.  * installed data files.
  53.  */
  54. #undef InstalledRoot
  55. #define InstalledRoot /usr/local/interviews
  56.  
  57. /*
  58.  * If the X11 config files are not in /usr/lib/X11/config, the X11
  59.  * includes are not in /usr/include, or the X11 libraries are not in
  60.  * /lib, /usr/lib, or /usr/local/lib, then you should specify their
  61.  * actual locations here.
  62.  *
  63.  * If you have to set XConfigDir, don't forget to override XCONFIGDIR
  64.  * on the command line when saying "make World" for the first time.
  65.  */
  66. /*
  67. #undef XConfigDir
  68. #define XConfigDir /usr/X11R5/lib/X11/config
  69. #undef XIncDir
  70. #define XIncDir /usr/X11R5/include
  71. #undef XLibDir
  72. #define XLibDir /usr/X11R5/lib
  73. */
  74. --- end of included file ---
  75.  
  76. Andrew Cassin
  77. RMIT Advanced Computer Graphics Centre
  78. email address: acas@godzilla.cgl.citri.edu.au
  79.