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

Fwd: Compiling git 1.8.1.4 on 64bit centos 5.6

From
DODarren Oakey <you@darrenoakey.info>
Date
Feb 23, 2013, 13:13 UTC
Message-ID
<CA+B9=JLaZ5P+H-b-A6Xo-TRMcQYwGawjD-G62m8asnC0qMwmdg@mail.gmail.com>
In-Reply-To
<CA+B9=JLWASmrK_TNTkJxRH1cZrVjhXN8kKmCZcnHgKXwX9WUiA@mail.gmail.com>

g'day, got a web host where I want to put git - it has no c compiler, so I have to compile elsewhere. ssh is also locked out, so I have to use https. The site uses both 64bit and 32bit hosts.

On a 32bit vm, I compiled the 32bit version of git fine with -static, sent the binaries over, and it works perfectly.

On a 64bit vm, I just cannot get a 64 bit version of git compiling with -static... or more precisely - I can but can't whatever I have tried get a remote-http and remote-https to turn up in libexec. Even when I hack the configure to force NO_CURL= and NO_OPENSSL= - and add every extra library I seem to need (-lcrypto, -lssl -lkrb5 -ldl) it refuses to compile - giving me a bunch of missing krb5_*

If I compile without static, it works - but the shared libraries aren't found when it's run from the web host. If I try running the 32bit version on the 64bit host, it doesn't find some library - and if I try the 64bit version that I can properly get compiling statically, I get an error saying no remote found for https.

Please help - it's driving me insane... can anyone tell me how to compile a 64 bit static version of git under centos 5.6?

Thanks, Darren

Next: W. Trevor King
Message 1 of 2 in “Fwd: Compiling git 1.8.1.4 on 64bit centos 5.6”
  1. Darren OakeyFeb 23, 2013
  2. W. Trevor KingFeb 23, 2013

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.