Re: git over rsync+ssh
- From
Mike Ralphson <mike.ralphson@gmail.com>
- Date
- Jul 9, 2008, 15:02 UTC
- Message-ID
- <e2b179460807090802j2dbb72efo4f03c0a9e79241c0@mail.gmail.com>
- In-Reply-To
- <g52gbg$si9$1@ger.gmane.org>
2008/7/9 Michael J Gruber <michaeljgruber+gmane@fastmail.fm>:
> I want to put a git repo on a server where I have ssh access but failed to > compile git (AIX 5.1, has libz.a but no .so nor headers; compiling > prerequisite zlib failed, probably due to a botched build environment).
I can send you a binary to try if you'd like. It would be compiled on AIX 5.3 but I have to jump through hoops on several non-identically set-up servers here, so one might work for you.
# ldd /usr/local/bin/git
/usr/local/bin/git needs:
/usr/lib/libc.a(shr.o)
/usr/lib/libz.a(libz.so.1)
/usr/lib/libiconv.a(shr4.o)
/unix
/usr/lib/libcrypt.a(shr.o)# ar -t /usr/lib/libz.a libz.so.1 shr.o
Alternatively I can send you what gets installed from zlib-devel.rpm [1] which you might be able to install in your account's home directory, and then ./configure --with-zlib=PATH ; gmake might work for you.
Show 7 quoted lines
> As far as I can see my only option for a private repo is using rsync over > ssh. > > ... [snipped the bits I know not] > > Alternatively, can I maybe compile the bits that git over ssh needs on the > server side without zlib?
I don't think any git is going to get very far without zlib, as it won't understand (be able to verify) the object/pack format at all. I might be wrong about that though.
Mike
[1] ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/zlib/zlib-1.2.3-4.aix5.2.ppc.rpm