I had a new installation of Mountain Lion and the Xcode command line command was installed. I managed to start homebrew and install RVM . Unfortunately, I cannot get RVM to install ree-1.8.7-head . When compiling, it fails. I thought this was due to X11, so I installed XQuartz . There is no joy yet. Then I went and installed the full Xcode from the app store . There is no joy yet. Has anyone got it on the new Mountain Lion?
Below .rvm / log / ree-1.8.7-head / make.log :
Find Tcl/Tk libraries. Make tcltklib.so which is required by Ruby/Tk. gcc -I. -I../.. -I../../. -I../.././ext/tk -DHAVE_RB_SAFE_LEVEL -DHAVE_RB_HASH_LOOKUP -DHAVE_RB_PROC_NEW -DHAVE_RB_OBJ_TAINT -DHAVE_ST_PTR -DHAVE_ST_LEN -DRUBY_VERSION=\"1.8.7\" -DRUBY_RELEASE_DATE=\"2012-02-08\" -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -DWITH_TCL_ENABLE_THREAD=0 -fno-common -g -O2 -pipe -fno-common -c stubs.c In file included from stubs.c:10: /usr/include/tk.h:78:23: error: X11/Xlib.h: No such file or directory In file included from stubs.c:10: /usr/include/tk.h:549: error: expected declaration specifiers or '...' before 'Window' /usr/include/tk.h:549: error: 'Window' declared as function returning a function
. .
/usr/include/tkDecls.h:1240: error: expected '=', ',', ';', 'asm' or '__attribute __' before 'Tk_GetBitmapFromObj' /usr/include/tkDecls.h:1245: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/include/tkDecls.h:1356: error: expected ')' before '*' token /usr/include/tkDecls.h:1362: error: expected ')' before '*' token /usr/include/tkDecls.h:1387: error: expected declaration specifiers or '...' before 'GC' /usr/include/tkDecls.h:1399: error: expected declaration specifiers or '...' before 'GC' /usr/include/tkDecls.h:1413: error: expected declaration specifiers or '...' before 'Pixmap' /usr/include/tkDecls.h:1420: error: expected declaration specifiers or '...' before 'XColor' /usr/include/tkDecls.h:1448: error: expected declaration specifiers or '...' before 'Pixmap' /usr/include/tkDecls.h:1524: error: expected ')' before '*' token /usr/include/tkDecls.h:1621: error: expected declaration specifiers or '...' before 'Drawable' /usr/include/tkDecls.h:1656: error: expected ')' before '*' token /usr/include/tkDecls.h:1661: error: expected ')' before '*' token /usr/include/tkDecls.h:1692: error: expected specifier-qualifier-list before 'XColor' make[1]: *** [stubs.o] Error 1 make: *** [all] Error 1
ruby xcode osx-mountain-lion rvm
Tom Rossi Jul 26 2018-12-12T00: 00Z
source share