From: Jamis Buck Date: 2004-11-19T14:22:19+09:00 Subject: Re: Can't Build Ruby 1.8.1 on HP-UX 11.00 Kevin Hinners wrote: > Okay, I did a fresh extract and a fresh ./configure. I verified that lex.c > was correct. Now, when I do a make, I get this error: > > [gdpdev]:ROOT:(1)ruby/ruby-1.8.2> make > gcc -g -O2 -I. -I. -c array.c > gcc -g -O2 -I. -I. -c bignum.c > gcc -g -O2 -I. -I. -c class.c > gcc -g -O2 -I. -I. -c compar.c > gcc -g -O2 -I. -I. -c dir.c > gcc -g -O2 -I. -I. -c dln.c > gcc -g -O2 -I. -I. -c enum.c > gcc -g -O2 -I. -I. -c error.c > gcc -g -O2 -I. -I. -c eval.c > gcc -g -O2 -I. -I. -c file.c > gcc -g -O2 -I. -I. -c gc.c > gcc -g -O2 -I. -I. -c hash.c > gcc -g -O2 -I. -I. -c inits.c > gcc -g -O2 -I. -I. -c io.c > gcc -g -O2 -I. -I. -c marshal.c > gcc -g -O2 -I. -I. -c math.c > gcc -g -O2 -I. -I. -c numeric.c > gcc -g -O2 -I. -I. -c object.c > gcc -g -O2 -I. -I. -c pack.c > gperf -p -j1 -i 1 -g -o -t -N rb_reserved_word -k1,3,$ keywords > > lex.c || \ > cp "./lex.c" . > sh: gperf: not found. > cp: ./lex.c and ./lex.c are identical > *** Error exit code 1 > > At this point, now, lex.c has been truncated to 0 bytes. Running make again, > produces the previous error I had posted. Has anyone been able to build Ruby > 1.8.1 or 1.8.2 on HP-UX? Yes. I had to download and compile the GNU gperf utility, though. Seems like there might have been a few other things I had to grab. My approach my not have been the most efficient, though. If anyone knows of a better way, I'd love to hear it. - Jamis -- Jamis Buck jgb3@email.byu.edu http://www.jamisbuck.org/jamis