PDA

View Full Version : [ubuntu] git clone installation



cmpunk
July 19th, 2008, 10:14 PM
I need to install this microdia webcam driver and here are the directions:
git clone http://repo.or.cz/r/microdia.git
cd microdia
make
sudo insmod ./microdia.ko

And then:
sudo install -d /lib/modules/`uname -r`/misc
sudo install microdia.ko /lib/modules/`uname -r`/misc
sudo depmod -a

When I tried "git clone http://repo.or.cz/r/microdia.git" it said command git not found.
So then after that, i install git-core. So then I ran "git clone http://repo.or.cz/r/microdia.git" again, but it said:


/usr/bin/git-clone: 310: curl: not found
Cannot get remote repository information.
Perhaps git-update-server-info needs to be run there?

Can someone help me?

isaacj87
July 19th, 2008, 10:19 PM
That's strange...

I just ran the "git clone" command and it seemed okay...

try installing gitweb too..


sudo apt-get install gitweb

does that help any?

cmpunk
July 20th, 2008, 04:43 AM
After I installed the package gitweb, it said this once I ran git clone again:


Initialized empty Git repository in /home/farris/clone/.git/
fatal: 'git': unable to chdir or not a git archive
fatal: The remote end hung up unexpectedly
fetch-pack from 'git' failed.