Is there anyway to configure MiKTeX so that it locates script engine perl.exe?











up vote
0
down vote

favorite












I am using MiKTeX and I keep receiving the following error from latexmk.exe even if I have done all the necessary actions to handle this: Downloaded latexmk 4.48, created a folder scriptslatexmkperl, copied latexmk.bat & latexmk.pl in it and added in latexmk.bat the full path of the perl.exe in my PC)



Unfortunately, the error message does not indicate where is latexmk.exe looking for the perl engine -- big S/W flaw! So, how can I find where is MiKTeX looking for this script engine so that I can either move latexmk.bat & latexmk.pl in there or configure MiKTeX to look for the necessary files in scriptslatexmkperl ?



(Added later)
Here are the 2 error message lines:



latexmk: The script engine could not be found.



latexmk: Data: scriptEngine="perl.exe"



(Note: I have also tried using the parent folder: scriptslatexmk. No luck! All the scripts are there. Where else is MiKTeX looking for latexmk.pl???)










share|improve this question
















bumped to the homepage by Community 20 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Welcome to TeX.SE!
    – Cragfelt
    Nov 28 '17 at 8:30






  • 1




    You are not writing which error you get. Why do you install latexmk manually and not with the package manager?
    – Ulrike Fischer
    Nov 28 '17 at 8:50










  • Oh sorry. I had in mind doing that, of course, but ... Here are the 2 error message lines: latexmk: The script engine could not be found. latexmk: Data: scriptEngine="perl.exe"
    – Alkis
    Nov 29 '17 at 11:36












  • I installed the WiKTeX package. It installed latexmk.exe but not latexmk.pl and latexmk.bat. That's why I downloaded and added them later. I have read this solution in another tex.stackexchange.com question.
    – Alkis
    Nov 29 '17 at 11:47










  • Related: MiKTeX and Perl scripts (and one Python script).
    – Nicola Talbot
    17 hours ago















up vote
0
down vote

favorite












I am using MiKTeX and I keep receiving the following error from latexmk.exe even if I have done all the necessary actions to handle this: Downloaded latexmk 4.48, created a folder scriptslatexmkperl, copied latexmk.bat & latexmk.pl in it and added in latexmk.bat the full path of the perl.exe in my PC)



Unfortunately, the error message does not indicate where is latexmk.exe looking for the perl engine -- big S/W flaw! So, how can I find where is MiKTeX looking for this script engine so that I can either move latexmk.bat & latexmk.pl in there or configure MiKTeX to look for the necessary files in scriptslatexmkperl ?



(Added later)
Here are the 2 error message lines:



latexmk: The script engine could not be found.



latexmk: Data: scriptEngine="perl.exe"



(Note: I have also tried using the parent folder: scriptslatexmk. No luck! All the scripts are there. Where else is MiKTeX looking for latexmk.pl???)










share|improve this question
















bumped to the homepage by Community 20 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Welcome to TeX.SE!
    – Cragfelt
    Nov 28 '17 at 8:30






  • 1




    You are not writing which error you get. Why do you install latexmk manually and not with the package manager?
    – Ulrike Fischer
    Nov 28 '17 at 8:50










  • Oh sorry. I had in mind doing that, of course, but ... Here are the 2 error message lines: latexmk: The script engine could not be found. latexmk: Data: scriptEngine="perl.exe"
    – Alkis
    Nov 29 '17 at 11:36












  • I installed the WiKTeX package. It installed latexmk.exe but not latexmk.pl and latexmk.bat. That's why I downloaded and added them later. I have read this solution in another tex.stackexchange.com question.
    – Alkis
    Nov 29 '17 at 11:47










  • Related: MiKTeX and Perl scripts (and one Python script).
    – Nicola Talbot
    17 hours ago













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am using MiKTeX and I keep receiving the following error from latexmk.exe even if I have done all the necessary actions to handle this: Downloaded latexmk 4.48, created a folder scriptslatexmkperl, copied latexmk.bat & latexmk.pl in it and added in latexmk.bat the full path of the perl.exe in my PC)



Unfortunately, the error message does not indicate where is latexmk.exe looking for the perl engine -- big S/W flaw! So, how can I find where is MiKTeX looking for this script engine so that I can either move latexmk.bat & latexmk.pl in there or configure MiKTeX to look for the necessary files in scriptslatexmkperl ?



(Added later)
Here are the 2 error message lines:



latexmk: The script engine could not be found.



latexmk: Data: scriptEngine="perl.exe"



(Note: I have also tried using the parent folder: scriptslatexmk. No luck! All the scripts are there. Where else is MiKTeX looking for latexmk.pl???)










share|improve this question















I am using MiKTeX and I keep receiving the following error from latexmk.exe even if I have done all the necessary actions to handle this: Downloaded latexmk 4.48, created a folder scriptslatexmkperl, copied latexmk.bat & latexmk.pl in it and added in latexmk.bat the full path of the perl.exe in my PC)



Unfortunately, the error message does not indicate where is latexmk.exe looking for the perl engine -- big S/W flaw! So, how can I find where is MiKTeX looking for this script engine so that I can either move latexmk.bat & latexmk.pl in there or configure MiKTeX to look for the necessary files in scriptslatexmkperl ?



(Added later)
Here are the 2 error message lines:



latexmk: The script engine could not be found.



latexmk: Data: scriptEngine="perl.exe"



(Note: I have also tried using the parent folder: scriptslatexmk. No luck! All the scripts are there. Where else is MiKTeX looking for latexmk.pl???)







miktex latexmk






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 29 '17 at 11:49

























asked Nov 28 '17 at 8:13









Alkis

267




267





bumped to the homepage by Community 20 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 20 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.














  • Welcome to TeX.SE!
    – Cragfelt
    Nov 28 '17 at 8:30






  • 1




    You are not writing which error you get. Why do you install latexmk manually and not with the package manager?
    – Ulrike Fischer
    Nov 28 '17 at 8:50










  • Oh sorry. I had in mind doing that, of course, but ... Here are the 2 error message lines: latexmk: The script engine could not be found. latexmk: Data: scriptEngine="perl.exe"
    – Alkis
    Nov 29 '17 at 11:36












  • I installed the WiKTeX package. It installed latexmk.exe but not latexmk.pl and latexmk.bat. That's why I downloaded and added them later. I have read this solution in another tex.stackexchange.com question.
    – Alkis
    Nov 29 '17 at 11:47










  • Related: MiKTeX and Perl scripts (and one Python script).
    – Nicola Talbot
    17 hours ago


















  • Welcome to TeX.SE!
    – Cragfelt
    Nov 28 '17 at 8:30






  • 1




    You are not writing which error you get. Why do you install latexmk manually and not with the package manager?
    – Ulrike Fischer
    Nov 28 '17 at 8:50










  • Oh sorry. I had in mind doing that, of course, but ... Here are the 2 error message lines: latexmk: The script engine could not be found. latexmk: Data: scriptEngine="perl.exe"
    – Alkis
    Nov 29 '17 at 11:36












  • I installed the WiKTeX package. It installed latexmk.exe but not latexmk.pl and latexmk.bat. That's why I downloaded and added them later. I have read this solution in another tex.stackexchange.com question.
    – Alkis
    Nov 29 '17 at 11:47










  • Related: MiKTeX and Perl scripts (and one Python script).
    – Nicola Talbot
    17 hours ago
















Welcome to TeX.SE!
– Cragfelt
Nov 28 '17 at 8:30




Welcome to TeX.SE!
– Cragfelt
Nov 28 '17 at 8:30




1




1




You are not writing which error you get. Why do you install latexmk manually and not with the package manager?
– Ulrike Fischer
Nov 28 '17 at 8:50




You are not writing which error you get. Why do you install latexmk manually and not with the package manager?
– Ulrike Fischer
Nov 28 '17 at 8:50












Oh sorry. I had in mind doing that, of course, but ... Here are the 2 error message lines: latexmk: The script engine could not be found. latexmk: Data: scriptEngine="perl.exe"
– Alkis
Nov 29 '17 at 11:36






Oh sorry. I had in mind doing that, of course, but ... Here are the 2 error message lines: latexmk: The script engine could not be found. latexmk: Data: scriptEngine="perl.exe"
– Alkis
Nov 29 '17 at 11:36














I installed the WiKTeX package. It installed latexmk.exe but not latexmk.pl and latexmk.bat. That's why I downloaded and added them later. I have read this solution in another tex.stackexchange.com question.
– Alkis
Nov 29 '17 at 11:47




I installed the WiKTeX package. It installed latexmk.exe but not latexmk.pl and latexmk.bat. That's why I downloaded and added them later. I have read this solution in another tex.stackexchange.com question.
– Alkis
Nov 29 '17 at 11:47












Related: MiKTeX and Perl scripts (and one Python script).
– Nicola Talbot
17 hours ago




Related: MiKTeX and Perl scripts (and one Python script).
– Nicola Talbot
17 hours ago










1 Answer
1






active

oldest

votes

















up vote
0
down vote













I found that the path of perl.exe must be in environment PATH. This is the only way I could make MiKTeX's tatexmk.exe run.



So, the answer to the question is that MiKTeX is not configuarable as far as this issue is concerned.






share|improve this answer

















  • 1




    If perl was correctly installed, MiKTeX should find it . Which distribution of perl do you have?
    – Bernard
    Nov 30 '17 at 19:20













Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f403479%2fis-there-anyway-to-configure-miktex-so-that-it-locates-script-engine-perl-exe%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













I found that the path of perl.exe must be in environment PATH. This is the only way I could make MiKTeX's tatexmk.exe run.



So, the answer to the question is that MiKTeX is not configuarable as far as this issue is concerned.






share|improve this answer

















  • 1




    If perl was correctly installed, MiKTeX should find it . Which distribution of perl do you have?
    – Bernard
    Nov 30 '17 at 19:20

















up vote
0
down vote













I found that the path of perl.exe must be in environment PATH. This is the only way I could make MiKTeX's tatexmk.exe run.



So, the answer to the question is that MiKTeX is not configuarable as far as this issue is concerned.






share|improve this answer

















  • 1




    If perl was correctly installed, MiKTeX should find it . Which distribution of perl do you have?
    – Bernard
    Nov 30 '17 at 19:20















up vote
0
down vote










up vote
0
down vote









I found that the path of perl.exe must be in environment PATH. This is the only way I could make MiKTeX's tatexmk.exe run.



So, the answer to the question is that MiKTeX is not configuarable as far as this issue is concerned.






share|improve this answer












I found that the path of perl.exe must be in environment PATH. This is the only way I could make MiKTeX's tatexmk.exe run.



So, the answer to the question is that MiKTeX is not configuarable as far as this issue is concerned.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 30 '17 at 18:36









Alkis

267




267








  • 1




    If perl was correctly installed, MiKTeX should find it . Which distribution of perl do you have?
    – Bernard
    Nov 30 '17 at 19:20
















  • 1




    If perl was correctly installed, MiKTeX should find it . Which distribution of perl do you have?
    – Bernard
    Nov 30 '17 at 19:20










1




1




If perl was correctly installed, MiKTeX should find it . Which distribution of perl do you have?
– Bernard
Nov 30 '17 at 19:20






If perl was correctly installed, MiKTeX should find it . Which distribution of perl do you have?
– Bernard
Nov 30 '17 at 19:20




















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f403479%2fis-there-anyway-to-configure-miktex-so-that-it-locates-script-engine-perl-exe%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Accessing regular linux commands in Huawei's Dopra Linux

Can't connect RFCOMM socket: Host is down

Kernel panic - not syncing: Fatal Exception in Interrupt