git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* git not compiling under MSYS2
@ 2022-04-29 18:40 Jack Adrian Zappa
  2022-04-29 20:31 ` Carlo Marcelo Arenas Belón
  2022-07-26 21:59 ` Johannes Schindelin
  0 siblings, 2 replies; 3+ messages in thread
From: Jack Adrian Zappa @ 2022-04-29 18:40 UTC (permalink / raw)
  To: git-mailing-list

Hi all,

I just installed MSYS2, cloned the git repo from
https://github.com/git/git and then tried to build from the "MSYS2
MinGW Clang x64" prompt.  Of course this was a clean MSYS2 install, so
I had to first install for myself vim, git to download the repo and
for the build: make and gcc.  However, after running the make command,
I'm still getting errors:

------------->8------------->8------------->8------------->8------------->8------------->8------------->8-------------
$ make
make: curl-config: No such file or directory
    CC fuzz-commit-graph.o
In file included from git-compat-util.h:219,
                 from commit-graph.h:4,
                 from fuzz-commit-graph.c:1:
compat/win32/dirent.h:13:21: error: ‘MAX_PATH’ undeclared here (not in
a function); did you mean ‘O_PATH’?
   13 |         char d_name[MAX_PATH * 3]; /* file name (* 3 for UTF-8
conversion) */
      |                     ^~~~~~~~
      |                     O_PATH
In file included from commit-graph.h:4,
                 from fuzz-commit-graph.c:1:
git-compat-util.h:329: warning: "basename" redefined
  329 | #define basename gitbasename
      |
In file included from git-compat-util.h:209,
                 from commit-graph.h:4,
                 from fuzz-commit-graph.c:1:
/usr/include/string.h:171: note: this is the location of the previous definition
  171 | # define basename basename
      |
In file included from commit-graph.h:4,
                 from fuzz-commit-graph.c:1:
git-compat-util.h:336:10: fatal error: iconv.h: No such file or directory
  336 | #include <iconv.h>
      |          ^~~~~~~~~
compilation terminated.
make: *** [Makefile:2569: fuzz-commit-graph.o] Error 1
-------------8<-------------8<-------------8<-------------8<-------------8<-------------8<-------------8<-------------

Anyone have any idea why it's not building?

Thanks,


A

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-07-26 21:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-29 18:40 git not compiling under MSYS2 Jack Adrian Zappa
2022-04-29 20:31 ` Carlo Marcelo Arenas Belón
2022-07-26 21:59 ` Johannes Schindelin

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).