From: steve@eowyn.gte.com (Steve Preston) Subject: Compiling bash, problems. Date: 14 Feb 1993 00:37:53 GMT
I just put linux on my machine, using the SLS release. I wanted to
compile bash, with a patch of my own that I use on other machines.
According to the FAQ of 15 January 1993, in part3:
QUESTION: What kind of shell is /bin/sh ?
ANSWER: It's the Bourne Again Shell, bash-1.12.3 and
compilation was straightforward, just "make"
that's all or nearly.
Well, I tried just "make", and it didn't work. The bash-Makefile that
gets created makes the #defines -DUSG and -DUSGr3. Is this
appropriate for Linux?
Anyway, these defines cause general.c to define the index() and
rindex() functions, with argument types that conflict with the
declarations in /usr/include/string.h.
Anybody know what the deal is?