git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Mercurial over Git no success
@ 2011-02-14 21:01 david
  2011-02-14 21:24 ` PICCA Frédéric-Emmanuel
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: david @ 2011-02-14 21:01 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 727 bytes --]

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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: Mercurial over Git no success
  2011-02-14 21:01 Mercurial over Git no success david
@ 2011-02-14 21:24 ` PICCA Frédéric-Emmanuel
  2011-02-14 21:26 ` knittl
  2011-02-14 21:50 ` Manuel Doninger
  2 siblings, 0 replies; 7+ messages in thread
From: PICCA Frédéric-Emmanuel @ 2011-02-14 21:24 UTC (permalink / raw)
  To: david, git

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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Mercurial over Git no success
  2011-02-14 21:01 Mercurial over Git no success david
  2011-02-14 21:24 ` PICCA Frédéric-Emmanuel
@ 2011-02-14 21:26 ` knittl
  2011-02-15  0:50   ` Gabriel Filion
  2011-02-14 21:50 ` Manuel Doninger
  2 siblings, 1 reply; 7+ messages in thread
From: knittl @ 2011-02-14 21:26 UTC (permalink / raw)
  To: david; +Cc: git

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!

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Mercurial over Git no success
  2011-02-14 21:01 Mercurial over Git no success david
  2011-02-14 21:24 ` PICCA Frédéric-Emmanuel
  2011-02-14 21:26 ` knittl
@ 2011-02-14 21:50 ` Manuel Doninger
  2011-02-14 23:19   ` Jon Seymour
  2 siblings, 1 reply; 7+ messages in thread
From: Manuel Doninger @ 2011-02-14 21:50 UTC (permalink / raw)
  To: david; +Cc: git

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Mercurial over Git no success
  2011-02-14 21:50 ` Manuel Doninger
@ 2011-02-14 23:19   ` Jon Seymour
  2011-02-19 13:06     ` Kevin P. Fleming
  0 siblings, 1 reply; 7+ messages in thread
From: Jon Seymour @ 2011-02-14 23:19 UTC (permalink / raw)
  To: david; +Cc: git, Manuel Doninger

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
>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Mercurial over Git no success
  2011-02-14 21:26 ` knittl
@ 2011-02-15  0:50   ` Gabriel Filion
  0 siblings, 0 replies; 7+ messages in thread
From: Gabriel Filion @ 2011-02-15  0:50 UTC (permalink / raw)
  To: knittl; +Cc: david, git

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Mercurial over Git no success
  2011-02-14 23:19   ` Jon Seymour
@ 2011-02-19 13:06     ` Kevin P. Fleming
  0 siblings, 0 replies; 7+ messages in thread
From: Kevin P. Fleming @ 2011-02-19 13:06 UTC (permalink / raw)
  To: Jon Seymour; +Cc: david, git, Manuel Doninger

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-02-19 13:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-14 21:01 Mercurial over Git no success david
2011-02-14 21:24 ` PICCA Frédéric-Emmanuel
2011-02-14 21:26 ` knittl
2011-02-15  0:50   ` Gabriel Filion
2011-02-14 21:50 ` Manuel Doninger
2011-02-14 23:19   ` Jon Seymour
2011-02-19 13:06     ` Kevin P. Fleming

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).