On Wed, Apr 18, 2012 at 10:18 AM, Hans Mackowiak <lists / ruby-forum.com> 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 <qpid/messaging/exceptions.h>
/* end */


-- 
Darryl L. Pierce <mcpierce / gmail.com>
Visit the Infobahn Offramp: <http://mcpierce.multiply.com>
"Bury me next to my wife. Nothing too fancy..." - Ulysses S. Grant