我正在尝试通过tarball安装Git,但遇到了一些丢失的文件错误。我该如何解决?
/bin/sh: 1: curl-config: not found
GIT_VERSION = 1.7.10.1
/bin/sh: 1: curl-config: not found
* new build flags or prefix
CC daemon.o
In file included from cache.h:4:0,
from daemon.c:1:
git-compat-util.h:168:25: fatal error: openssl/ssl.h: No such file or directory
compilation terminated.
Makefile:2132: recipe for target 'daemon.o' failed
make: *** [daemon.o] Error 1
nathan@tibbitts-family:~/src/git-git-9dfad1a$ make install
/bin/sh: 1: curl-config: not found
CC daemon.o
In file included from cache.h:4:0,
from daemon.c:1:
git-compat-util.h:168:25: fatal error: openssl/ssl.h: No such file or directory
compilation terminated.
Makefile:2132: recipe for target 'daemon.o' failed
make: *** [daemon.o] Error 1
答案 0 :(得分:0)
要从源代码进行编译,您需要多个external dependencies。在您的情况下,您需要zone "domain.com" { type master; file "/etc/bind/zones/domain.com";};
和libcurl
的开发文件。像openssl
,libcurl-dev
,libcurl-openssl-dev
之类的东西。