Cannot install git for solving of bug#422536 ubuntu 9.10

Asked by Tom Taylor

I have the bug #422536
I am using linux ubuntu 9.10

See: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/422536

And the solution is on: https://bugzilla.kernel.org/show_bug.cgi?id=15238

The git solution is:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=cab4d27764d5a8654212b3e96eb0ae793aec5b94

But I cannot install this on my machine as I cannot install git or configure as it continues to say

make: *** No rule to make target `make'.

The first word make and in speak marks will change, I have tried to install it from downloading the latest git and writing the code from the install section but the same problem occurs.

http://git-scm.com/download

The terminal on ubuntu will not accept the commands entered in the 'text' below, I use root for the 'as yourself'

Any help would be appreciated.

Git installation

Normally you can just do "make" followed by "make install", and that
will install the git programs in your own ~/bin/ directory. If you want
to do a global install, you can do

 $ make prefix=/usr all doc info ;# as yourself
 # make prefix=/usr install install-doc install-html install-info ;# as root

(or prefix=/usr/local, of course). Just like any program suite
that uses $prefix, the built results have some paths encoded,
which are derived from $prefix, so "make all; make prefix=/usr
install" would not work.

The beginning of the Makefile documents many variables that affect the way
git is built. You can override them either from the command line, or in a
config.mak file.

Alternatively you can use autoconf generated ./configure script to
set up install paths (via config.mak.autogen), so you can write instead

 $ make configure ;# as yourself
 $ ./configure --prefix=/usr ;# as yourself
 $ make all doc ;# as yourself
 # make install install-doc install-html;# as root

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Michael Wood (mwood) said :
#1

First see if "apt-get install git-core" gets git working for you.

The error:

make: *** No rule to make target `make'.

implies you are typing something like "make make" (or maybe "make make install"?) when you should type "make" and press ENTER and then when that is finished, type "make install".

Revision history for this message
Michael Wood (mwood) said :
#2

First see if "apt-get install git-core" gets git working for you.

The error:

make: *** No rule to make target `make'.

implies you are typing something like "make make" (or maybe "make make install"?) when you should type "make" and press ENTER and then when that is finished, type "make install".

Can you help with this problem?

Provide an answer of your own, or ask Tom Taylor for more information if necessary.

To post a message you must log in.