git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Building git on Fedora
@ 2005-04-17 23:25 jeff millar
  2005-04-17 23:35 ` Chris Wedgwood
  2005-04-17 23:39 ` David Woodhouse
  0 siblings, 2 replies; 3+ messages in thread
From: jeff millar @ 2005-04-17 23:25 UTC (permalink / raw)
  To: git

Here's a tidbit to enable git to compile on Fedora.  Add the following 
line to /etc/rc.d/rc.local...

    ln -sf /lib/modules/`uname -r`/build/include/linux 
/usr/local/include/linux

This fix creates a symlink, on each boot up, in the local include 
directory that points to the kernel header files. If there's a better 
way to do this, I'm all ears.

jeff

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

* Re: Building git on Fedora
  2005-04-17 23:25 Building git on Fedora jeff millar
@ 2005-04-17 23:35 ` Chris Wedgwood
  2005-04-17 23:39 ` David Woodhouse
  1 sibling, 0 replies; 3+ messages in thread
From: Chris Wedgwood @ 2005-04-17 23:35 UTC (permalink / raw)
  To: jeff millar; +Cc: git

On Sun, Apr 17, 2005 at 07:25:49PM -0400, jeff millar wrote:

> Here's a tidbit to enable git to compile on Fedora.  Add the
> following line to /etc/rc.d/rc.local...
>
>    ln -sf /lib/modules/`uname -r`/build/include/linux /usr/local/include/linux

I can't see why this should be needed.  What breaks without this?

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

* Re: Building git on Fedora
  2005-04-17 23:25 Building git on Fedora jeff millar
  2005-04-17 23:35 ` Chris Wedgwood
@ 2005-04-17 23:39 ` David Woodhouse
  1 sibling, 0 replies; 3+ messages in thread
From: David Woodhouse @ 2005-04-17 23:39 UTC (permalink / raw)
  To: jeff millar; +Cc: git

On Sun, 2005-04-17 at 19:25 -0400, jeff millar wrote:
>     ln -sf /lib/modules/`uname -r`/build/include/linux /usr/local/include/linux
> 
> This fix creates a symlink, on each boot up, in the local include 
> directory that points to the kernel header files. If there's a better 
> way to do this, I'm all ears.

What's wrong with the contents of the glibc-kernheaders package? Can you
file specific bugs if you're having problems?

In the long run, the answer is to convince Linus that we _really_ need
the kernel to have a set of header files defining the ABI which are fit
for public consumption, rather than having a horrid mix of private and
exportable bits throughout the contents of the include/ directory. 

In the meantime, some poor mug has to clean the crap up and try to make
something suitable to live in /usr/include/linux -- and unfortunately at
the moment for Fedora that someone is me :)

Unless git is doing something with kernel-private headers that it
shouldn't, this probably wants to be discussed elsewhere -- most likely
in Bugzilla.

-- 
dwmw2


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

end of thread, other threads:[~2005-04-17 23:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-17 23:25 Building git on Fedora jeff millar
2005-04-17 23:35 ` Chris Wedgwood
2005-04-17 23:39 ` David Woodhouse

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 NNTP newsgroup(s).