jasonroelofs/rbgccxml

gccxml_cc1plus: error: gccxml_builtins.h: No such file or directory

Closed this issue · 1 comments

Hi, I'm getting this error message and it looks like some internal error of gccxml. There is no local gccxml installed, only the one from the gem. How could I fix this error or provide more info to debug?

regards Knut

Ubuntu 12.04
$ ruby --version
ruby 1.9.3p0 (2011-10-30 revision 33570) [i686-linux]
$ /var/lib/gems/1.9.1/gems/gccxml_gem-0.9.3-x86-linux/bin/gccxml --version
GCC-XML version 0.9.0

It seems the error is caused by some version mismatch of gccxml and gcc. To fix the error I installed the gccxml package from Ubuntu, removed the rbgccxml gem and installed another gem which uses the locally installed gccxml instead of its own:
gem install gccxml_gem --platform ruby