Am 02.04.2012 12:38, schrieb kmx via RT:
Show quoted text> <URL:
https://rt.cpan.org/Ticket/Display.html?id=62853>
>
>
>> Good news: My reported problem has gone with the new version 5.14.2.1 . Bad news: While starting to use Strawberry Perl, I soon encountered a new problem. I entered the command
>>
>> cpan Tcl
>>
>> The installation failed. I am attaching a log file to this email. In this logfile you will find the message "Der Befehl "tclsh" ist entweder falsch ...". This translates to "The command "tclsh" is eiher misspelled or couldn't be found".
>>
>> The same happens when trying "cpan Tkx", and it happens also with Strawberry Perl Portable Edition, versions 5.14.2.1 and 5.12.3.0. I need Tkx for my current project.
>>
>> I am using Windows XP with SP3.
>>
>
> I am afraid my knowledge of Tcl is nearly zero but try to apply the
> patch from
https://rt.cpan.org/Public/Bug/Display.html?id=27636
I am only a simple user of Perl, so I had no idea how to install a patch. Good luck I got the following recipe from the forum www.perl-community.de:
---------------------------------------------------------
cpan aufrufen
Show quoted textcpan> look Tcl
C:\strawberry\cpan\build\Tcl...> move C:\TEMP\strawberry-perl.patch .
C:\strawberry\cpan\build\Tcl...> patch < strawberry-perl.patch
C:\strawberry\cpan\build\Tcl...> perl Makefile.pl
C:\strawberry\cpan\build\Tcl...> dmake
C:\strawberry\cpan\build\Tcl...> dmake test
C:\strawberry\cpan\build\Tcl...> dmake install
C:\strawberry\cpan\build\Tcl...> exit
Show quoted textcpan> q
---------------------------------------------------------
While executing "patch < strawberry-perl.patch", i got the following error:
patching file Makefile.PL
Hunk #1 succeeded at 196 (offset 14 lines).
Hunk #2 FAILED at 264.
1 out of 2 hunks FAILED -- saving rejects to file Makefile.PL.rej
Nevertheless I continued with "perl Makefile.pl" and got this error:
Der Befehl "tclsh" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
(Translated: The command "tclsh" is either misspelled or couldn't be found)
This is exactly the same message that I got when I originally tried to install Tcl (see my previous email). I will include the log file of my attempt to install the patch, and also the file Makefile.PL.rej. Maybe this can help to find out what went wrong.
I believe chances are good that the problem is not in the patch, instead there is an error in the recipe above. I hope you will have an opportunity to get this checked.
Kind regards
Klaus