Closed simonjwright closed 6 years ago
bootstrap.sh (Sierra, Darwin 16.5.0) gets to the point of installation and fails:
bootstrap.sh
install: illegal option -- D usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 file2 install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 ... fileN directory install -d [-v] [-g group] [-m mode] [-o owner] directory ...
Turns out Darwin install doesn't work like that. I got the job done by replacing
install -Dm0755 $bin_progs -t "$DESTDIR$prefix$bindir"
by
mkdir -p "$DESTDIR$prefix$bindir" install -m0755 $bin_progs "$DESTDIR$prefix$bindir"
man install is singularly unhelpful on this point, but it looks as though install -d is equivalent to mkdir -p.
man install
install -d
mkdir -p
Thanks for your report. We implemented it along the lines you've suggested.
bootstrap.sh
(Sierra, Darwin 16.5.0) gets to the point of installation and fails:Turns out Darwin install doesn't work like that. I got the job done by replacing
by
man install
is singularly unhelpful on this point, but it looks as thoughinstall -d
is equivalent tomkdir -p
.