Archive

Archive for the ‘Ubuntu’ Category

Ruby Shoes Build Error On Ubuntu

March 19, 2008 Leave a comment

When I tried to compile Ruby Shoes I got the following error:

CC shoes/app.c
In file included from /usr/include/signal.h:333,
from /usr/include/sys/ucontext.h:23,
from /usr/include/ucontext.h:27,
from /usr/lib/ruby/1.8/i486-linux/node.h:378,
from shoes/app.c:11:
/usr/include/bits/sigcontext.h:28:29: error: asm/sigcontext.h: No such file or directory
make: *** [shoes/app.o] Error 1

The fix is this:

cd /usr/include/
sudo ln -s asm-i386/ asm

Advertisements
Categories: Ruby, Shoes, Ubuntu