configure script fails because of these lines on openjade.spec: %build cp config/configure.in . export CXX="g++ -V`egcs-version`" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ export CC="gcc -V`egcs-version`" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ %configure --enable-static --enable-default-catalog=/etc/sgml/catalog --datadir=%{sgmlbase} %ifarch %ix86 grep -rliw -- -fno-exceptions *|xargs perl -p -i -e 's|-fno-exceptions|-fexceptions|' %endif make CXX="$CXX" CC="$CC" CFLAGS="$RPM_OPT_FLAGS -fexceptions" ^^^^^^^^^^^^^^^^^^^ These lines break configure when trying to determine if gcc works. The package builds after removing them. Ektanoor