If you misstyped and meant rc3 instead of rc4, then use `configure --disable-wxcas`and let's see if that works...
If you really meant RC4. then you are using CVS which, the last time I tried to compile it on my box (three days ago, maybe?) didn't compile also, so maybe CVS isn't compiling ATM.
Greetings.