From: "Ara.T.Howard" Date: 2005-09-09T04:55:35+09:00 Subject: Re: compiling ruby on red hat linux On Fri, 9 Sep 2005, Philip J. Mikal wrote: > Hi, > > I'm having no luck compiling Ruby - getting the > following error: > > make[1]: Entering directory > `/usr/local/src/ruby/ext/iconv' > gcc -fPIC -g -O2 -I. -I../.. -I../../. > -I../.././ext/iconv -DICONV_INPTR_CAST="(char **)" -c > iconv.c > gcc323: **): No such file or directory > iconv.c: In function `iconv_try': > iconv.c:246: parse error before "inptr" > make[1]: *** [iconv.o] Error 1 > make[1]: Leaving directory > `/usr/local/src/ruby/ext/iconv' > make: *** [all] Error 1 > > Any ideas? > > -Philip ~ > tar xvfz ruby.tgz ~ > cd ruby/ ~ > export prefix=/full/path/to/where/you/want/to/install # eg. /usr/local/ ~ > export LD_RUN_PATH=$prefix ~ > export LD_LIBRARY_PATH=$prefix ~ > ./configure --prefix=$prefix && make && sudo make install hth. -a -- =============================================================================== | email :: ara [dot] t [dot] howard [at] noaa [dot] gov | phone :: 303.497.6469 | Your life dwells amoung the causes of death | Like a lamp standing in a strong breeze. --Nagarjuna ===============================================================================