I'm having troubles installing various perl versions in my home folder using plenv.
Here's a couple error messages from configure:
Your cpp writes the filename in the ??? field of the line.
Your C compiler "cc" doesn't seem to support stdarg or varargs!
This guy seems to have the same problem (on MacOSX)
http://www.perlmonks.org/?node_id=1042300
I've tried setting enviroment variables related to include dir http://gcc.gnu.org/onlinedocs/gcc/Envir ... ables.html
I've also tried adding various incdir paramaters with -A og -D
-Dlocincpth='/usr/lib/gcc/x86_64-mageia-linux-gnu/4.7.2/include'
-Aprepend:locincpth='/usr/lib/gcc/x86_64-mageia-linux-gnu/4.7.2/include'
-DCFLAGS="-I/usr/lib/gcc/x86_64-mageia-linux-gnu/4.7.2/include" -Dcc=gcc
No luck so far. This just works without any problems on other distros like Scientific Linux release 6.4
I see this guy maintaining a lot of perl packages, so he might be the one with the answer:
http://people.mageia.org/u/jquelin.html