LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-23-2003, 11:08 AM   #1
Ashearah
LQ Newbie
 
Registered: Oct 2003
Posts: 6

Rep: Reputation: 0
running a gradebook HELP!


For anyone who can help,

I'm extremely, incredibly, and in all other ways new to linux. I have installed a gradebook called opengrade. From what I can tell, it installed perfectly. However, I'm having a difficult time actually running the program. BTW, I'm using Mandrake 9.0. Here's the error message I get when I type the command "opengrade" (as suggested in the program's instructions):

Can't locate Tk.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.0/OpenGrade /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 .) at /usr/lib/perl5/site_perl/5.8.0/OpenGrade/Browser.pm line 30.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.0/OpenGrade/Browser.pm line 30.
Compilation failed in require at /usr/local/bin/opengrade line 33.


Can someone please help me fix this problem?? Thanks.
 
Old 10-24-2003, 10:17 AM   #2
tokyoeye
Member
 
Registered: Oct 2003
Location: Amsterdam
Distribution: gentoo,debian
Posts: 47

Rep: Reputation: 15
Hi,

Try this to install the module. Make sure you're online and type this at the console:


perl -MCPAN -e 'CPAN::Shell->install( "Tk" )'


If you have any problems installing the module please check out the documentation at the perl page:

http://www.cpan.org/modules/INSTALL.html



Hope this helps...
 
Old 10-24-2003, 11:05 AM   #3
Ashearah
LQ Newbie
 
Registered: Oct 2003
Posts: 6

Original Poster
Rep: Reputation: 0
That didn't work. Here's the error message I received:

CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Thu, 23 Oct 2003 13:46:44 GMT
Warning: Cannot install TK, don't know what it is.
Try the command

i /TK/

to find objects with matching identifiers.

When I tried that command, it said "command not found.

I went to the website you suggested and followed those steps, but it was still unsuccessful. Any more ideas? Thanks for your help.
 
Old 10-24-2003, 07:41 PM   #4
tokyoeye
Member
 
Registered: Oct 2003
Location: Amsterdam
Distribution: gentoo,debian
Posts: 47

Rep: Reputation: 15
Hi,

I'm sorry ther first one did not work. This seems to be a problem with perl. Got this from someone with the same problem:

>> henry wrote:
>> I executed (on Redhat 7.1) a perl_script which requires Tk_lib ,
>> Then I got a message "Cant locate Tk.pm in @nospam.INC : /usr/local/tk........."
>>
>>I use " rpm -q tk " to find out that tk8.x is installed under /usr/lib
>> ,but I still locate Tk.pm .

>/usr/lib contains the binary libs, not the perl libs.
>Try this:
>#perldoc Tk

>If perldoc cannot find Tk.pm, you have to downloa and install it.
>If you know where Tk.pm, ask yourself why Perl cannot see it, i.e.
>it should be in the perl library tree, somewhere in:
>/usr/lib/perl5
>Try:
>#find /usr/lib/perl5 -name Tk.pm

So the first thing we want to do now is check whether you already have the TK.pm package installed.
If you do we will have to include it in the path. If you do not we will have to install it.

This page seems to concern the same problem:

http://omaha.pm.org/emails/2003/msg00170.html

Maybe it will be of some help???
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Running setup.exe, but another already running? erisco Linux - Software 2 08-08-2005 06:45 PM
Any one running etheral? If so what OS are you running it with? abefroman Linux - Security 2 05-09-2005 02:22 PM
Process running but not running LinuxRam Linux - Newbie 13 12-29-2004 11:45 AM
any linux distro can running in RAM , not need CD_ROM reading when running. wangcity Linux - General 3 09-18-2003 06:45 AM
running samba worked, running it out of xinetd doesn't? system Linux - Networking 1 12-24-2001 04:15 AM


All times are GMT -5. The time now is 06:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration