Subject: | Makefile.PL doesn't accept "gcc-4" |
Here is the output from running "Makefile.PL":
$ perl Makefile.PL PREFIX=/usr/local
Checking if your kit is complete...
Looks good
Writing Makefile for Math::Int128
Writing MYMETA.yml and MYMETA.json
This module requires version 4.4 or above of the GCC compiler.
Aborting!
It turns out that the $cc variable in "Makefile.PL" is set to "gcc-4",
and $cc_version, the output from "$cc --version" is
$ gcc-4 --version
gcc-4 (GCC) 4.5.3
which does not match the regex used to check the compiler version, so
the compiler is rejected, although it is "version 4.4 or above" of the
GCC compiler.