« Nostalgia | Main | Running community websites »

Subversion on hpux

HP Unix (or as I like to call it h-pox and a pox it is) is not a popular platform and thanks to my recent exposure to it I completely understand why. The non-ansi C compiler it comes with is a winner as is the fact that its getpass() library only accepts 8 characters (what is this, the 80s?) as I just learned. The hard way.

So if you want to compile the Subversion client on this OS, it will only work with short passwords.. unless before configuring you let APR know not to use its own getpass() instead of the system's.

The way to do that?


setenv ac_cv_func_getpass no
Before you run configure on the source. (Adjust syntax for your favorite shell of course, I'm a tcsh gal)

This tip brought to you by Joe Orton of the Subversion user's list. Thanks!

Comments

At least they stopped shipping HPs with the old style mouse that only comfortably fit in your hand if you were a robot that had been built using constructive solid geometry.

http://seritel.teleco.ulpgc.es/equipos.html

(scroll down to WorkStation and look at the mouse)

There is an ANSI C Compiler add-on for HP-UX available from HP. I found it greatly useful when I had to compile MySQL for a project on that beast.

Brian

Of course, you can also install the GNU tools on it :)

I believe the ANSI C compiler 'acc' ships standard; at least, every machine I ever used had it installed. Basically they use 'cc' to compile the OS and utils, and not much more.

GNU's also a good option, but you'll be given a dark and unpleasant surprise if you aren't always sure what your path is. Best to learn how the platform's own tools work.

I used to work for HP, and before that, back in college, my first exposure to Unix was H-PUX/"Hockey Pucks". You get used to it eventually, and it handles heavy loads well, but this is what the world of vendor-specific Unix variants is like. Don't you love Linux and FreeBSD now?

H-Puke is more conventional...