LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   making TK.pm (https://www.linuxquestions.org/questions/mandriva-30/making-tk-pm-356620/)

garvint 08-24-2005 04:37 PM

making TK.pm
 
make[1]: *** No rule to make target `/usr/lib/perl5/5.8.7/i386-linux/CORE/EXTERN.h', needed by `ClientWin.o'. Stop.
make[1]: Leaving directory `/home/garvint/dp/guiguts/src/Tk-804.027/pTk'
make: *** [pTk/libpTk.a] Error 2

What does this error mean?

tkedwards 08-24-2005 06:18 PM

What are you trying to install? Have you setup your repositories via http://easyurpmi.zarb.org and tried to install it through the package management system first?

garvint 08-24-2005 06:48 PM

Quote:

Originally posted by tkedwards
What are you trying to install? Have you setup your repositories via http://easyurpmi.zarb.org and tried to install it through the package management system first?
Yes, urpmi doesn't recognise tk.pm as a package. I'm trying to install a perl module. Shouldn't it be self-contained?

tkedwards 08-24-2005 08:20 PM

tk.pm is a file name, not a package name. The Mandrake package is called 'perl-Tk' and its in main so its either on your CDs or on the full main repository you can get access to through easyurpmi. So just install the package and save yourself the trouble of trying to compile it.

garvint 08-24-2005 08:32 PM

Ah. Thanks. I like doing things the hard way. :)

garvint 08-24-2005 09:07 PM

Thanks all. I got the program to run.

garvint 09-05-2005 09:44 PM

Drat!
 
I should have stated how I solved my problem (both for others benefit and for my own when I reinstalled and no longer had the program installed.)

I'm trying to install tk.pm; tried using urpmi but it doesn't have perl-tk as a package. (Do I need to change repositories?)

What's CPAN webpage? I've tried googling and I guess I don't remember what the Perl Module repository is called.

tkedwards 09-05-2005 11:11 PM

Quote:

I'm trying to install tk.pm; tried using urpmi but it doesn't have perl-tk as a package. (Do I need to change repositories?)
It's called perl-Tk (perl-Tk-804.027-4mdk.i586.rpm) and its in the main repository. If you just downloaded the CDs or DVD you will not have the full main repo so you have to goto easyurpmi and setup access to it through a mirror.

Quote:

What's CPAN webpage? I've tried googling and I guess I don't remember what the Perl Module repository is called.
http://search.cpan.org/

garvint 09-06-2005 08:21 AM

Thanks. I'll try that.


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