From: "Darryl L. Pierce" Date: 2012-04-18T23:27:44+09:00 Subject: Re: extconf.rb and checking for C++ headers On Wed, Apr 18, 2012 at 10:18 AM, Hans Mackowiak wrote: > in 1.8 you need to add > > CONFIG['CC'] = 'g++' > > before the header check Tried it but no joy. In the mkmf.log I'm not seeing where it's using g++ instead: have_header: checking for qpid/messaging/exceptions.h... -------------------- no "gcc -E -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I../../../../ext/nonblockio -DRUBY18 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -fPIC conftest.c -o conftest.i" In file included from /usr/local/include/qpid/messaging/exceptions.h:26:0, from conftest.c:1: /usr/local/include/qpid/types/Exception.h:25:18: fatal error: string: No such file or directory compilation terminated. checked program was: /* begin */ 1: #include /* end */ -- Darryl L. Pierce Visit the Infobahn Offramp: "Bury me next to my wife. Nothing too fancy..." - Ulysses S. Grant