From: Eric Hodel Date: 2007-02-03T13:05:59+09:00 Subject: Re: config.h on Linux for building racc On Feb 2, 2007, at 14:45, jack@ganssle.com wrote: > I'm trying to build racc, the yacc-like thing for Ruby. I get this > error at make time: > "*** No rule to make target '/usr/lib/ruby/1.8/i486-linux.config.h', > needed by 'cparse.o'. Stop" > > So, looking in that directory there's no config.h. In fact, there are > only two config.h's in the Ruby distro, one for VMS (which looks very > VMS specific) and one in ext/nkf/nkt-utf8, which is baffling, probably > full of Kanji. $ ls /usr/local/lib/ruby/1.8/i686-darwin8.8.2/config.h /usr/local/lib/ruby/1.8/i686-darwin8.8.2/config.h $ ls /usr/lib/ruby/1.8/universal-darwin8.0/config.h /usr/lib/ruby/1.8/universal-darwin8.0/config.h > I'm running Ubuntu 6.10 on a Vaio laptop. Did you use a packaged ruby? If so, its probably been broken, you'll need to find the rest of the pieces so you have a complete ruby.