Subject: | CPAN/Comfig.pm makepl_arg breaks some modules |
The file Perl-Dist-Strawberry-1.04/share/CPAN_Config_5100.pm contains
the setting:
makepl_arg => q[LIBS=-LC:\\strawberry\\c\\lib
INC=-IC:\\strawberry\\c\\include],
This is wrong because it causes the LIB setting in a module's
Makefile.PL to be overridden thus causing compilation errors.
There is no need to pass these setting. The Makefile invokes GCC as
simply "gcc" thus assuming that the environment (at least PATH) is
configured correctly to find the correct GCC installation. If you are
using the GCC.EXE that's found by traversing the PATH environment
variable then you should be using the (standard) headers and libraries
that are found by traversing the LIB and INCLUDE environment variables.
The line in Perl-Dist-Strawberry-1.04/share/CPAN_Config_5100.pm should
contain the setting:
makepl_arg => q[],
Note this bug report is deliberately brief. For more discussion please
see http://www.perlmonks.org/?node_id=714150