Re: install: gitweb.cgi was not found anywhere
- From
- Jeffrey Walton <noloader@gmail.com>
- Date
- May 2, 2019, 18:35 UTC
- Message-ID
- <CAH8yC8=AB1E=U7vCTkOLELQ9z1vW2up_WCYziW25Uqe0jXZBaA@mail.gmail.com>
- In-Reply-To
- <20190501223005.GB42435@google.com>
On Wed, May 1, 2019 at 6:30 PM Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 25 quoted lines
> > Jeffrey Walton wrote: > > > I'm attempting to install Git 2.21.0 on Solaris 11.3 x86_64. > > /usr/gnu/bin is on-path. > [...] > > gmake -C gitweb install > > gmake[1]: Entering directory `/export/home/build/git-2.21.0/gitw > > eb' > > gmake[2]: Entering directory `/export/home/build/git-2.21.0' > > gmake[2]: `GIT-VERSION-FILE' is up to date. > > gmake[2]: Leaving directory `/export/home/build/git-2.21.0' > > GEN gitweb.cgi > > GEN static/gitweb.js > > install -d -m 755 '/usr/local/share/gitweb' > > directory /usr/local/share/gitweb created > > install -m 755 gitweb.cgi '/usr/local/share/gitweb' > > find: cycle detected for /lib/secure/32/ > [...] > > install: gitweb.cgi was not found anywhere! > > Sounds like it's using "install" when it should be using "ginstall". > config.mak.uname contains, under the SunOS category: > > INSTALL = /usr/ucb/install
Thanks again Jonathan.
/usr/ucb/install no longer exists in Solaris 11.3 i86pc:
solaris3:~$ ls -Al /usr/ucb/install
/usr/ucb/install: No such file or directory
solaris3:~$ uname -a
SunOS solaris3. 5.11 11.3 i86pc i386 i86pcThe config files need to be patched:
# Solaris 11.3 no longer has /usr/ucb/install
for file in $(find "$PWD" -name 'config*')
do
if [[ ! -f "$file" ]]
then
continue
fi sed -e 's|/usr/ucb/install|install|g' "$file" > "$file.fixed"
mv "$file.fixed" "$file"
chmod +x "$file"
touch -t 197001010000 "$file"
doneBut I think I tracked it down to sane tool path. originally I was using:
SANE_TOOL_PATH="..." \
./configure ...When I changed it to:
./configure ... \
--sane-tool-path="..."most of the errors went away.
I also removed a bunch of old patches and hacks that don't seem to be needed for Git 2.21.0. Between both of them I am building Git on Solaris again.
Related to /usr/ucb, also see https://blogs.oracle.com/solaris/preparing-for-the-upcoming-removal-of-ucb-utilities-from-the-next-version-of-solaris-v2 .
Thanks again.
Jeff