From: Joel VanderWerf Date: 2004-02-08T18:09:47+09:00 Subject: Re: pty.so: [BUG] Segmentation fault nobu.nokada@softhome.net wrote: > Hi, > > At Sun, 8 Feb 2004 07:11:47 +0900, > Joel VanderWerf wrote in [ruby-talk:91760]: > >>Is it possible that the include path found version.h in >>$PREFIX/lib/ruby/1.8/sparc-solaris2.7/ before the one in the build dir? >>I've never seen this problem on linux, and I don't recall seeing it >>before on solaris. > > > No. > > >>A typical compiler invocation looks like: >> >>gcc -I/usr/path/include -I. -I. -I/usr/path/include -c class.c > > > It is strange. Don't you set CFLAGS env? Otherwise, '-g -O2' > should appear instead. Oops. That's exactly what it was. I have: declare -x CFLAGS="-I/usr/path/include" That was for some other software. Good to know that can interfere with ruby builds. Thanks.