Mercurial over Git no success
Hello Gitters, long ago when first starting the project I'm currently running at my company I looked around for a VCS/SCM that would be anywhere better than: CVS/SVN. At first I looked at Git but could not get a version to run on my Ubuntu box. So, I had to settle for Hg. Now, that I'm several months into the web app dev I'm responsible for the hired help has convinced me to switch to Git. Now, I'm back at the same old problem I had months ago that forced me to give up on using Git. Unlike a lot of Unix/Linux based software the usual:
./configure
make
make install
Does not work for building Git on my local Ubuntu box (10.10 BTW). Some non-innocuous error condition as follows:
cannot find zlib.h
Pls advise. David.
apt-get install git-core git-gui gitk
would be a good starting point
See you
Frederic
-----Original Message-----
From: [email protected] on behalf of [email protected]
Sent: Mon 2/14/2011 10:01 PM
To: [email protected]
Subject: Mercurial over Git no success
Hello Gitters, long ago when first starting the project I'm currently running at my company I looked around for a VCS/SCM that would be anywhere better than: CVS/SVN. At first I looked at Git but could not get a version to run on my Ubuntu box. So, I had to settle for Hg. Now, that I'm several months into the web app dev I'm responsible for the hired help has convinced me to switch to Git. Now, I'm back at the same old problem I had months ago that forced me to give up on using Git. Unlike a lot of Unix/Linux based software the usual:
./configure
make
make install
Does not work for building Git on my local Ubuntu box (10.10 BTW). Some non-innocuous error condition as follows:
cannot find zlib.h
Pls advise. David.
Quoted 7 lines · On Mon, Feb 14, 2011 at 10:01 PM, <[email protected]> wrote:
[...]
./configure
make
make installDoes not work for building Git on my local Ubuntu box (10.10 BTW). Some non-innocuous error condition as follows:
why not simply install the version of git that comes with ubuntu? sudo apt-get install git should do the trick ...
Quoted 1 line
cannot find
zlib.h
there's the problem. the zlib compression libraries are missing on your system. you'd have to install them first: sudo apt-get install zlib1g-dev, but you are probably missing some more libraries necessary to compile git
hope that helps,
daniel
Signature · 2 lines
typed with http://neo-layout.org myFtPhp -- visit http://myftphp.sf.net -- v. 0.4.7 released!
Quoted 11 lines · knittl
Quoted 7 lines · On Mon, Feb 14, 2011 at 10:01 PM, <[email protected]> wrote:
Quoted 7 lines
[...]
./configure
make
make installDoes not work for building Git on my local Ubuntu box (10.10 BTW). Some non-innocuous error condition as follows:
why not simply install the version of git that comes with ubuntu?
sudo apt-get install gitshould do the trick ...
If you'd like to use git's latest release, before it gets included into an Ubuntu release, you can use this PPA:
https://launchpad.net/~git-core/+archive/ppa
Add it with the following command:
sudo add-apt-repository ppa:git-core/ppa
Then, sudo apt-get update; sudo apt-get install git
Signature · 1 line
Gabriel Filion
According to the Install-section in the Pro Git book, you have to install some other libraries. See http://progit.org/book/ch1-4.html
Manuel
Quoted 12 lines · On Mon, Feb 14, 2011 at 22:01, <[email protected]> wrote:
Hello Gitters, long ago when first starting the project I'm currently running at my company I looked around for a VCS/SCM that would be anywhere better than: CVS/SVN. At first I looked at Git but could not get a version to run on my Ubuntu box. So, I had to settle for Hg. Now, that I'm several months into the web app dev I'm responsible for the hired help has convinced me to switch to Git. Now, I'm back at the same old problem I had months ago that forced me to give up on using Git. Unlike a lot of Unix/Linux based software the usual:
./configure
make
make installDoes not work for building Git on my local Ubuntu box (10.10 BTW). Some non-innocuous error condition as follows:
cannot find
zlib.hPls advise. David.
From the INSTALL file:
- Git is reasonably self-sufficient, but does depend on a few external programs and libraries. Git can be used without most of them by adding the approriate "NO_<LIBRARY>=YesPlease" to the make command line or config.mak file.
- "zlib", the compression library. Git won't build without it.
...
Per suggestions already made, on ubuntu apt-cache search and apt-cache get are your friends.
jon.
Quoted 23 lines · Manuel Doninger
According to the Install-section in the Pro Git book, you have to install some other libraries. See http://progit.org/book/ch1-4.html
Manuel
Quoted 6 lines · On Mon, Feb 14, 2011 at 22:01, <[email protected]> wrote:
Hello Gitters, long ago when first starting the project I'm currently running at my company I looked around for a VCS/SCM that would be anywhere better than: CVS/SVN. At first I looked at Git but could not get a version to run on my Ubuntu box. So, I had to settle for Hg. Now, that I'm several months into the web app dev I'm responsible for the hired help has convinced me to switch to Git. Now, I'm back at the same old problem I had months ago that forced me to give up on using Git. Unlike a lot of Unix/Linux based software the usual:
./configure
make
make installQuoted 6 lines
Does not work for building Git on my local Ubuntu box (10.10 BTW). Some non-innocuous error condition as follows:
cannot find
zlib.hPls advise. David.
--
To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 10 lines · Jon Seymour
From the INSTALL file:
- Git is reasonably self-sufficient, but does depend on a few external programs and libraries. Git can be used without most of them by adding the approriate "NO_<LIBRARY>=YesPlease" to the make command line or config.mak file.
- "zlib", the compression library. Git won't build without it.
...
It would be quite appropriate then for git's configure script to *fail* if zlib and zlib headers are not present. The OP would have known what was wrong much earlier (and likely with a more useful error message) if that had happened.
Signature · 5 lines
Kevin P. Fleming Digium, Inc. | Director of Software Technologies 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA skype: kpfleming | jabber: [email protected] Check us out at www.digium.com & www.asterisk.org