home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / next / sysadmin / 6356 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  3.2 KB

  1. Path: sparky!uunet!spool.mu.edu!sol.ctr.columbia.edu!emory!swrinde!cs.utexas.edu!asuvax!ncar!noao!arizona!arizona.edu!arizona.edu!news
  2. From: d_mc@mccube.tucson.az.us (Don McCollam)
  3. Newsgroups: comp.sys.next.sysadmin
  4. Subject: Re: bash+3.0 (SUMMARY)
  5. Message-ID: <1992Nov7.224851.3960@arizona.edu>
  6. Date: 8 Nov 92 05:48:50 GMT
  7. Distribution: na,local
  8. Lines: 81
  9. Nntp-Posting-Host: mccube.tucson.az.us
  10.  
  11. Hi, folks.
  12.  
  13. In an earlier post, I said:
  14. >My copy of bash1.12 does not "make" straight out of the box.  Before I  
  15. try  
  16. >to "reason why", I'd like to know if anyone else has successfully  
  17. >installed bash1.12 since installing 3.0.  Please e-mail your response.
  18. >Thanks.
  19.  
  20. Thanks to all who responded.  I now have bash up and running (correctly, I  
  21. hope.)  The most useful response (from Frederick Korz) is the bug report  
  22. partially quoted below:
  23. ---BEGIN QUOTE---
  24.   It took a few minutes of looking at a comparision between building
  25. bash 1.12 on a NeXTSTEP 2.1 system and a 3.0 system.  Once again
  26. bitten by the great NeXT header file reorganization!
  27.   Here is a copy of the report I submitted.  Bash still has some bugs
  28. (e.g. the pwd builtin and occasional hangs) but is pretty good
  29. othewise.
  30.  
  31. BTW: I compiled using 'gcc-2.3.1 -g -O2'.  The NeXT supplied should
  32. work too.
  33.  
  34.   Enjoy
  35.  
  36.  
  37.  Return-Path: <korz>
  38.  Date: Thu, 5 Nov 92 13:52:12 -0500
  39.  From: korz (Frederick Korz)
  40.  To: bash-maintainers@ai.mit.edu
  41.  Cc: korz@bach.cs.columbia.edu
  42.  Subject: configuration bug and fix
  43.  
  44.   *  bash version 1.12.1
  45.  
  46.   *  NeXTcube, 68040, 48MB mem + much disk, running NeXTSTEP 3.0
  47.  
  48.   *  In the 3.0 release of NeXTSTEP, Next reorganized the header files
  49.  somewhat.  The script support/mksysdefs looks for wait.h and
  50.  resource.h, does not find them in the traditional places and concludes
  51.  they do not exist.  The compilation the procedes misconfigured,
  52.  builtins/ulimits.def results in an object that needs ulimit() and the
  53.  compilation fails when linking the final bash executable.
  54.  
  55.   * repeat by unpacking the 1.12 bash distribution and making
  56.  
  57.   * fix - the unelegant one is included below.  I have not seriously
  58.  looked at the GNU autoconf-1.2 package.  Would that be better than a
  59.  shell script that admitted pokes around a bit?
  60.  
  61.  --- support/mksysdefs~  Thu Jan  9 02:45:08 1992
  62.  +++ support/mksysdefs   Thu Nov  5 12:29:02 1992
  63.  @@ -151,7 +151,7 @@
  64.     echo "#endif /* HAVE_UNISTD_H */"            >>$sysdefs
  65.   fi
  66.  
  67.  -if [ -f /usr/include/sys/wait.h ]; then
  68.  +if [ -f /usr/include/sys/wait.h -o -f /usr/include/bsd/sys/wait.h ];  
  69. then
  70.     echo ""                                      >>$sysdefs
  71.     echo "#if !defined (HAVE_WAIT_H)"            >>$sysdefs
  72.     echo "#  define HAVE_WAIT_H"                 >>$sysdefs
  73.  @@ -165,7 +165,7 @@
  74.     echo "#endif /* HAVE_ALLOCA_H */"            >>$sysdefs
  75.   fi
  76.  
  77.  -if [ -f /usr/include/sys/resource.h ]; then
  78.  +if [ -f /usr/include/sys/resource.h -o -f  
  79. /usr/include/bsd/sys/resource.h ]; then
  80.     echo ""                                      >>$sysdefs
  81.     echo "#if !defined (HAVE_RESOURCE)"          >>$sysdefs
  82.     echo "#  define HAVE_RESOURCE"               >>$sysdefs
  83.  
  84. ---END QUOTE---
  85. This worked for me.  "Your mileage may vary."
  86.  
  87. My thanks to Frederick, and all others who responded to my plea for help.
  88.  
  89. Don
  90.  
  91. d_mc@mccube.tucson.az.us
  92.