# Mercurial over Git no success

7 messages from 2011-02-14 to 2011-02-19. Participants: david@davidwbrown.name, knittl, PICCA Frédéric-Emmanuel, Manuel Doninger, Jon Seymour, Gabriel Filion, Kevin P. Fleming.
Thread: https://gitlist.dev/t/26504

## david@davidwbrown.name, 2011-02-14 21:01

Subject: Mercurial over Git no success
Message-ID: <1297717305.19327@davidwbrown.name>
URL: https://gitlist.dev/e/1297717305.19327%40davidwbrown.name

```
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.

```

## PICCA Frédéric-Emmanuel, 2011-02-14 21:24

Subject: RE: Mercurial over Git no success
Message-ID: <606CC410B038E34CB97646A32D0EC0BF03888300@venusbis.synchrotron-soleil.fr>
URL: https://gitlist.dev/e/606CC410B038E34CB97646A32D0EC0BF03888300%40venusbis.synchrotron-soleil.fr
In-Reply-To: <1297717305.19327@davidwbrown.name>

```
apt-get install git-core git-gui gitk

would be a good starting point

See you

Frederic


-----Original Message-----
From: git-owner@vger.kernel.org on behalf of david@davidwbrown.name
Sent: Mon 2/14/2011 10:01 PM
To: git@vger.kernel.org
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.

```

## knittl, 2011-02-14 21:26

Subject: Re: Mercurial over Git no success
Message-ID: <AANLkTimWfC8UqYVNjr0MiE1QE+W0fVhZYi3wfxP1e29t@mail.gmail.com>
URL: https://gitlist.dev/e/AANLkTimWfC8UqYVNjr0MiE1QE%2BW0fVhZYi3wfxP1e29t%40mail.gmail.com
In-Reply-To: <1297717305.19327@davidwbrown.name>

```
On Mon, Feb 14, 2011 at 10:01 PM,  <david@davidwbrown.name> wrote:
> [...]
>
> ./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:

why not simply install the version of git that comes with ubuntu?
`sudo apt-get install git` should do the trick ...

> 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


-- 
typed with http://neo-layout.org
myFtPhp -- visit http://myftphp.sf.net -- v. 0.4.7 released!

```

## Manuel Doninger, 2011-02-14 21:50

Subject: Re: Mercurial over Git no success
Message-ID: <AANLkTinro_sSV52aZATAPFAm1SLRq8i4Q1kA2W+wqqH3@mail.gmail.com>
URL: https://gitlist.dev/e/AANLkTinro_sSV52aZATAPFAm1SLRq8i4Q1kA2W%2BwqqH3%40mail.gmail.com
In-Reply-To: <1297717305.19327@davidwbrown.name>

```
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

On Mon, Feb 14, 2011 at 22:01,  <david@davidwbrown.name> 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 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.
>

```

## Jon Seymour, 2011-02-14 23:19

Subject: Re: Mercurial over Git no success
Message-ID: <AANLkTimi8MU3VYug6orouHS7GmBJ-Pf27_zj_KO0Sj6c@mail.gmail.com>
URL: https://gitlist.dev/e/AANLkTimi8MU3VYug6orouHS7GmBJ-Pf27_zj_KO0Sj6c%40mail.gmail.com
In-Reply-To: <AANLkTinro_sSV52aZATAPFAm1SLRq8i4Q1kA2W+wqqH3@mail.gmail.com>

```
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.

On Tue, Feb 15, 2011 at 8:50 AM, Manuel Doninger
<manuel.doninger@googlemail.com> wrote:
> 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
>
> On Mon, Feb 14, 2011 at 22:01,  <david@davidwbrown.name> 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 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.
>>
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

```

## Gabriel Filion, 2011-02-15 00:50

Subject: Re: Mercurial over Git no success
Message-ID: <4D59CDE2.1060903@gmail.com>
URL: https://gitlist.dev/e/4D59CDE2.1060903%40gmail.com
In-Reply-To: <AANLkTimWfC8UqYVNjr0MiE1QE+W0fVhZYi3wfxP1e29t@mail.gmail.com>

```
On 11-02-14 04:26 PM, knittl wrote:
> On Mon, Feb 14, 2011 at 10:01 PM,  <david@davidwbrown.name> wrote:
>> > [...]
>> >
>> > ./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:
> why not simply install the version of git that comes with ubuntu?
> `sudo apt-get install git` should 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

-- 
Gabriel Filion

```

## Kevin P. Fleming, 2011-02-19 13:06

Subject: Re: Mercurial over Git no success
Message-ID: <4D5FC051.3090505@digium.com>
URL: https://gitlist.dev/e/4D5FC051.3090505%40digium.com
In-Reply-To: <AANLkTimi8MU3VYug6orouHS7GmBJ-Pf27_zj_KO0Sj6c@mail.gmail.com>

```
On 02/14/2011 05:19 PM, Jon Seymour wrote:
>  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.

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kfleming@digium.com
Check us out at www.digium.com & www.asterisk.org

```
