Quantcast
Channel: Error while installing ruby-1.8.7 on Fedora 15 - Stack Overflow
Viewing all articles
Browse latest Browse all 6

Error while installing ruby-1.8.7 on Fedora 15

$
0
0

Using RVM, I tried to install ree-1.8.7-2011.03 after installing Fedora 15 and I get the following error. Using rvm install ree-1.8.7-2011.03 on Ubuntu 11.04 works fine..

Same error (and solution) with MRI ruby-1.8.7-p334 on Fedora 15.

Any ideas as to how to fix this?

make[1]: Entering directory `/home/ryguy/.rvm/src/ree-1.8.7-2011.03/source/ext/dl'gcc -I/opt/local/include -I. -I/opt/local/include -I../.. -I../../. -I../.././ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR    -I. -fPIC -g -O2   -fno-defer-pop -fno-omit-frame-pointer  -c ptr.cgcc -I/opt/local/include -I. -I/opt/local/include -I../.. -I../../. -I../.././ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR    -I. -fPIC -g -O2   -fno-defer-pop -fno-omit-frame-pointer  -c handle.cGenerating callback.funcGenerating cbtable.funcgcc -I/opt/local/include -I. -I/opt/local/include -I../.. -I../../. -I../.././ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR    -I. -fPIC -g -O2   -fno-defer-pop -fno-omit-frame-pointer  -c dl.cIn file included from dl.c:104:0:callback.func:1:1: warning: data definition has no type or storage class [enabled by default]callback.func:1:7: error: expected identifier or ‘(’ before ‘long’In file included from dl.c:104:0:callback.func:78:33: error: expected ‘)’ before ‘(’ tokencallback.func:79:3: warning: data definition has no type or storage class [enabled by default]callback.func:79:24: error: ‘proc’ undeclared here (not in a function)callback.func:79:39: error: ‘argc’ undeclared here (not in a function)callback.func:79:45: error: ‘argv’ undeclared here (not in a function)callback.func:82:1: error: expected identifier or ‘(’ before ‘}’ tokendl.c:106:1: error: expected ‘;’, ‘,’ or ‘)’ before ‘static’make[1]: *** [dl.o] Error 1make[1]: Leaving directory `/home/ryguy/.rvm/src/ree-1.8.7-2011.03/source/ext/dl'make: *** [all] Error 1

Viewing all articles
Browse latest Browse all 6

Latest Images

Trending Articles



Latest Images