Jose' Matos wrote:
> $ ./tex2lyx ~/test.tex
> Unable to determine the system directory having searched
>         /home/jamatos/lyx/lyx-devel/src/share/lyx-1.4.0cvs/
> Try the '-sysdir' command line parameter or set the environment variable
> LYX_DIR_13x to the LyX system directory containing the file
> `chkconfig.ltx'.
> 
> Any help?

Ahhhh.

The scheme expects that the binary to be in the <top-build-dir>/src
directory, but tex2lyx is in the <top-build-dir>/src/tex2lyx directory.
See get_build_dirs:

    string const binary_dir = OnlyPath(binary);
    string const build_support_dir =
        NormalizePath(AddPath(binary_dir, "../lib"));

    if (!FileSearch(build_support_dir, "lyxrc.defaults").empty())

Hmmmm. Any ideas on how best to tackle this?

-- 
Angus

Reply via email to