Hi;
I have problem installing Ruby on a UNIX platform. I wonder if anyone can
help me in that. I tried to install version 1.6.8 and 1.8.0 and both have
problems. Let me go through what I did: 1- Downloaded the compressed file.
2- FTP it to workstation which is HP-UX 10 3- Uncompress 4- Untar 5-
Configure to build the Makefile 6- When I start compiling the source code in
1.6.8 I got error “(Bundled) cc: “error.c”, line 434: error 1705: Function
prototypes are an ANSI feature.” and in 1.8.0 there is a list of errors as
you’ll see below.
I am now stopped at this point and can’t continue the installation. Any
idea?
···
********************************** Ruby.1.6.8
********************************** wkpkh09u#make
cc -I. -I. -c array.c
cc -I. -I. -c bignum.c
cc -I. -I. -c class.c
cc -I. -I. -c compar.c
cc -I. -I. -c dir.c
cc -I. -I. -c dln.c
cc -I. -I. -c enum.c
cc -I. -I. -c error.c
(Bundled) cc: “error.c”, line 434: error 1705: Function prototypes are an
ANSI feature. *** Error exit code 1
********************************** Ruby 1.8.0
********************************** wkpkh09u#make
cc -g -DYYMAXDEPTH=300 -I. -I. -c array.c
(Bundled) cc: warning 480: The -g option is available only with the C/ANSI C
product; ignored. cpp: “ruby.h”, line 70: warning 2013: Unknown
preprocessing directive. (Bundled) cc: “ruby.h”, line 524: warning 525:
Redeclaration of identifier “no”. (Bundled) cc: “ruby.h”, line 525: warning
525: Redeclaration of identifier “no”. (Bundled) cc: “ruby.h”, line 526:
warning 525: Redeclaration of identifier “no”. (Bundled) cc: “ruby.h”, line
527: warning 525: Redeclaration of identifier “no”. (Bundled) cc: “ruby.h”,
line 528: warning 525: Redeclaration of identifier “no”. (Bundled) cc:
“ruby.h”, line 529: warning 525: Redeclaration of identifier “no”. (Bundled)
cc: “ruby.h”, line 544: warning 525: Redeclaration of identifier “no”.
(Bundled) cc: “st.h”, line 36: error 1000: Unexpected symbol: “". (Bundled)
cc: “st.h”, line 36: error 1000: Unexpected symbol: “st_data_t”. (Bundled)
cc: “st.h”, line 37: error 1000: Unexpected symbol: "”. (Bundled) cc:
“st.h”, line 37: error 1000: Unexpected symbol: “st_data_t”. (Bundled) cc:
“st.h”, line 37: error 1000: Unexpected symbol: “st_data_t”. (Bundled) cc:
“st.h”, line 38: error 1000: Unexpected symbol: “". (Bundled) cc: “st.h”,
line 39: error 1000: Unexpected symbol: "”. (Bundled) cc: “st.h”, line 39:
error 1000: Unexpected symbol: “". (Bundled) cc: “st.h”, line 40: error
1000: Unexpected symbol: "”. (Bundled) cc: “st.h”, line 40: error 1000:
Unexpected symbol: “st_data_t”. (Bundled) cc: “st.h”, line 41: error 1000:
Unexpected symbol: “". (Bundled) cc: “st.h”, line 42: error 1000:
Unexpected symbol: "”. (Bundled) cc: “st.h”, line 43: error 1000:
Unexpected symbol: “". (Bundled) cc: “st.h”, line 44: error 1000:
Unexpected symbol: "”. (Bundled) cc: error 2017: Cannot recover from
earlier errors, terminating. *** Error exit code 1
Stop.
Thanks
Ihab Mentiady, P.Eng.
Optical GNPS Supportability Development Prime
Nortel Networks Corporation
( Voice: +1 613 765-0745 (ESN 395-0745)
2 Fax: +1 613 763-7990 (ESN 393-7990)