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

Re: Compiling git on Solaris. Recipe included.

From
Junio C Hamano <gitster@pobox.com>
Date
May 9, 2012, 17:45 UTC
Message-ID
<7vd36dtfi2.fsf@alter.siamese.dyndns.org>
In-Reply-To
<CADmdEsnSt5Do+EuJHzfGxNY6aCnGA6AF6fbEETAGpoL6p7Nuwg@mail.gmail.com>
Mark Ashley <mark@ibiblio.org> writes:
> I'm compiling git on Solaris 10 and 11 SPARC and X86 using the Sun Studio
> 12.x compilers.
>
> git doesn't compile out of the box, there are (see below) lots of tweaks to

Thanks for an interest in Git, but I am somewhat dissapointed by your message. As our Makefiles strive to offer necessary knobs to tweak from the command line for platform-specific glitches, from "Recipe included" on the subject, I think people would have expected to see something like:

    gmake   VAR1=VAL1 \
            VAR2=VAL2 \
            VAR3=VAL3 ...
or perhaps:
    cat >config.mak <<-EOF
    VAR1=VAL1
    VAR2=VAL2
    ...
    EOF
and not a sequence of commands to rewrite files in-tree.

Other people have built git on Solaris but probably not many people have done so recently. The platform specific knobs in our Makefiles may have to be extended to accomodate newer version of Solaris. So the "Recipe" may not be just the series of make variables, but needs a patch or two to the Makefile to enhance the tweaks.

See 614dd90 (Makefile: SunOS 5.6 portability fix, 2010-05-14) for an example of such a patch.

Thanks.
Previous: Mark AshleyNext: Ben Walton
Message 2 of 3 in “Compiling git on Solaris. Recipe included.”
  1. Mark AshleyMay 9, 2012
  2. Junio C HamanoMay 9, 2012
  3. Ben WaltonMay 9, 2012

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.