Jump to content

Git Hub Git Clone Git Pull


Flomaster

Recommended Posts

I've seen a few people make reference to git cloning / git pulling in the sab thread if only they would shed some light for the noobs how we can get GIT to work.

 

right now I face a problem with sickbeard not post processing my downloads in sab because of a wonky file  missing the end brace

 

see this thread here:

http://www.sickbeard.com/forums/viewtopic.php?f=4&t=237&p=1020#p1020

 

 

-=Jason=-

Link to comment

well I found this via google

http://code.google.com/p/unraid-unmenu/source/browse/trunk/airvideo-unmenu-package.conf?spec=svn156&r=156

 

# the git-core file
PACKAGE_EXTRA_URL http://lp.slackwaresupport.com/Slackware-10.1/Console/git-core/git-core-0.99.6-i486-1mik.tgz
PACKAGE_EXTRA_FILE git-core-0.99.6-i486-1mik.tgz
PACKAGE_EXTRA_MD5 f88e1beee14cbd3b5c475a1dff8935b2

 

I did

wget http://lp.slackwaresupport.com/Slackware-10.1/Console/git-core/git-core-0.99.6-i486-1mik.tgz

installpkg git-core-0.99.6.i486-1mik.tgz

 

but now I can't figure out how to git clone

 

just typing

 

git clone git://github.com/midgetspy/Sick-Beard.git

 

does not download the folder.

 

I get this


root@Tower:/mnt/disk1/.custom# git clone git://github.com/midgetspy/Sick-Beard.git
mkdir: cannot create directory `': No such file or directory
* git clone [-l [-s]] [-q] [-u <upload-pack>] <repo> <dir>

 

 

Link to comment
  • 2 weeks later...

I do have curl installed but I am still getting the following:

mkdir: cannot create directory `': No such file or directory
* git clone [-l [-s]] [-q] [-u <upload-pack>] <repo> <dir>

Then try running the shell script with the -xv options set.

sh -xv /usr/bin/git-clone-script ... .. ... ...

 

It might point out what it is missing.

Link to comment

Turns out my version of Git was really, really, old.  It looks like it got install with the Unmenu AirVideo package.  I found a newer version at http://lp.slackwaresupport.com/Slackware-11.0/Console/git/git-1.5.0.4-i486-1mik.tgz.

 

What I did:

wget http://lp.slackwaresupport.com/Slackware-11.0/Console/git/git-1.5.0.4-i486-1mik.tgz
installpkg git-1.5.0.4-i486-1mik.tgz

 

Just doing that made it work for cloning git:// links.  Cloning http:// links gives me the following error:

git-http-fetch: error while loading shared libraries: libcurl.so.3: cannot open shared object file: No such file or directory

 

I'll fix that part the next time I have some time.

Link to comment

That's still really really old version of GIT.

 

Here's the GIT version from Slackware 12.2, which is what unRaid is mostly based off of: http://slackware.osuosl.org/slackware-12.2/slackware/d/git-1.6.0.3-i486-1.tgz

 

wget http://slackware.osuosl.org/slackware-12.2/slackware/d/git-1.6.0.3-i486-1.tgz
installpkg git-1.6.0.3-i486-1.tgz

 

The Slackware Current (13.2) has GIT 1.7 available, but it likely needs the newer GCC/GLibC. http://slackware.osuosl.org/slackware-current/slackware/d/git-1.7.1-i486-1.txz

 

Link to comment

Turns out my version of Git was really, really, old.  It looks like it got install with the Unmenu AirVideo package.

 

When i created the package and was testing it I decided that if it was not broke I did not need to fix it.  I realized that the version was really old, but could have cared less as the package was working and installing fine.

 

The curl error likely means you need to install a newer version of curl on the system as well.

Link to comment

Git version 1.6.03 give me this error.

 

 

root@Tower:/mnt/disk1/.custom/sbgit# git clone git://github.com/midgetspy/Sick-Beard.git sickbeard

git: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory

 

 

-=Jason=-

Link to comment

Git version 1.6.03 give me this error.

 

 

root@Tower:/mnt/disk1/.custom/sbgit# git clone git://github.com/midgetspy/Sick-Beard.git sickbeard

git: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory

 

 

-=Jason=-

Looks like you need to install the missing shared library libcurl.so.4
Link to comment

Joe, thats what I figure, but unRaid is much harder to find packages for than Ubuntu. I feel overwhelmed when trying to go off the beaten path and try new things with unRaid.

 

OT... that etherwake script I made and placed in my /root/ folder is gone after a reboot... :( I've no idea why but I guess you shouldn't have files inside your /root folder that you want to keep.

 

-=Jason=-

Link to comment

Joe, thats what I figure, but unRaid is much harder to find packages for than Ubuntu. I feel overwhelmed when trying to go off the beaten path and try new things with unRaid.

 

OT... that etherwake script I made and placed in my /root/ folder is gone after a reboot... :( I've no idea why but I guess you shouldn't have files inside your /root folder that you want to keep.

 

-=Jason=-

The hierarchy under /root is only in memory.  It is gone when you reboot/power cycle.

The only place that will stay is under /boot  (which is where the flash drive is mounted)

Link to comment

 

That's still really really old version of GIT.

 

Here's the GIT version from Slackware 12.2, which is what unRaid is mostly based off of: http://slackware.osuosl.org/slackware-12.2/slackware/d/git-1.6.0.3-i486-1.tgz

 

wget http://slackware.osuosl.org/slackware-12.2/slackware/d/git-1.6.0.3-i486-1.tgz
installpkg git-1.6.0.3-i486-1.tgz

 

The Slackware Current (13.2) has GIT 1.7 available, but it likely needs the newer GCC/GLibC. http://slackware.osuosl.org/slackware-current/slackware/d/git-1.7.1-i486-1.txz

 

 

Thanks, I knew that version of Git was old, but that's all I found.  I am familiar with a few variants of Linux but not Slackware and as such I would rather not build from source.  I'll have to bookmark that package repo for the future.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...