lmtx installation paths not working
Hello list, I cannot make fresh install of lmtx to work. The structure after unzipping: C:\data\context\bin\beta C:\data\context\bin\beta\bin C:\data\context\bin\beta\tex C:\data\context\bin\beta\tex\texmf C:\data\context\bin\beta\tex\texmf-cache C:\data\context\bin\beta\tex\texmf-context etc. First compilation of texfile is not working, so mtxrun --generate is the friend. C:\data>mtxrun --generate These paths contain probably correct path (watch /beta): resolvers | resolving | variable 'SELFAUTOLOC' set to ' *C:/data/context/bin/beta/bin*' resolvers | resolving | variable 'SELFAUTODIR' set to ' *C:/data/context/bin/beta*' resolvers | resolving | variable 'SELFAUTOPARENT' set to ' *C:/data/context/bin*' resolvers | resolving | variable 'TEXMFCNF' set to '' resolvers | resolving | variable 'TEXMF' set to '' resolvers | resolving | variable 'TEXOS' set to 'beta' resolvers | resolving | and the paths bellow have no */beta* from above, they are derived from selfautoparent *C:/data/context/bin *(without /beta), so no surprise they cannot be found. resolvers | resolving | using configuration specification 'home:texmf/web2c;selfautoparent:/texmf-local/web2c;selfautoparent:/texmf-context/web2c;selfautoparent:/texmf-dist/web2c;selfautoparent:/texmf/web2c' resolvers | resolving | resolvers | resolving | looking for regular 'texmfcnf.lua' on given path 'C:/Users/jano/texmf/web2c' from specification 'home:texmf/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path *'C:/data/context/bin/texmf-local/web2c*' from specification 'selfautoparent:/texmf-local/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '*C:/data/context/bin/texmf-context/web2c'* from specification 'selfautoparent:/texmf-context/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '*C:/data/context/bin/texmf-dist/web2c*' from specification 'selfautoparent:/texmf-dist/web2c' [... skip ...] resolvers | resolving | looking for regular 'texmfcnf.lua' on given path resolvers | resolving | resolvers | resolving | warning: no lua configuration files found resolvers | resolving | no texmf paths are defined (using TEXMF) resolvers | resolving | mtxrun | mtxrun | elapsed lua time: 0.026 seconds Do you have an idea how to fix problem? I will be thankful for an advice, it is quite urgent (everything was working yesterday). Thank you, Jano
Hello,
I didn't mention the platform: context-setup-win64.
Thank you,
Jano
On Tue, Jun 14, 2022 at 1:20 PM Jano Kula
Hello list,
I cannot make fresh install of lmtx to work. The structure after unzipping: C:\data\context\bin\beta C:\data\context\bin\beta\bin C:\data\context\bin\beta\tex C:\data\context\bin\beta\tex\texmf C:\data\context\bin\beta\tex\texmf-cache C:\data\context\bin\beta\tex\texmf-context etc.
First compilation of texfile is not working, so mtxrun --generate is the friend.
C:\data>mtxrun --generate
These paths contain probably correct path (watch /beta):
resolvers | resolving | variable 'SELFAUTOLOC' set to ' *C:/data/context/bin/beta/bin*' resolvers | resolving | variable 'SELFAUTODIR' set to ' *C:/data/context/bin/beta*' resolvers | resolving | variable 'SELFAUTOPARENT' set to ' *C:/data/context/bin*' resolvers | resolving | variable 'TEXMFCNF' set to '' resolvers | resolving | variable 'TEXMF' set to '' resolvers | resolving | variable 'TEXOS' set to 'beta' resolvers | resolving |
and the paths bellow have no */beta* from above, they are derived from selfautoparent *C:/data/context/bin *(without /beta), so no surprise they cannot be found.
resolvers | resolving | using configuration specification 'home:texmf/web2c;selfautoparent:/texmf-local/web2c;selfautoparent:/texmf-context/web2c;selfautoparent:/texmf-dist/web2c;selfautoparent:/texmf/web2c' resolvers | resolving | resolvers | resolving | looking for regular 'texmfcnf.lua' on given path 'C:/Users/jano/texmf/web2c' from specification 'home:texmf/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path *'C:/data/context/bin/texmf-local/web2c*' from specification 'selfautoparent:/texmf-local/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '*C:/data/context/bin/texmf-context/web2c'* from specification 'selfautoparent:/texmf-context/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '*C:/data/context/bin/texmf-dist/web2c*' from specification 'selfautoparent:/texmf-dist/web2c' [... skip ...] resolvers | resolving | looking for regular 'texmfcnf.lua' on given path resolvers | resolving | resolvers | resolving | warning: no lua configuration files found resolvers | resolving | no texmf paths are defined (using TEXMF) resolvers | resolving | mtxrun | mtxrun | elapsed lua time: 0.026 seconds
Do you have an idea how to fix problem? I will be thankful for an advice, it is quite urgent (everything was working yesterday).
Thank you, Jano
On Tue, 14 Jun 2022, Jano Kula via ntg-context wrote:
Hello list,
I cannot make fresh install of lmtx to work. The structure after unzipping: C:\data\context\bin\beta C:\data\context\bin\beta\bin C:\data\context\bin\beta\tex C:\data\context\bin\beta\tex\texmf C:\data\context\bin\beta\tex\texmf-cache C:\data\context\bin\beta\tex\texmf-context etc.
First compilation of texfile is not working, so mtxrun --generate is the friend.
C:\data>mtxrun --generate
It appears that you are running the wrong mtxrun. There should be mtxrun in C:\data\context\beta\texmf-win64\bin (the texmf-win64 directory might be named slightly differently, I haven't used windows in a while). If you add that to your path, then mtxrun --generate should work. Aditya
On 14 Jun 2022, at 12:20, Jano Kula via ntg-context
wrote: Do you have an idea how to fix problem? I will be thankful for an advice, it is quite urgent (everything was working yesterday).
Do you have an anti-virus product installed? In the past I've noticed that Symantec sometimes gives a false positive on some of the ConTeXt files as they are installed and silently deletes them thinking they contain malware. The result is a broken ConTeXt because files are missing but you have no idea which files are missing. :-( Try temporarily disabling AV and then do a complete re-install into an empty C:/data/context directory. — Bruce Horrocks Hampshire, UK
Hello list,
thank you all for your advices.
Aditya was right. There was some mess in PATH variable.
Lesson learned: start with explicit paths to executables.
Still where mtxrun (Windows) was pointing to the right one, which was
fooling me.
I've noticed the problem with antivirus SW during the first installation of
lmtx.
It wasn't the case this time, but one should be aware antivirus programs
don't trust mtxrun.exe.
Thank you once again,
Jano
On Wed, Jun 15, 2022 at 11:23 PM Bruce Horrocks
On 14 Jun 2022, at 12:20, Jano Kula via ntg-context
wrote: Do you have an idea how to fix problem? I will be thankful for an advice, it is quite urgent (everything was working yesterday).
Do you have an anti-virus product installed?
In the past I've noticed that Symantec sometimes gives a false positive on some of the ConTeXt files as they are installed and silently deletes them thinking they contain malware.
The result is a broken ConTeXt because files are missing but you have no idea which files are missing. :-(
Try temporarily disabling AV and then do a complete re-install into an empty C:/data/context directory.
— Bruce Horrocks Hampshire, UK
participants (4)
-
Aditya Mahajan
-
Alain Delmotte
-
Bruce Horrocks
-
Jano Kula