From: Jonathan Abrams <jonathansabrams@outlook.com>
To: Eric Sunshine <sunshine@sunshineco.com>
Cc: "git@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: Unable to install git-2.43.0 from source on macOS Big Sur 11.7.10
Date: Thu, 21 Dec 2023 19:40:23 +0000 [thread overview]
Message-ID: <IA1PR12MB6044112A08508ED982F743E2B895A@IA1PR12MB6044.namprd12.prod.outlook.com> (raw)
In-Reply-To: <CAPig+cQgTNq8rKiXm_dDha+Rz-=Z9O4_gvWLWdcPJe1yp=hQ8Q@mail.gmail.com>
After deactivating the conda environment, I get a different error. The commands I entered are:
conda deactivate
make configure
./configure --prefix=/usr
make V=1 all doc
This ends with the following error.
/usr/bin/perl ./build-docdep.perl >doc.dep
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ../ GIT-VERSION-FILE
make[2]: `GIT-VERSION-FILE' is up to date.
fatal: not a git repository (or any of the parent directories): .git
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ../ GIT-VERSION-FILE
make[2]: `GIT-VERSION-FILE' is up to date.
* new asciidoc flags
asciidoc -f asciidoc.conf -amanmanual='Git Manual' -amansource='Git 2.43.0' -arevdate='' -b xhtml11 -d manpage -o git-add.html git-add.txt
make[1]: asciidoc: No such file or directory
make[1]: *** [git-add.html] Error 1
make: *** [doc] Error 2
Your suggestion to run the following commands results in a different error. The suggested commands were:
cd git-2.43.0
conda deactivate
make distclean
make all
This ends with the following error.
GIT_VERSION = 2.43.0
* new build flags
CC oss-fuzz/fuzz-commit-graph.o
CC oss-fuzz/fuzz-pack-headers.o
CC oss-fuzz/fuzz-pack-idx.o
CC daemon.o
* new link flags
CC common-main.o
In file included from common-main.c:3:
./gettext.h:17:11: fatal error: 'libintl.h' file not found
# include <libintl.h>
^~~~~~~~~~~
1 error generated.
make: *** [common-main.o] Error 1
Looking around line 17 in ./gettext.h, I see this.
#ifndef NO_GETTEXT
# include <libintl.h>
Executing gettext --version returned nothing. I then downloaded gettext and installed it using the following commands.
./configure
make
make check
sudo make install
I then executed your suggested commands again.
conda deactivate
make distclean
make all
sudo make install
This installed GIT. Thank you for your guidance!
Jonathan S. Abrams
prev parent reply other threads:[~2023-12-21 19:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-17 22:54 Unable to install git-2.43.0 from source on macOS Big Sur 11.7.10 Jonathan Abrams
2023-12-18 1:02 ` Eric Sunshine
[not found] ` <IA1PR12MB60445F50DD0F844B2B779BA8B890A@IA1PR12MB6044.namprd12.prod.outlook.com>
2023-12-19 7:55 ` Eric Sunshine
2023-12-21 19:40 ` Jonathan Abrams [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=IA1PR12MB6044112A08508ED982F743E2B895A@IA1PR12MB6044.namprd12.prod.outlook.com \
--to=jonathansabrams@outlook.com \
--cc=git@vger.kernel.org \
--cc=sunshine@sunshineco.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).