From: "Shawn O. Pearce" <spearce@spearce.org>
To: Daniel Quinlan <danq@brtt.com>
Cc: git@vger.kernel.org
Subject: Re: git on Solaris?
Date: Wed, 20 Feb 2008 17:52:08 -0500 [thread overview]
Message-ID: <20080220225208.GY24004@spearce.org> (raw)
In-Reply-To: <200802202158.m1KLw2wM014330@rs40.luxsci.com>
Daniel Quinlan <danq@brtt.com> wrote:
> However, it's by no means straightforward to compile git on solaris,
> no one seems to provide
> a compiled version (eg, sunfreeware.com), and I haven't found any
> clear cookbook description of how to
> compile, test and install git on the solaris (10) platform.
>
> So my questions are:
>
> * Is there a set of instructions for Solaris somewhere that I've missed?
>
> * Is anyone actually using git on Solaris?
Yes. I run it on Solaris 9 and on Solaris 10, SPARC editions anyway.
I haven't personally tested it on the x86 Solaris version yet but
I don't expect any major differences from the SPARC edition.
> Right now, it appears that gnu make and bash are both required to
> make git, and perhaps a bunch
> of other gnu utilities.
At least GNU make is required to compile Git. This is available
pretty readily, and also builds fairly easy out of the box as
source code if (for some reason) you cannot install a version from
sunfreeware.com. Some little voice in the back of my head thinks it
may also be available out of the box on Solaris 10 but I'm not sure.
> * Once made, do the git scripts require gnu utilities to work
> properly? I'm a bit leery of putting the
> GNU utilities ahead of the solaris ones in my path (and everyone
> elses).
Either the GNU utilties or /usr/xpg4/bin needs to be early in your
PATH so that Git can pick up tools from there. I think I'm actually
building Git with a config.mak along the lines of:
$ cat - >config.mak
SHELL=/usr/xpg4/bin/sh
SHELL_PATH=$(SHELL)
^D
and then ensuring users have /usr/xpg4/bin very early in their PATH
environment variable.
It does manage to build with both gcc and the Solaris workshop
compilers, so about the only GNU program really necessary to get
git built is GNU make. Of course I'm only talking about the really
core functionality; tools like git-p4, git-svn, gitk, git-gui will
require support beyond that (Python, Perl SVN bindings, Tcl/Tk...).
--
Shawn.
next prev parent reply other threads:[~2008-02-20 22:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-20 21:57 git on Solaris? Daniel Quinlan
2008-02-20 22:52 ` Shawn O. Pearce [this message]
2008-02-20 22:59 ` Glenn Rempe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080220225208.GY24004@spearce.org \
--to=spearce@spearce.org \
--cc=danq@brtt.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox