Installing Git blogda talimatlara dayalı Unix ve Linux makinelerde budala yüklemeye çalışmak için montajı sırasında ve aşağıda hata"openssl/ssl.h: Böyle bir dosya ya da dizin" Git
make prefix=/usr/local all
GIT_VERSION = 1.8.3.4
* new build flags
CC credential-store.o
In file included from cache.h:4,
from credential-store.c:1:
git-compat-util.h:221:25: warning: openssl/ssl.h: No such file or directory
git-compat-util.h:222:25: warning: openssl/err.h: No such file or directory
In file included from credential-store.c:1:
cache.h:11:21: warning: openssl/sha.h: No such file or directory
cache.h:19:18: warning: zlib.h: No such file or directory
In file included from credential-store.c:1:
cache.h:21: syntax error before "z_stream"
cache.h:21: warning: no semicolon at end of struct or union
cache.h:28: syntax error before '}' token
cache.h:28: warning: type defaults to `int' in declaration of `git_zstream'
cache.h:28: warning: data definition has no type or storage class
cache.h:30: syntax error before '*' token
cache.h:31: syntax error before '*' token
cache.h:32: syntax error before '*' token
cache.h:33: syntax error before '*' token
cache.h:35: syntax error before '*' token
cache.h:36: syntax error before '*' token
cache.h:37: syntax error before '*' token
cache.h:38: syntax error before '*' token
cache.h:39: syntax error before '*' token
cache.h:40: syntax error before '*' token
cache.h:41: syntax error before '*' token
cache.h:42: syntax error before '*' token
cache.h:769: syntax error before '*' token
make: *** [credential-store.o] Error 1
ile başarısız oluyor
Bunun, openssl için eksik olan kitaplıklar nedeniyle olduğunu biliyorum, ancak bu kitaplıkları alamıyorum.
Ben önerildiği gibi aşağıdaki komutları çalıştırmak için makinelerde apt-get/yum yok: Ben bu makinelerde bu kütüphaneleri olsun ne yapıyoruz
$ yum install curl-devel expat-devel gettext-devel \
openssl-devel zlib-devel
$ apt-get install libcurl4-gnutls-dev libexpat1-dev gettext \
libz-dev libssl-dev
. Bu makinelerde internet erişimi yok, gerekirse bir scp yapabilirim. Baska öneri.
sorular [SU] için daha uygun olan yüklerim. Ayrıca, işletim sisteminiz, paket yönetiminiz vb. Ile ilgili ayrıntıları da vermelisiniz ... – CharlesB
Bize işletim sisteminizi anlatabilirseniz, sizi Git, paket yönetilen veya hiç yapmayan bir kurallı indirme konumuna yönlendirebiliriz. Popüler platformlardaki popüler paketler için, pratik olarak hiçbir şeyi kendiniz derlemenize gerek kalmaz (örneğin, yerel yönetimin paket yönetim mimarisinin bir parçası olduğu durumlarda, örneğin Gentoo'dan muaf tutmanız gerekir). Apt-get komutunu çalıştırdığımda – tripleee