Chankey Pathak has asked for the wisdom of the Perl Monks concerning the following question:

I downloaded the Tk module. Unpacked it by zcat Tk800.0_01.tar.gz | tar xf - then cd to that directory (cd Tk-804.029_500) then perl Makefile.PL and I got this output: http://i.stack.imgur.com/FZWWI.png

I'm using RHEL6. I installed the missing packages and then the perl Makefile.PL worked fine after that I tried 'make' and it gave error.

Check the screenshot here-> http://bit.ly/rs4nKK

Replies are listed 'Best First'.
Re: Problem installing Perl module
by CountZero (Bishop) on Aug 11, 2011 at 06:33 UTC
    Is there a reason why you are not installing this module through cpan, cpanm or cpanplus?

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

      Is there a reason why you are not installing this module through cpan, cpanm or cpanplus?

      Neither cpan, cpanm nor cpanplus would make a difference with missing system libraries or header files

        I don't think the screen shot you captured includes all of the relevant error information. Why not post the entire install output here, wrapped in <readmore>...</readmore> tags? I know, it's big.

        (Cross-posted to StackOverflow.) Hint: If you don't get a good answer at either this website here, or that one there, it's probably a safe bet the reason is the quality of the question, not the difficulty of the task.


        Dave

        True, but I never said it would make a difference.

        And in some cases our tried and trusted cpan* tools can install missing dependencies which contain these headers files and such.

        The Alien set of modules are good for such matters: if one of the modules you want to install has made it a dependency, cpan will rescue you.

        CountZero

        A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

Re: Problem installing Perl module
by Anonymous Monk on Aug 11, 2011 at 06:31 UTC
Re: Problem installing Perl module
by perlaintdead (Scribe) on Aug 11, 2011 at 11:35 UTC

    if your on a windows box u can us activestate's ppm

      but it looks like you run linux. never mind

        And ppm runs on linux and macosx as well