> configure: error: The gcl executable "gcl" was not compiled with
> the --enable-ansi flag, which is required for Maxima.
> The gcl ANSI-CL check returned
> "MAXIMA_GCL_ANSI_TEST_FAILURE".
>
> I then uninstalled gcl and tried apt-get install gcl --enable-ansi, but
> apt-get is not able to find any such package... E: Command line option
> --enable-ansi is not understood.
>
> What should I do now?
While installing gcl you should get asked whether you want to enable
ansi CL or not. You can alter this setting with
sudo dpkg-reconfigure gcl