Re: git on Solaris?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daniel Quinlan <danq@xxxxxxxx> 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.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux