http://www.perlmonks.org?node_id=309965

nite_man has asked for the wisdom of the Perl Monks concerning the following question:

Dear brothers and systers.

I had worked with Tk under Linux Red Hat 8.0 and life was nice. Than I've upgrated my Linux by Red Hat 9 and as result, I cannot install correctly (make test returns error 2) Tk for Perl but if I nevertheless install it when I try to run a symple script which produces only one window with button, I have error:

'6x13*font:' isn't numeric at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Tk/Widget.pm line 188. at /home/misha/projects/Perl/ichecker/mail-checker.pl line 136 Tk::Widget::new('Tk::Button','MainWindow=HASH(0x850d4c8)','-te +xt','Ok','-font','5x12','-command','ARRAY(0x8539c90)') called at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Tk/Wi +dget.pm line 247 Tk::Widget::__ANON__('MainWindow=HASH(0x850d4c8)','-text','Ok' +,'-font','5x12','-command','ARRAY(0x8539c90)') called at /home/misha/projects/Perl/ichecker/mail-checker.pl line 136 main::display_x('HASH(0x850a8c4)') called at /home/misha/projects/Perl/ichecker/mail-checker.pl line 94 at /home/misha/projects/Perl/ichecker/mail-checker.pl line 136
I've found some topics about this error in the internet forums. Authors those topics suggest set LANG in 'en_US' instead of 'en_US.UTF-8' as set defaul in RH9. But I still cannot use Tk. I have exactly the same error.

Any suggestions will be useful.

My environment: Red Hat 9, Perl 5.8.0 built for i386-linux-thread-multi, Tk 800.025.

Thanks in advanced,

-- Michael Stepanov