On Thu, 19 Dec 2013 19:00:28 -0800 (PST)
David MA <davidmad...@gmail.com> wrote:
> I'm working in a company with private apt thus I can only install git
> v1.5 using apt-get, and I find I cannot use https to clone git
> repository, while the reason I think is my low version git.
 points to a repo with 1.8.2 packaged.
> I downloaded the v1.8.5 (the lastest one in
> http://code.google.com/p/git-core/downloads/list) then I tried to
> compile it using "sudo make prefix=/usr/local all".
> firstly, I got lots of errors and in fact those errors mean one
> thing that I don't have curl.h there, secondly, I googled here
> it really a good solution that I decide to download curl dev rpm, but
> it's proved a nightmare, when I want to install curl (libcurl) it
> showed it dependend so many other libs!
> Must I dowanload each of libs and make them then install libcurl,
> then git 1.8.5?
Well, the problem is that if you're about to build *any* program from
its source code you're expected to have the developer's toolchain and
the development packages (libs and header files) of all the software
used by whatever piece of software you're about to build.
So the sutuation you're observing is normal.
The way I deal with situations like this (and, I presume, everyone else
does this too) is to set a virtual machine running the same version of
OS your server does then install all the development stuff there, build
the package(s) and then transfer them to the production system and
install (or you might even set up an internal package repository on
your LAN and make the production system use it).
This way your production system is not contaminated with irrelevant
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/groups/opt_out.