Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: RedHat 8.0, 7.1 and Enterprise WS 3,4
Posts: 94
Rep:
Installing Perl-Tk
Hi,
I've got Redhat Enterprise WS #3 and perl v5.8.0 built for i386-linux-thread-multi. I'm trying to install perl-Tk so I can use widgets and create some GUI fronts for some scripts. I downloaded Tk-804.027 and tried to install that but it wouldn't install citing errors with the include folder. Eventually I downloaded perl-Tk-800.024-127.i586.rpm and that installed no problem. Then I tried to run the program widget (which to the best of my knowledge should work with perl-Tk installed) and got the following error:
Can't locate Tk.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at /usr/bin/widget line 8.
BEGIN failed--compilation aborted at /usr/bin/widget line 8.
Have I not installed something or is something installed in the wrong place? What do I need to do to program a front end GUI? I'm not sold on perltk or any other specific GUI creator so if there is a better or easier one to use I would gladly try that. The only reason I picked perl-Tk is that the scripts I currently have are written in Perl. Thanks so much for any and all help.
Distribution: RedHat 8.0, 7.1 and Enterprise WS 3,4
Posts: 94
Original Poster
Rep:
Thanks so much for the reply. I looked around and tried to install a newer version of perl-Tk, hoping that it would put the Tk.pm file in the right place (as the previuos rpm file did not). I downloaded the appropriate rpm for my machine from:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.