小编hen*_*nfj的帖子

如何获取expat.h进行git的编译?

我需要git在slackware 14上安装(v 2.0)。

$ make install prefix=/usr/local
Run Code Online (Sandbox Code Playgroud)

在源根目录中运行:

LINK git-http-fetch
CC http-push.o
  http-push.c:17:19: fatal error: expat.h: No such file or directory
  #include <expat.h>
                  ^
  compilation terminated.
  make: *** [http-push.o] Error 1
Run Code Online (Sandbox Code Playgroud)

进行编译缺少什么?

git dependencies compilation slackware build-dependencies

3
推荐指数
2
解决办法
5015
查看次数