Article View: gnu.utils.bug
Article #687GNU shellutils 1.7 installation report
From: Francois Pinard
Date: Sat, 29 Aug 1992 16:37
Date: Sat, 29 Aug 1992 16:37
63 lines
2300 bytes
2300 bytes
This is an installation report for GNU shellutils 1.7, using GNU C
1.40 under COFF-encapsulation, on a 386/ix 2.0.2 system (waiting for
Hurd :-).
* Compilation yields:
making all in lib
strftime.c:78: sys/time.h: No such file or directory
The problem resides in the fact that, in configure, we read:
if test -n "$no_tm_zone"; then
echo checking for tzname
echo "#include <time.h>
#ifndef tzname /* For SGI. */
extern char **tzname;
#endif
main() { exit(0); } t() { atoi(*tzname); }" > conftest.c
if eval $compile; then
DEFS="$DEFS -DHAVE_TZNAME=1"
fi
rm -f conftest*
In <time.h> on this machine, we read:
extern char *tzname[];
which conflicts with the declaration of tzname included in the test.
This causes the test to fail, so HAVE_TZNAME will not be defined as it
should. So, I removed the include declaration for installing on this
386/ix 2.0.2 system, but this would break installation on SGI's. The
proper correction is not obvious to me.
* Passing by, modifying `configure' does not bring Makefile's to be
automatically redone. I think they should.
* `su' is missing at two places in src/Makefile.in:
--- 1.1 1992/08/29 13:14:20
+++ ./src/Makefile.in 1992/08/29 13:15:54
@@ -52,7 +52,7 @@
etags $(SOURCES)
clean:
- rm -f $(PROGS) *.o core
+ rm -f $(PROGS) su *.o core
.PHONY: clean
mostlyclean: clean
@@ -70,7 +70,7 @@
ln $(DISTFILES) ../`cat ../.fname`/src
.PHONY: dist
-$(PROGS): ../lib/libshu.a version.o
+$(PROGS) su: ../lib/libshu.a version.o
basename: basename.o
$(CC) $(LDFLAGS) -o $@ basename.o ../lib/libshu.a version.o $(LIBS)
--
Franc,ois Pinard ``Vivement GNU!'' pinard@iro.umontreal.ca
(514) 588-4656 ...!uunet!iros1!pinard
Consider joining the League for Programming Freedom. Email for details!
Technical Details
Message-ID:
<9208291637.AA02796@icule.UUCP>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!icule.UUCP!pinardShow Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!icule.UUCP!pinard From: pinard@icule.UUCP (Francois Pinard) Subject: GNU shellutils 1.7 installation report Message-ID: <9208291637.AA02796@icule.UUCP> Sender: gnulists@ai.mit.edu Reply-To: pinard@iro.umontreal.ca Organization: Gnus Not Usenet Distribution: gnu Date: Sat, 29 Aug 1992 16:37:34 GMT Approved: bug-gnu-utils@prep.ai.mit.edu Lines: 64