Re: install: gitweb.cgi was not found anywhere
- Date: Thu, 2 May 2019 14:35:11 -0400
- From: Jeffrey Walton <noloader@xxxxxxxxx>
- Subject: Re: install: gitweb.cgi was not found anywhere
On Wed, May 1, 2019 at 6:30 PM Jonathan Nieder <jrnieder@xxxxxxxxx> wrote:
> 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: Entering directory `/export/home/build/git-2.21.0/gitw
> > eb'
> > gmake: Entering directory `/export/home/build/git-2.21.0'
> > gmake: `GIT-VERSION-FILE' is up to date.
> > gmake: 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 i86pc
The config files need to be patched:
# Solaris 11.3 no longer has /usr/ucb/install
for file in $(find "$PWD" -name 'config*')
if [[ ! -f "$file" ]]
sed -e 's|/usr/ucb/install|install|g' "$file" > "$file.fixed"
mv "$file.fixed" "$file"
chmod +x "$file"
touch -t 197001010000 "$file"
But I think I tracked it down to sane tool path. originally I was using:
When I changed it to:
./configure ... \
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
Related to /usr/ucb, also see