threads / discuss / 8758

Build git on HP/UX

Subject: Build git on HP/UX

## tl;dr

5 messages between Jun 28, 2007 and Jun 28, 2007.

replies: 4people: 4as markdown or json

Thomas Glanzmann· Jun 28, 2007, 10:59 UTC · lore

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· Jun 28, 2007, 11:22 UTC · re: Thomas Glanzmann · lore

Re: Build git on HP/UX

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· Jun 28, 2007, 11:27 UTC · re: Alex Riesen · lore

Re: Build git on HP/UX

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· Jun 28, 2007, 12:23 UTC · re: Thomas Glanzmann · lore

Re: Build git on HP/UX

Hi,
I'm using it every day...
On Thursday 28 June 2007 12:59:52 Thomas Glanzmann wrote:
Show 6 quoted lines
> 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· Jun 28, 2007, 17:04 UTC · re: Thomas Glanzmann · lore

Re: Build git on HP/UX

On Thu, 28 Jun 2007, Thomas Glanzmann wrote:
Show 5 quoted lines
>
> 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

← back to recent threads