Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-23-2003, 11:08 AM   #1
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 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/ line 30.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.0/OpenGrade/ 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
Registered: Oct 2003
Location: Amsterdam
Distribution: gentoo,debian
Posts: 47

Rep: Reputation: 15

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:

Hope this helps...
Old 10-24-2003, 11:05 AM   #3
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
Registered: Oct 2003
Location: Amsterdam
Distribution: gentoo,debian
Posts: 47

Rep: Reputation: 15

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 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 .

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

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

So the first thing we want to do now is check whether you already have the 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:

Maybe it will be of some help???


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:54 PM.

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