DESTDIR flat doesn’t work on Windows because it prepends $DESTDIR to $CMAKE_INSTALL_PREFIX and the latter starts with a drive letter. See https://cmake.org/cmake/help/latest/envvar/DESTDIR.html.
Regards, John Ralls > On Aug 15, 2024, at 01:20, Hai Liang Wang <hailiang.hl.w...@gmail.com> wrote: > > Get some related info with > https://bugzilla.gnome.org/show_bug.cgi?id=792884 > > So, I just > checked C:\gcdev64\gnucash\stable\build\gnucash-git\share\glib-2.0\schemas > on my machine. > It contains files > like, org.gnucash.GnuCash.deprecated.gschema.xml, gschemas.compiled, etc. > 22 items totally and 283kb. > > It seems the files are generated successfully. > Not know how to get along with *DESTDIR*, which seems to be the root cause > at my situation. > > Cheers. > Hai Liang W. > > > On Thu, Aug 15, 2024 at 4:08 PM Hai Liang Wang <hailiang.hl.w...@gmail.com> > wrote: > >> hi, folks >> >> Also near the end of build phases. The build command >> `TARGET=gnucash-stable jhbuild -f jhbuildrc build ` now throw an error: >> >> *-- Installing: >> C:/gcdev64/gnucash/stable/inst/_jhbuild/root-gnucash-git/gcdev64/gnucash/stable/inst/share/gnucash/pref_transformations.xml* >> *CMake Error at gnucash/gschemas/cmake_install.cmake:72 (message):* >> * GnuCash can't be built with the DESTDIR environment variable set on >> Windows* >> * (due to bad interference with glib-compile-schemas).* >> *Call Stack (most recent call first):* >> * gnucash/cmake_install.cmake:92 (include)* >> * cmake_install.cmake:108 (include)* >> >> >> *Compiling gschema files in >> C:/gcdev64/gnucash/stable/inst/_jhbuild/root-gnucash-gitC:/gcdev64/gnucash/stable/inst/share/glib-2.0/schemas* >> *Error opening directory >> “C;C:\gcdev64\msys2\gcdev64\gnucash\stable\inst\_jhbuild\root-gnucash-gitC;C:\gcdev64\msys2\gcdev64\gnucash\stable\inst\share\glib-2.0\schemas”: >> No such file or directory* >> *-- Installing: >> C:/gcdev64/gnucash/stable/inst/_jhbuild/root-gnucash-git/gcdev64/gnucash/stable/inst/bin/gnucash.exe* >> >> So, how to fix it? >> I try to set *DESTDIR * in src\gnucash-on-windows.git\jhbuildrc, but it >> fails to run the build commond, almost quit as soon as executing, get >> nothing in trace. >> What is the right approach to deal with *DESTDIR ?* >> Thanks. >> >> Cheers. >> Hai Liang W. >> > _______________________________________________ > gnucash-user mailing list > gnucash-user@gnucash.org > To update your subscription preferences or to unsubscribe: > https://lists.gnucash.org/mailman/listinfo/gnucash-user > ----- > Please remember to CC this list on all your replies. > You can do this by using Reply-To-List or Reply-All. _______________________________________________ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.