WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: git and curl?  (Read 9460 times)

Offline 3rail

  • Full Member
  • ***
  • Posts: 114
git and curl?
« on: August 18, 2009, 03: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

Offline samedirection

  • Jr. Member
  • **
  • Posts: 64
Re: git and curl?
« Reply #1 on: August 20, 2009, 11: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).


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: git and curl?
« Reply #2 on: August 20, 2009, 12:54:38 PM »
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...

Offline 3rail

  • Full Member
  • ***
  • Posts: 114
Re: git and curl? (resolved)
« Reply #3 on: August 22, 2009, 12:53:54 PM »
@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