git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Michael J GruberNext: Michael J Gruber
Message 2 of 8 in “git over rsync+ssh”
  1. Michael J GruberJul 9, 2008
  2. Mike RalphsonJul 9, 2008
  3. Michael J GruberJul 10, 2008
  4. Avery PennarunJul 9, 2008
  5. Teemu LikonenJul 9, 2008
  6. Michael J GruberJul 10, 2008
  7. Stephen SinclairJul 9, 2008
  8. Michael J GruberJul 10, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.