I looked for an appropriate RPM on rpmfind.net, but I couldn't find one.

I decided I'd attempt to install using the interactive CPAN stuff.

Here's a short history:

I ran "perl -MCPAN -e shell" to launch the utility.

At the "cpan>" prompt I executed "install Bundle::Tk" -- and we were off to the races. Things were going pretty well until I encountered the following:

<snip>
cp widget ../blib/script/widget
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" ../blib/script/widget
Unrecognized switch: --center (-h will show valid options)
make[1]: *** [manifypods] Error 29
make[1]: Leaving directory '/root/.cpan/build/Tk800.024/demos'
make: *** [subdirs] Error 2
 /usr/bin/make  -- NOT OK
Running make test
 Can't test without successful make
Running make install
 make had returned bad status, install seems impossible
Bundle summary: The following items in Bundle::Tk had installation problems:
  Tk
</snip>

Has anyone encountered this before? I've examined "Makefile" and it seems to me that the error exists either on line 842 or on line 790, but I'm not sure which. Line 842 reads:
FIXIN = $(PERLRUN) "-MExtUtils::MY" -e "MY->fixin(shift)


and line 790 reads
POD2MAN_EXE = $(PERLRUN) "-MExtUtils::Command::MM" -e pod2man --center "perl/Tk"


What might I do to fix this aberrant behavior?

Thanks.

Ramprasad wrote:

John Burski wrote:

Greetings, All!

I was going to attempt to learn a bit of Perl/Tk, but I've run into a bit of trouble installing the Tk module.

Here's some information about my system: Red Hat 8.0, Perl version 5.8.0.
I downloaded Tk-800.024.tar.gz from CPAN. I gunzipped and extracted everything OK.
The "perl Makefile.PL" command went off without a hitch.
However, I'm not certain that the "make" command is completing properly. Here's a snippet from the typescript file:
<snip>


Manifying blib/man1/ptked.1
make[1]: Entering directory `/usr/local/src/Tk/Tk800.024/pod'
Sorry no HTML building yet
make[1]: Leaving directory `/usr/local/src/Tk/Tk800.024/pod'
]0;[EMAIL PROTECTED]:/usr/local/src/Tk/[EMAIL PROTECTED] Tk800.024]# [EMAIL PROTECTED] Tk800.024]# [EMAIL PROTECTED] Tk800.024]# [EMAIL PROTECTED] Tk800.024]# [EMAIL PROTECTED] Tk800.024]# [EMAIL PROTECTED] Tk800.024]# [EMAIL PROTECTED] Tk800.024]# [EMAIL PROTECTED] Tk800.024]# [EMAIL PROTECTED] Tk800.024]# [EMAIL PROTECTED] Tk800.024]# exit



</snip>


I searched through the typescript file, but I didn't find anything else that looked "suspicious".

Thanks for your help.


If you havent done any fancy thing on your redhat ( like upgrading perl or libc )
get perl-Tk rpms ( from rpmfind.net for eg.) and install them Save yourself the bother of compiling



Ram



----------------------------------------------------------------


NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134

MailServ: Email, IM, Proxy, Firewall, Anti-Virus, LDAP
Fleximail: Mail Storage, Management and Relaying
http://netcore.co.in

Emergic Freedom: Linux-based Thin Client-Thick Server Computing
http://www.emergic.com

BlogStreet: Top Blogs, Neighborhoods, Search and Utilities
http://www.blogstreet.com

Rajesh Jain's Weblog on Technology: http://www.emergic.org
----------------------------------------------------------------


.



-- John Burski

@HOME S.I.M.U. (Well, sometimes I am :) )

... and still searching for the cheese!




-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to