invalid getconf output and Perl compile

I was compiling perl on a Solaris 10 server. The compile failed because the output of getconf is wrong (it indicates xarch is generic64 not v9. This is a known bug but I cannot find a fix. I wrote a script as suggested that changes it but when you run getconf again it goes back to generic64.

/usr/bin/getconf -a | sed -e 's/generic64/v9/'

I havn't tried to compile perl now but I imagine that it will run compile and get the generic64, instead of v9.

Any suggestions?

Try setting up an alias:

alias getconf='getconf -a | sed -e 's/generic64/v9/''

The problem is there are a number of getconf's in the install I think, for other things. I have been working on this all day and the only person I saw that solved this didn't post his fix and isn't at the email address anymore.

Thanks