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

Hi, monks
I had installed successfully on unix server
hp83000_5.4.5+6, but failed on hp93000_3.2.11
(I installed Tk800.015)
when I typed:perl Makefile.PL
syntax error in file Makefile.PL at line 1,next 2 tokens "use 5.00404" syntax error in file Makefile.PL at line 11,next 2 tokens "@ARGV and" syntax error in file Makefile.PL at line12,next2 tokens "OS2_massage(" syntax error in file Makefile.PL at line 15,next2 tokens "not defined" syntax error in file Makefile.PL at line 18,next 2 tokens "use lib" syntax error in file Makefile.PL at line 25,next 2 tokens "*MY:" Spurious backslash ignored at Makefile.PL line 25. syntax error in file Makefile.PL at line 33,next 2 tokens "my $plibs " syntax error in file Makefile.PL at line 34,next 2 tokens "my $libs " syntax error in file Makefile.PL at line 37,next 2 tokens "my $lib" syntax error in file Makefile.PL at line 45,next 2 tokens "}" Makefile.PL has too many errors.
and there's another problem in hp93000
when I changed to superuser, I can't use perl
at all. how could it happen?
How dow you find out the version of perl or it's module?

Replies are listed 'Best First'.
Re: Install Tk
by starbolin (Hermit) on Aug 03, 2006 at 04:11 UTC

    tanyeun writes:

    "...when I changed to superuser, I can't use perl at all. "

    Either your PATH is not set to point to the directory where perl resides or perl is not owned by group wheel.

    "how could it happen?"

    Perhaps the System Operator doesn't want you to run perl as root?


    s//----->\t/;$~="JAPH";s//\r<$~~/;{s|~$~-|-~$~|||s |-$~~|$~~-|||s,<$~~,<~$~,,s,~$~>,$~~>,, $|=1,select$,,$,,$,,1e-1;print;redo}
      after the installation of perl5.8.8
      this problem is fixed
      I don't know why
      mabe the former user didn't install perl properly
      but how could it be???
Re: Install Tk
by GrandFather (Saint) on Aug 03, 2006 at 02:09 UTC

    perl -V gets you version information. Beyond that sorry I can't help.


    DWIM is Perl's answer to Gödel
      I checked the version of each:
      hp83k perl5.8.8
      hp93k perl4
      so I guessed it was the version problem
      after the installation of perl5.8.8 on hp93k
      the error message became:
      Can't locate Tk/MMtry.pm in @INC (@INC contains: /home/prod/zDavid/Tk8 +00.015 /opt/perl5/lib/5.8.8/PA-RISC2.0 /opt/perl5/lib/5.8.8 /opt/perl +5/lib/site_perl/5.8.8/PA-RISC2.0 /opt/perl5/lib/site_perl/5.8.8 /opt/ +perl5/lib/site_perl/5.6.1 /opt/perl5/lib/site_perl) at ./myConfig lin +e 7. BEGIN failed--compilation aborted at ./myConfig line 7. Compilation failed in require at Makefile.PL line 17. BEGIN failed--compilation aborted at Makefile.PL line 19.
      any suggestion will be pleased
      and,
      during the installation of perl5.8.8
      there were some error messages,but continued on
      how do I know if the installation is successfully?
      how can I find the error messages showed up?
      can any monks explain each command below for me?
      Configure -des
      make
      make test
      make install
      I just typed in each everytime and watched the process
      but not knowing what was going on
      thanks