Am 28. Dezember 2015 11:41:02 MEZ, schrieb Kornel Benko <kor...@lyx.org>: >Am Montag, 28. Dezember 2015 um 05:24:59, schrieb Scott Kostyshak ><skost...@lyx.org> >> On Mon, Dec 28, 2015 at 11:07:18AM +0100, Peter Kümmel wrote: >> > Am 28. Dezember 2015 07:28:55 MEZ, schrieb Scott Kostyshak ><skost...@lyx.org>: >> > >On Sun, Dec 27, 2015 at 05:52:04AM -0500, Scott Kostyshak wrote: >> > >> Peter recently added a script to build LyX with mingw, but it >does >> > >not >> > >> work for me. Does it work for anyone else? >> > >> >> > >> $ ./development/cmake/scripts/xmingw >> > >> Usage: xmingw <path to LyX sources> >> > >> $ ./development/cmake/scripts/xmingw ./ >> > >> --------------------------------------------------------- >> > >> ---------- Building LyX-2015.12.27-10.49 >> > >> --------------------------------------------------------- >> > >> Checking mingw installation ... >> > >> 4.9.2 >> > >> Checking Qt installation ... >> > >> .//../lyx-dependencies/Qt-5.5.1-i686-w64-mingw32/bin/qmake >> > >> ./development/cmake/scripts/xmingw: line 95: ./: Is a directory >> > >> Command failed >> > >> $ >> > >> >> > >> It seems xmingw wants a folder as an argument, but the >underlying >> > >qmake >> > >> command wants a .pro file? >> > > >> > >CC'ing Peter in case he doesn't follow this list. >> > > >> > >Scott >> > >> > I only tested with an out of source build directory. Maybe it works >in your case with an absolute path. >> >> Same error: >> >> $ /home/scott/lyxbuilds/master/repo/development/cmake/scripts/xmingw >/home/scott/lyxbuilds/master/repo >> --------------------------------------------------------- >> ---------- Building LyX-2015.12.28-10.23 >> --------------------------------------------------------- >> Checking mingw installation ... >> 4.9.2 >> Checking Qt installation ... >> >/home/scott/lyxbuilds/master/repo/../lyx-dependencies/Qt-5.5.1-i686-w64-mingw32/bin/qmake >> /home/scott/lyxbuilds/master/repo/development/cmake/scripts/xmingw: >line >> 95: /home/scott/lyxbuilds/master/repo: Is a directory >> Command failed >> $ > >I get something different: >$ /usr2/src/lyx/lyx-git/development/cmake/scripts/xmingw >/usr2/src/lyx/lyx-git >... >Checking Qt installation ... >/usr2/src/lyx/lyx-git/../lyx-dependencies/Qt-5.5.1-i686-w64-mingw32/bin/qmake >/usr2/src/lyx/lyx-git/development/cmake/scripts/xmingw: 95: >/usr2/src/lyx/lyx-git/development/cmake/scripts/xmingw: >/usr2/src/lyx/lyx-git: Permission denied >Command failed > >> Scott > > Kornel
Ah, the cmakebin variable is not set, a rest of the bot script. Replacing the variable by cmake should fix it.