Alex Hunsley wrote:
> Pretty simple stuff... trying to install Text::CSV_XS module via cpano
> on a redhat 8 system.
> So I run the command and get the output:
>
[snip]
> cc1: invalid option `tune=pentium4'
> make: *** [CSV_XS.o] Error 1
> /usr/bin/make -- NOT OK
> Running make test
> Can't test without successful make
> Running make install
> make had returned bad status, install seems impossible
>
>
> .... So it appears I need to get rid of the tune=pentium4 option being
> passed to gcc, but I can't find out where to make this change, can
> anyone help?
> thanks
> alex
Following up to myself...
still got the problem, but the obvious workaround was to then go to the
package installation directory in /root/.cpan/build/[packageName], edit
Makefile to remove the offending option, then do
make
make test
make install
alex
|