You're right, I delete /opt/csw/bin from my PATH and reconfigure with --without-x and voila it compiled with no error, even with today's git pull build. [emacs]$printenv | grep csw PATH=/usr/bin:/usr/sbin:/opt/csw/gcc4/bin So currently I'm just narrow down the root cause,by checking my configure, especially the core during configure stage. I attached the log file of the compile. so this is not a common problem and it's due to my system configuration. I'll check out that.