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

Re: Compiling git on Solaris. Recipe included.

From
Ben Walton <bwalton@artsci.utoronto.ca>
Date
May 9, 2012, 17:58 UTC
Message-ID
<1336586103-sup-4584@pinkfloyd.chass.utoronto.ca>
In-Reply-To
<CADmdEsnSt5Do+EuJHzfGxNY6aCnGA6AF6fbEETAGpoL6p7Nuwg@mail.gmail.com>
Excerpts from Mark Ashley's message of Tue May 08 23:11:30 -0400 2012:
Hi Mark,
> I'm compiling git on Solaris 10 and 11 SPARC and X86 using the Sun
> Studio 12.x compilers.
I'm building for solaris 9+ at OpenCSW with the studio compilers.
> git doesn't compile out of the box, there are (see below) lots of
> tweaks to have it use open source stuff in /usr/local/* and also to
> pass some of the configure tests for inet_ntop and -lintl.

I use the following patch for -lintl: https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/pkg/git/trunk/files/0007-on-solaris-we-need-to-use-lintl-to-allow-the-new-i18.patch

(For some reason, I didn't get around to generalizing it for submission yet.)

The build recipe I'm using (for our build system GAR) is here: https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/pkg/git/trunk/Makefile

(There is some baggage in the recipe that needs cleanup, such as old patches that are merged or no longer required, but it builds a nice clean package that passes the test suite.)

Hope that helps.

Thanks -Ben -- Ben Walton Systems Programmer - CHASS University of Toronto C:416.407.5610 | W:416.978.4302

Previous: Junio C Hamano
Message 3 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.