I have tried --disable-wxcas and now I have a new error:
In file included from alc.h:47,
from alc.cpp:44:
alcframe.h:59: base class `wxFrame' has incomplete type
alcframe.h:61: syntax error before `*' token
alcframe.h:62: parse error before `[' token
alcframe.h:64: syntax error before `*' token
alcframe.h:66: syntax error before `*' token
alcframe.h:67: syntax error before `*' token
....