Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: 3rail on August 18, 2009, 12:59:59 PM

Title: git and curl?
Post by: 3rail on August 18, 2009, 12:59:59 PM
Perhaps Im having a brain dead moment, but I swear this used to work:

tc@box:~$ git clone http://svolli.org/software/tinycore/.git
Initialized empty Git repository in /home/tc/tinycore/.git/
error: git was compiled without libcurl support.
fatal: Don't know how to clone http://svolli.org/software/tinycore/.git

TIA
Title: Re: git and curl?
Post by: samedirection on August 20, 2009, 08:38:18 AM
For what it's worth I get the same error. 

Of course you can do a git clone the regular way (without using http):

Code: [Select]
git clone git://svolli.org/software/tinycore/.git
But not if you happen to try it behind the firewall of your corporate overloard, which is I suppose why you're trying git over http in the first place. 

So it looks like either you propose that the TC git binary should have a curl dependency, or that we have two TC git packages.

Both seem reasonable, but I'd prefer the latter.  curl is not too big (164K), though it depends on openssl (900K).

Title: Re: git and curl?
Post by: Juanito on August 20, 2009, 09:54:38 AM
I tried to make the git extension with the minimum dependencies - i.e. none.

Of course it can be built to use curl - it just depends what everybody wants...
Title: Re: git and curl? (resolved)
Post by: 3rail on August 22, 2009, 09:53:54 AM
@samedirection

I found my solution later on in this post:

http://forum.tinycorelinux.net/index.php?topic=2056.msg11330#msg11330

Like you suggested, use 'git' instead of 'http', ie

git clone git://svolli.org/tinycore.git