Thread View: gnu.utils.bug
1 messages
1 total messages
Started by Bennett Todd
Tue, 19 Dec 1989 15:29
Minor glitch in Makefile
Author: Bennett Todd
Date: Tue, 19 Dec 1989 15:29
Date: Tue, 19 Dec 1989 15:29
44 lines
1849 bytes
1849 bytes
The Makefile from this tar off of prep:
-rw-r--r-- 1 14910 250959 Nov 6 18:08 binutils.tar.Z
has a buggy make install section. There should either be a comment
pointing out you need to go "make ... bindir=/usr/local/bin" or there
should be a define for bindir in the Makefile. In the make install
section:
install: $(PROGS)
for file in $(PROGS); do \
cp $$file $(bindir)/$${file}.new \
mv $(bindir)/$${file}.new $(bindir)/$file \
done
We need to add another "$" to the last variable substitution in the "mv"
line, like so:
mv $(bindir)/$${file}.new $(bindir)/$$file \
And finally, when I tried it, I got an error:
Script started on Tue Dec 19 10:27:38 1989
george[1] make install bindir=/usr/local/bin
for file in gprof ld size nm strip ar ranlib; do \
cp $file /usr/local/bin/${file}.new \
mv /usr/local/bin/${file}.new /usr/local/bin/$file \
done
/bin/sh: syntax error at line 1: `end of file' unexpected
make: *** [install] Error 2
george[2]
script done on Tue Dec 19 10:27:49 1989
I dunno what's wrong. The make in question is GNU Make 3.57, built with
gcc 1.36. System is Sun 3/280 running SunOS 3.5.
Also, I don't know if this has already been reported; I was subscribed
to bug-gnu-utils for a while, but after a short flurry of messages I
seem to have been dropped from the list.
If anyone wanted to be so kind as to add me back on, I'd appreciate it.
-Bennett
bet@orion.mc.duke.edu
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads