home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / gnu / utils / bug / 1444 < prev    next >
Encoding:
Text File  |  1992-08-30  |  2.2 KB  |  78 lines

  1. Newsgroups: gnu.utils.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!icule.UUCP!pinard
  3. From: pinard@icule.UUCP (Francois Pinard)
  4. Subject: GNU shellutils 1.7 installation report
  5. Message-ID: <9208291637.AA02796@icule.UUCP>
  6. Sender: gnulists@ai.mit.edu
  7. Reply-To: pinard@iro.umontreal.ca
  8. Organization: Gnus Not Usenet
  9. Distribution: gnu
  10. Date: Sat, 29 Aug 1992 16:37:34 GMT
  11. Approved: bug-gnu-utils@prep.ai.mit.edu
  12. Lines: 64
  13.  
  14. This is an installation report for GNU shellutils 1.7, using GNU C
  15. 1.40 under COFF-encapsulation, on a 386/ix 2.0.2 system (waiting for
  16. Hurd :-).
  17.  
  18. * Compilation yields:
  19.  
  20.     making all in lib
  21.     strftime.c:78: sys/time.h: No such file or directory
  22.  
  23. The problem resides in the fact that, in configure, we read:
  24.  
  25.     if test -n "$no_tm_zone"; then
  26.     echo checking for tzname
  27.     echo "#include <time.h>
  28.     #ifndef tzname /* For SGI.  */
  29.     extern char **tzname;
  30.     #endif
  31.     main() { exit(0); } t() { atoi(*tzname); }" > conftest.c
  32.     if eval $compile; then
  33.       DEFS="$DEFS -DHAVE_TZNAME=1"
  34.     fi
  35.     rm -f conftest*
  36.  
  37. In <time.h> on this machine, we read:
  38.  
  39.     extern char *tzname[];
  40.  
  41. which conflicts with the declaration of tzname included in the test.
  42. This causes the test to fail, so HAVE_TZNAME will not be defined as it
  43. should.  So, I removed the include declaration for installing on this
  44. 386/ix 2.0.2 system, but this would break installation on SGI's.  The
  45. proper correction is not obvious to me.
  46.  
  47. * Passing by, modifying `configure' does not bring Makefile's to be
  48. automatically redone.  I think they should.
  49.  
  50. * `su' is missing at two places in src/Makefile.in:
  51.  
  52. --- 1.1    1992/08/29 13:14:20
  53. +++ ./src/Makefile.in    1992/08/29 13:15:54
  54. @@ -52,7 +52,7 @@
  55.     etags $(SOURCES)
  56.  
  57.  clean:
  58. -    rm -f $(PROGS) *.o core
  59. +    rm -f $(PROGS) su *.o core
  60.  .PHONY: clean
  61.  
  62.  mostlyclean: clean
  63. @@ -70,7 +70,7 @@
  64.     ln $(DISTFILES) ../`cat ../.fname`/src
  65.  .PHONY: dist
  66.  
  67. -$(PROGS): ../lib/libshu.a version.o
  68. +$(PROGS) su: ../lib/libshu.a version.o
  69.  
  70.  basename: basename.o
  71.     $(CC) $(LDFLAGS) -o $@ basename.o ../lib/libshu.a version.o $(LIBS)
  72.  
  73. -- 
  74. Franc,ois Pinard        ``Vivement GNU!''        pinard@iro.umontreal.ca
  75. (514) 588-4656                                    ...!uunet!iros1!pinard
  76. Consider joining the League for Programming Freedom.  Email for details!
  77.  
  78.