September 03, 2004
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!

Posted September 03, 2004 09:32 AM in development tools
TrackBack URL for this entry: http://www.unix-girl.com/mt/mt-tb.cgi/1321
Comments
On September 3, 2004 01:56 PM matt added:

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)

#
On September 3, 2004 05:43 PM Brian added:

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

#
On September 3, 2004 10:08 PM Eric added:

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

#
On September 7, 2004 07:17 PM Mark Hughes added:

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?

#
On October 11, 2004 10:33 PM Ian added:

H-Puke is more conventional...

#
Trackbacks