I have installed "ruby 1.9.3p429 " already but as per my project required i want downgrade to "1.8.7-p371"
while tying with the below command i am getting the below error message , please let me know how to solve this issue ?
COMMAND : rbenv install 1.8.7-p371
Downloading ruby-1.8.7-p371.tar.gz...
Installing ruby-1.8.7-p371...
BUILD FAILED
Inspect or clean up the working tree at /var/folders/37/2cfsxwbx79l56v5lnvm8p5jmcw9jv7/T/ruby-build.20130615133036.93278
Results logged to /var/folders/37/2cfsxwbx79l56v5lnvm8p5jmcw9jv7/T/ruby-build.20130615133036.93278.log
Last 10 log lines:
tcltklib.c:9862: error: expected ‘;’ before ‘event’
tcltklib.c:9892: error: ‘struct dummy_TkMenu’ has no member named ‘menuType’
tcltklib.c:9897: error: ‘struct dummy_TkMenu’ has no member named ‘menuType’
tcltklib.c:9915: error: ‘event’ undeclared (first use in this function)
tcltklib.c:9916: error: ‘ConfigureNotify’ undeclared (first use in this function)
tcltklib.c:9917: error: ‘Tk_FakeWin’ has no member named ‘display’
tcltklib.c:9919: error: ‘Tk_FakeWin’ has no member named ‘window’
tcltklib.c:9920: error: ‘Tk_FakeWin’ has no member named ‘display’
make[1]: *** [tcltklib.o] Error 1
make: *** [all] Error 1