Hi,
if we compile with program suffix, the at least on cmake build
tex2lyx2.1 is not able to find lyx2.1. Instead, it is searching for
"lyx2.1.1"

I could not find, where the relevant code is ...

        #strace -o xx -f ...
        ...
        #egrep <build-dir> xx
                17932 stat("/usr/BUILD/BuildLyxGit/bin/tex2lyx2.1", 
{st_mode=S_IFREG|0775, st_size=2106030, ...}) = 0
                17932 stat("/usr/BUILD/BuildLyxGit/bin/lyx2.1.1", 
0x7fff326b1c50) = -1 ENOENT (No such file or directory)
                17932 stat("/usr/BUILD/BuildLyxGit/bin/lyx2.1.1", 
0x7fff326b1e00) = -1 ENOENT (No such file or directory)
                17932 stat("/usr/BUILD/BuildLyxGit/lyx2.1.1", 0x7fff326b1c50) = 
-1 ENOENT (No such file or directory)
                17932 stat("/usr/BUILD/BuildLyxGit/lyx2.1.1", 0x7fff326b1e00) = 
-1 ENOENT (No such file or directory)
                17932 stat("/usr/BUILD/BuildLyxGit/bin/tex2lyx2.1", 
{st_mode=S_IFREG|0775, st_size=2106030, ...}) = 0
                17932 stat("/usr/BUILD/BuildLyxGit/bin/lyx2.1.1", 
0x7fff326b1c50) = -1 ENOENT (No such file or directory)
                17932 stat("/usr/BUILD/BuildLyxGit/bin/lyx2.1.1", 
0x7fff326b1e00) = -1 ENOENT (No such file or directory)
                17932 stat("/usr/BUILD/BuildLyxGit/lyx2.1.1", 0x7fff326b1c50) = 
-1 ENOENT (No such file or directory)
                17932 stat("/usr/BUILD/BuildLyxGit/lyx2.1.1", 0x7fff326b1e00) = 
-1 ENOENT (No such file or directory)

It should have search for "/usr/BUILD/BuildLyxGit/lyx2.1"

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to