git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Add more instructions about how to install git.

From
MMMikael Magnusson <mikachu@gmail.com>
Date
Sep 8, 2009, 14:56 UTC
Message-ID
<237967ef0909080756g579f5359te7da19fded27596f@mail.gmail.com>
In-Reply-To
<a4c8a6d00909080752p5b663fc8r8bf1c60023ef39b4@mail.gmail.com>
2009/9/8 Thiago Farina <tfransosi@gmail.com>:
Show 24 quoted lines
> On Tue, Sep 8, 2009 at 10:38 AM, Johannes Sixt<j.sixt@viscovery.net> wrote:
>> Thiago Farina schrieb:
>>> I tried to being more explicit about what the new users has to do. The
>>> first instruction that the text says is: "Normaly you can just do
>>> "make"".
>>> But the new user, cloning git won't have a configure file, so he can't
>>> just do "make".
>>>
>>> And then, the text says: "so you can write instead". This brings me to
>>> one alternative (not what I really should do), when in fact it should
>>> be (I guess) the first instructions that new users need to follow.
>>
>> Then guessed wrong. You really only have to say "make". The use of
>> autoconf and ./configure is purely optional and not necessary.
> I don't think so.
> Running only "make".
> $ make
> GIT_VERSION = 1.6.5.rc0
>    * new build flags or prefix
>    CC fast-import.o
> In file included from builtin.h:4,
>                 from fast-import.c:143:
> git-compat-util.h:129:25: error: openssl/ssl.h: No such file or directory
> git-compat-util.h:130:25: error: openssl/err.h: No such file or directory
[snip]

You need to edit the Makefile if your system needs tweaks, there are tons of comments.

Show 10 quoted lines
> Running configure and then make
> $ make configure
> GIT_VERSION = 1.6.5.rc0.dirty
>    GEN configure
> $ make
>    CC fast-import.o
> In file included from builtin.h:4,
>                 from fast-import.c:143:
> git-compat-util.h:129:25: error: openssl/ssl.h: No such file or directory
> git-compat-util.h:130:25: error: openssl/err.h: No such file or directory
You forgot to run configure.
Show 7 quoted lines
> Now autconf, ./configure, make.
> $ autoconf
> $ ./configure
> configure: Setting lib to 'lib' (the default)
> configure: Will try -pthread then -lpthread to enable POSIX Threads.
> configure: CHECKS for site configuration
> configure: CHECKS for programs
[...]
Show 7 quoted lines
> checking for mkstemps... no
> checking Checking for POSIX Threads with '-pthread'... yes
> configure: creating ./config.status
> config.status: error: cannot find input file: config.mak.in
> $ make
>
> Now it compiles everything.
-- 
Mikael Magnusson
Previous: Thiago FarinaNext: Brian Gernhardt
Message 9 of 11 in “Add more instructions about how to install git.”
  1. Add more instructions about how to install git.Thiago Farina, Sep 8, 2009
  2. Alex RiesenSep 8, 2009
  3. Matthieu MoySep 8, 2009
  4. Michael J GruberSep 8, 2009
  5. Thiago FarinaSep 8, 2009
  6. Erik Faye-LundSep 8, 2009
  7. Johannes SixtSep 8, 2009
  8. Thiago FarinaSep 8, 2009
  9. Mikael MagnussonSep 8, 2009
  10. Brian GernhardtSep 8, 2009
  11. Matthieu MoySep 8, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.