home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / gnu / bash / bug / 593 next >
Encoding:
Text File  |  1992-09-07  |  2.2 KB  |  61 lines

  1. Newsgroups: gnu.bash.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!hal.com!brennan
  3. From: brennan@hal.com (Dave Brennan)
  4. Subject: Re: BASH Under Solaris 2.0 ???
  5. Message-ID: <BRENNAN.92Sep5040044@yosemite.hal.com>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: HaL Computer Systems, Austin, TX
  8. References: <9208292309.AA17030@yahoo.cirrus.com>
  9. Distribution: gnu
  10. Date: Sat, 5 Sep 1992 10:00:44 GMT
  11. Approved: bug-bash@prep.ai.mit.edu
  12. Lines: 47
  13.  
  14. I just took a quick pass at building 1.12 under SunOS 5.0 (ie: USG V.4).
  15. Since I don't have a lot of time to mess with this I operated in quick
  16. port/hack mode.
  17.  
  18. Because I'm not sure what cc or cpp defines I replaced the old sparc
  19. definitions in machines.h with:
  20.  
  21. #  define M_OS USG
  22. #  define SunOS4_SYSDEP_CFLAGS -DUSGr4
  23. #    define HAVE_SYS_SIGLIST
  24. #    define HAVE_VFPRINTF
  25. #    define VOID_SIGHANDLER
  26. #    define HAVE_ALLOCA
  27. #    define HAVE_STRERROR
  28. #    define HAVE_GETGROUPS
  29.  
  30. Here's the problems I encountered:
  31.  
  32. * For some reason the PPROPMT and SPROMPT macros defined on the "cc" line
  33.   got substituted without the closing quote.  For now I just hacked up the
  34.   "cc -E" output so that it would compile.  I don't know why, but somewhere
  35.   the quote was getting eaten.  I'd like to know why, but don't have time
  36.   to chase it down.
  37.  
  38. * All instances of the "ar" command in the library Makefiles use the 
  39.   depreciated 'l' flag which isn't supported anymore.
  40.  
  41. * readline.c didn't compile at first because /usr/include/sys/reg.h defines
  42.   "PC" as "(1)" and PC is used as a variable.  I just threw #ifdef PC / 
  43.   #undef PC in readline.c to fix it.
  44.  
  45. * Trying to link -Bstatic caused cc to look for libaio.a, which was missing.
  46.   Removing -Bstatic fixed this.
  47.  
  48. * globbing is messed up and always seems to chop the first 2 characters off
  49.   file names.  Unfortunately this makes bash highly unusable.
  50.  
  51. If anyone else has had any luck or has time to track this last problem down
  52. you'd be doing everyone a favor.  Please send me mail or post if you
  53. need or have more info.
  54.  
  55. --
  56. Dave Brennan                                      HaL Computer Systems
  57. brennan@hal.com                                         (512) 794-2855
  58.  
  59. Visit the Emacs Lisp Archive: archive.cis.ohio-state.edu:pub/gnu/emacs
  60.  
  61.