Re: [PATCH] Add more instructions about how to install git.
- From
- Mikael 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