On Mon, Sep 04, 2006 at 11:08:31AM +0200, Jean-Marc Lasgouttes wrote:

> >>>>> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes:
> 
> Enrico> IIRC, the build_support dir is not correctly spotted in a
> Enrico> native Windows build. Run "lyx -dbg init" to check it.
> 
> It would be nice to investigate this.

Sorry for the noise, it was my fault :(

In the configure script there is the code brought in by
AC_DEFUN([MSYS_AC_CANONICAL_PATH]...
that transforms every path into windows style when using a mingw
environment, but into posix style when using a cygwin environment.

I am using a cygwin environment even for building a native LyX and
thus LYX_ABS_TOP_SRCDIR, LYX_ABS_INSTALLED_LOCALEDIR, and
LYX_ABS_INSTALLED_DATADIR are affected by the code above.

I was already aware of the last two, but was missing LYX_ABS_TOP_SRCDIR,
which was being hardcoded in posix style into package.C.
Once taken care of that (a simple call to cygpath in the configure script
does it) everything is right and running LyX in place works also for a
native Windows build.

Sorry again for the mishap.

-- 
Enrico

Reply via email to