# Build git on HP/UX

5 messages from 2007-06-28 to 2007-06-28. Participants: Thomas Glanzmann, Alex Riesen, Michal Rokos, Linus Torvalds.
Thread: https://gitlist.dev/t/8758

## Thomas Glanzmann, 2007-06-28 10:59

Subject: Build git on HP/UX
Message-ID: <20070628105952.GC8925@cip.informatik.uni-erlangen.de>
URL: https://gitlist.dev/e/20070628105952.GC8925%40cip.informatik.uni-erlangen.de

```
Hello,
could someone here describe what he did to build git on HP/UX?
Some of my questions is:

        - What build chain did you use (gcc?)?
        - Did you use binary packages provided by whom?

        Thomas

```

## Alex Riesen, 2007-06-28 11:22

Subject: Re: Build git on HP/UX
Message-ID: <81b0412b0706280422u54150ed9nefc4ae716ffb03c6@mail.gmail.com>
URL: https://gitlist.dev/e/81b0412b0706280422u54150ed9nefc4ae716ffb03c6%40mail.gmail.com
In-Reply-To: <20070628105952.GC8925@cip.informatik.uni-erlangen.de>

```
On 6/28/07, Thomas Glanzmann <thomas@glanzmann.de> wrote:
> Hello,
> could someone here describe what he did to build git on HP/UX?

what did you already tried? Do you have a build log? (with either gcc or acc)

```

## Thomas Glanzmann, 2007-06-28 11:27

Subject: Re: Build git on HP/UX
Message-ID: <20070628112711.GB19978@cip.informatik.uni-erlangen.de>
URL: https://gitlist.dev/e/20070628112711.GB19978%40cip.informatik.uni-erlangen.de
In-Reply-To: <81b0412b0706280422u54150ed9nefc4ae716ffb03c6@mail.gmail.com>

```
Hello,

> what did you already tried? Do you have a build log? (with either gcc or 
> acc)

I tried nothing. But my next steps are to download gcc packages from
http://hpux.cs.utah.edu/ and try to compile git.

Gruesse,
        Thomas

```

## Michal Rokos, 2007-06-28 12:23

Subject: Re: Build git on HP/UX
Message-ID: <200706281423.56344.michal.rokos@gmail.com>
URL: https://gitlist.dev/e/200706281423.56344.michal.rokos%40gmail.com
In-Reply-To: <20070628105952.GC8925@cip.informatik.uni-erlangen.de>

```
Hi,

I'm using it every day...

On Thursday 28 June 2007 12:59:52 Thomas Glanzmann wrote:
> Hello,
> could someone here describe what he did to build git on HP/UX?
> Some of my questions is:
>
>         - What build chain did you use (gcc?)?
>         - Did you use binary packages provided by whom?

On Parics I'm using gcc.
On Itanium I'm using hp stock cc (so no need to build gcc-build-chain)

I'm git-pulling it very often - co I'm compiling it from the git sources.

Michal.

--
Michal Rokos
ICQ: 36118339
Jabber: michal.rokos@gmail.com

```

## Linus Torvalds, 2007-06-28 17:04

Subject: Re: Build git on HP/UX
Message-ID: <alpine.LFD.0.98.0706280951480.8675@woody.linux-foundation.org>
URL: https://gitlist.dev/e/alpine.LFD.0.98.0706280951480.8675%40woody.linux-foundation.org
In-Reply-To: <20070628105952.GC8925@cip.informatik.uni-erlangen.de>

```


On Thu, 28 Jun 2007, Thomas Glanzmann wrote:
>
> could someone here describe what he did to build git on HP/UX?
> Some of my questions is:
> 
>         - What build chain did you use (gcc?)?

The compiler shouldn't be a big issue, although git does expect something 
much better than K&R. Ie you need a *modern* compiler. 

(To be honest, the git sources do use some gcc extensions, but 
 (a) I think they are all successfully conditional on gcc already
 (b) most modern vendor compilers support a lot of them anyway


The Makefile is very GNU-make, though, so even if you don't have gcc, you 
should have GNU make, or you'd need to create your own makefile.

And you'll need perl, and a basic set of development libraries: zlib and 
openssl are the minimum set, I think (apart from the basic C library with 
networking extensions).

For full functionality, you'll need ssh, rsync, tcl/tk, curl, expat, SVN, 
CVS, cvsps, etc - obviously depending on what you're actually going to do.

			Linus

```
