![](https://secure.gravatar.com/avatar/4f90ced6bd47c80395b33c0fde81a0d0.jpg?s=120&d=mm&r=g)
Hi Hans, Hans Hagen wrote:
i remember that there has been some discussion about this following link issue but i forgot what was the outcome
Can you incorporate the following patch in your cont-tmf.zip? It should work with most Linux systems and it should not harm on other systems. Tobias --- /dev/shm/luatools.lua 2008-10-29 12:46:21.261006248 +0100 +++ luatools.lua 2008-10-29 15:56:04.000000000 +0100 @@ -3053,9 +3053,16 @@ if not lfs.isdir(file.join(ownroot,"texmf")) then ownroot = input.normalize_name(file.join(ownpath,"..")) if not lfs.isdir(file.join(ownroot,"texmf")) then - input.verbose = true - input.report("error", "unable to identify cnf file") - return + -- On Linux installations, the file might be under $PREFIX/bin + -- while the texmf tree is under $PREFIX/share/texmf + if string.gmatch(ownpath, "/bin$") then + ownroot = input.normalize_name(file.join(ownpath,"../share")) + end + if not lfs.isdir(file.join(ownroot,"texmf")) then + input.verbose = true + input.report("error", "unable to identify cnf file") + return + end end end local texmfcnf = file.join(ownroot,"texmf-local/web2c",filename) -- for minimals and myself