Problem regarding Latexdiff, Perl and MikTex 2.9 on Win7
Questions answered, see update above: "adding C:\progs\perl\site\lib to the new Environment (User) Variables PERL5LIB and PERLLIB."
FLW
Updated on August 01, 2022Comments
-
FLW over 1 year
I try to implement this interesting solution for latexdiff and multiple files. There are other questions regarding missing perl scripts but I cannot relate them or their solutions to my problem (i.e. perl script not found)(perhaps because I am a beginner). However using...
- Win7 (64-bit)
- GitHub (Sourcetree, Git version 1.8.0msysgit.0)
- MikTex 2.9
- ActivePerl version 5.16.2.1602
- cygwin
I receive the following error:
I am a beginner but already checked that Algorithm-diff is installed:
C:\progs\perl\site\lib\Algorithm
Can someone help? I cannot find the path
/usr/lib/perl5...
. Latexdiff is installed inC:\Program Files\MiKTeX 2.9\scripts\latexdiff
. Perl is installed inC:\progs\perl
but the folderlib\perl5
is not there.Update:
Tried to implement this solution for How to change @INC to find Perl modules in non-standard locations by adding
C:\progs\perl\site\lib
to the new Environment (User) Variables PERL5LIB and PERLLIB. It did work.-
texenthusiast over 10 yearsBy any chance are they related ? Problem executing script for latexdiff.
-
pluke almost 4 yearsI also had this issue and found that by using a theportable version of perl from strawberryperl.com/releases.html, placing this in
C:\tmp\perl
runningC:\tmp\perl\portableshell.bat
and then runninglatexdiff
from there worked fine -
Foad over 3 yearsfor those who end up here, you need to make sure you are adding the
latexdiff
to the right version of Perl. If you are on Windows usewhere perl
and on Linux/macOS usewhich perl
. If you have multiple versions of perl then you might face some issues.
-
Tvde1 over 4 yearsPut your answer in the answer, not the question.