I wish to get Ruby on HP-UX.
I searched at software.hp.com but got no hit.
The version packaged on HP Porters is a bit dated, and since it relies on many libs (like openssl) which probably are 32Bit gcc compiles it won't link with HP's OpenSSL depot.
So I currently try to make it on B.11.11 with ansic, but as usual, got choked at openssl parts.
As I wish to use Rails or other web modules I hardly can do without OpenSSL for I need to run SSL connections as well.
I had a look at the very terse README from the ruby tarball and ran configure --help, to be very surprised how few fiddle switches were proposed unlike with Perl builds.
So I merely invoked configure like this to point to HP's openssl install target:
LDDFLAGS="-L/opt/openssl" CPPFLAGS="-I/opt/openssl/include/openssl" ./configure
A make aborts at this point when compiling
ossl_config.c:
/opt/ansic/bin/cc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/opt/openssl/include/openssl +Z -g -c ossl_config.c
cc: "ossl_config.c", line 248: error 1521: Incorrect initialization.
cc: "ossl_config.c", line 248: error 1521: Incorrect initialization.
cc: "ossl_config.c", line 300: warning 558: Empty declaration.
cc: "ossl_config.c", line 338: warning 558: Empty declaration.
cc: "ossl_config.c", line 382: warning 558: Empty declaration.
gmake[1]: *** [ossl_config.o] Error 1
gmake[1]: Leaving directory `/usr/local/tmp/ruby-1.8.6/ext/openssl'
gmake: *** [all] Error 1
Madness, thy name is system administration