Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: maro on April 07, 2010, 03:28:04 PM

Title: git and http
Post by: maro on April 07, 2010, 03:28:04 PM
This post might be seen as refreshing another (http://forum.tinycorelinux.net/index.php?topic=2726) 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.
Title: Re: git and http
Post by: Juanito on April 08, 2010, 12:00:35 AM
info file modified
Title: Re: git and http
Post by: maro 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'.
Title: Re: git and http
Post by: Juanito 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?
Title: Re: git and http
Post by: maro 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
Title: Re: git and http
Post by: Juanito on April 08, 2010, 07:30:22 PM
Sorry, I misread the first post - expat2 also mentioned in the info file.