You are not logged in.

#1 2009-07-05 10:50:49

Daemonjax
Member
Registered: 2009-07-02
Posts: 48

How do I use git to download an older version of source?

I'm trying to get my mach64 video card working in Xorg with DRI, but I suspect there's something wrong with the newer versions of libdrm.

I want to try installing libdrm version 2.4.1

However, when I download the source via http from http://cgit.freedesktop.org/mesa/drm/?h … post-reloc in tarball format, it complains:

fatal: Not a repository (or any of the parent directories): .git

... when I try and make mach64.o


Furthermore, it gives me the same error no matter what version I download via http. 

I can use git clone to get the most recent libdrm and compile it no problem... the problem is that there's some incompatility between my video card and mesa, dri, and/or drm.

DRM is the likely culprit, so I want to start there.

So...  I imagine this is a simple problem to fix, but I'm not a git guru (I use subversion). 

I've read the man pages, and done several hours worth of googling...  I get the same error using debian, so I know it's not a linux distribution specific problem... It's due to my inexperience with git, so I'm asking for help.

Offline

#2 2009-07-05 11:07:20

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: How do I use git to download an older version of source?

i guess you already cloned the repo so just go to it and

git checkout libdrm-2.4.1

that should do it.

Offline

#3 2009-07-05 11:16:17

Daemonjax
Member
Registered: 2009-07-02
Posts: 48

Re: How do I use git to download an older version of source?

If that works, I owe you a beer big_smile

Offline

#4 2009-07-05 11:48:14

Daemonjax
Member
Registered: 2009-07-02
Posts: 48

Re: How do I use git to download an older version of source?

Great, it worked... now I have to actually get this junk to compile.


Update (if anyone cares):

Ahhh, looks like the problem is with mesa libgl and not drm... Gonna check if there's any bug reports for it for 2.6.30 kernel.

Last edited by Daemonjax (2009-07-05 12:33:23)

Offline

#5 2009-07-05 11:49:39

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: How do I use git to download an older version of source?

Daemonjax wrote:

Great, it worked... now I have to actually get this junk to compile.

And somehow get a beer to bangkok_manouel tongue

Last edited by moljac024 (2009-07-05 11:49:55)


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

Board footer

Powered by FluxBB