in reply to Re^13: perl install in Fedora 16
in thread perl install in Fedora 16

Tk is installed. I uninstalled it and reinstalled it using the yum package manager and the installed directory is the one I was trying to add to @INC. I have had issues in the past installing packages without using yum. However, I also run into instances like this where the directory structure has an issue. I submitted a bug report to bugzilla about it.

I found another post on this site regarding the error message and two items need changing in the script:

use Tk; needs to be: require Tk; import Tk; and MainLoop, needs to be &MainLoop;

However, making those changes generates another error, widgets not found and that is a part of the Tk installation. It is not in the directory or any where else on my computers (desktop or laptop) so there is definitely an issue with the Tk install. I will keep searching for how to install Tk properly. Thanks for your help.

Replies are listed 'Best First'.
Re^15: perl install in Fedora 16
by Anonymous Monk on Feb 21, 2012 at 00:28 UTC

    Tk is installed. I uninstalled it and reinstalled it using the yum package manager and the installed directory is the one I was trying to add to @INC

    Yum?

    Not being to run use Tk; tkinit; Mainloop; or the  widget programs means you did not install Tk correctly.

    Forget yum, install Tk yourself

    wget -c http://search.cpan.org/CPAN/authors/id/S/SR/SREZIC/Tk-804.030 +.tar.gz tar -zxvf Tk-804.030.tar.gz cd Tk-804.030 perl Makefile.PL make test make install

      What are the ramifications pf removing perl 8.5 and installing perl 8.04? Won't that break my system"

        What are the ramifications pf removing perl 8.5 and installing perl 8.04? Won't that break my system"

        There are no such perl versions.

        But yeah, you generally don't want to upgrade/change the system perl, so just install a local one