WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: git and http  (Read 3685 times)

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
git and http
« on: April 07, 2010, 03:28:04 PM »
This post might be seen as refreshing another one:
When trying git clone http://... one runs into the problem that the curl.tcz and expat2.tcz extensions are needed to make it work.

One way would be to add those to 'git.tcz.dep', but in the interest of minimal dependencies I guess a comment in 'git.tcz.info' could work as well.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14560
Re: git and http
« Reply #1 on: April 08, 2010, 12:00:35 AM »
info file modified

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: git and http
« Reply #2 on: April 08, 2010, 12:11:27 AM »
Thanks Juanito, but AFAIK expat2.tcz is not a dependency of curl.tcz. So I guess is should be specifically mentioned in 'git.tcz.info'.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14560
Re: git and http
« Reply #3 on: April 08, 2010, 02:09:51 AM »
All I added was:
Code: [Select]
some modes of operation may require the curl extension and deps
..I'm not sure why you mention expat2?

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: git and http
« Reply #4 on: April 08, 2010, 04:45:23 PM »
Because:
Code: [Select]
tc@box:~$ ldd /usr/local/libexec/git-core/git-http-push | grep expat
        libexpat.so.1 => /usr/local/lib/libexpat.so.1 (0xb7e13000)
tc@box:~$ ldd /usr/local/libexec/git-core/git-remote-curl | grep expat
        libexpat.so.1 => /usr/local/lib/libexpat.so.1 (0xb7d69000)

And the first clue was the following error message without expat2.tcz installed:
Code: [Select]
tc@box:~/e$ git clone http://git.svolli.org/tinycore.git
Initialized empty Git repository in /home/tc/e/tinycore/.git/
git-remote-curl: error while loading shared libraries: libexpat.so.1: cannot open shared object file: No such file or directory
git: 'remote-curl' is not a git-command. See 'git --help'.

Did you mean this?
        remote-curl

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14560
Re: git and http
« Reply #5 on: April 08, 2010, 07:30:22 PM »
Sorry, I misread the first post - expat2 also mentioned in the info file.