Try to set GUILE_EXTENSIONS_PATH, but still not work.

As the root case seems to be -
*In procedure dynamic-link: file: "libgnc-html", message: "The specified
module could not be found."*

I find out GUILE_EXTENSIONS_PATH
<https://www.gnu.org/software/guile/manual/html_node/Environment-Variables.html>is
not set in the cmake guile compile command, So just append this
GUILE_EXTENSIONS_PATH
in 
gcdev64\gnucash\stable\src\gnucash-git\common\cmake_modules\GncAddSchemeTargets.cmake.

And now, when the build runs, the cmake command is -

*C:\WINDOWS\system32\cmd.exe /C "cd /D
C:\gcdev64\gnucash\stable\build\gnucash-git\gnucash\html &&
C:\gcdev64\msys2\mingw32\bin\cmake.exe -E env
PATH=C:/gcdev64/gnucash/stable/build/gnucash-git/bin\;C:/gcdev64/gnucash/stable/inst/bin\;C:/gcdev64/msys2/opt/miniconda3/envs/venv-py3/bin\;C:/gcdev64/scripts\;C:/gcdev64/msys2/mingw32/bin\;C:/gcdev64/msys2/usr/local/bin\;C:/gcdev64/msys2/usr/bin\;C:/gcdev64/msys2/usr/bin\;C:/Windows/System32\;C:/Windows\;C:/Windows/System32/Wbem\;C:/Windows/System32/WindowsPowerShell/v1.0\;C:/gcdev64/msys2/usr/bin/site_perl\;C:/gcdev64/msys2/usr/bin/vendor_perl\;C:/gcdev64/msys2/usr/bin/core_perl\;C:/gcdev64/msys2/mingw64/bin
GNC_UNINSTALLED=YES
GNC_BUILDDIR=C:/gcdev64/gnucash/stable/build/gnucash-git
GUILE_LOAD_PATH=C:/gcdev64/gnucash/stable/src/gnucash-git/gnucash/html\;C:/gcdev64/gnucash/stable/build/gnucash-git/gnucash/html\;C:/gcdev64/gnucash/stable/build/gnucash-git/gnucash/html/deprecated\;C:/gcdev64/gnucash/stable/inst/share/guile/2.2\;C:/gcdev64/gnucash/stable/build/gnucash-git/share/guile/site/2.2
GUILE_LOAD_COMPILED_PATH=C:/gcdev64/gnucash/stable/build/gnucash-git/gnucash/html\;C:/gcdev64/gnucash/stable/inst/lib/guile/2.2/ccache\;C:/gcdev64/gnucash/stable/build/gnucash-git/lib/guile/2.2/site-ccache\;C:/gcdev64/gnucash/stable/build/gnucash-git/lib/guile/2.2/site-ccache/gnucash/deprecated
GNC_MODULE_PATH=C:/gcdev64/gnucash/stable/build/gnucash-git/bin
GUILE_EXTENSIONS_PATH=C:/gcdev64/gnucash/stable/build/gnucash-git/bin
C:/gcdev64/gnucash/stable/inst/bin/guile -e "(@@ (guild) main)" -s
C:/gcdev64/gnucash/stable/inst/bin/guild compile -o
C:/gcdev64/gnucash/stable/build/gnucash-git/lib/guile/2.2/site-ccache/gnucash/html.go
C:/gcdev64/gnucash/stable/src/gnucash-git/gnucash/html/html.scm"*
---

But the same error happens.
Look forward for some help, thanks.

Full log is attached.

Cheers.
Hai Liang W.


On Wed, Aug 14, 2024 at 2:29 PM Hai Liang Wang <hailiang.hl.w...@gmail.com>
wrote:

> hi, folks
>
> During build gnucash-git with `TARGET=gnucash-stable jhbuild -f jhbuildrc
> build`, come to a problem.
> Error trace below -
>
> *In unknown file:*
>
> *           1 (load-extension "libgnc-html" "scm_init_sw_gnc_html_mod�")*
>
> *In ice-9/boot-9.scm:*
>
> *   752:25  0 (dispatch-exception _ _ _)*
>
>
>
> *ice-9/boot-9.scm:752:25: In procedure dispatch-exception:*
>
> *In procedure dynamic-link: file: "libgnc-html", message: "The specified
> module could not be found."*
>
> *[39/333] Building C object
> gnucash/gnome/CMakeFiles/gnc-gnome.dir/assistant-acct-period.c.obj*
>
> ---
>
> Now, I can find the module* libgnc-html.dll *
> in C:\gcdev64\gnucash\stable\build\gnucash-git\bin
> And *libgnc-html.dll.a*
> in C:\gcdev64\gnucash\stable\build\gnucash-git\gnucash\html
>
> How to fix this `*The specified module could not be found.*` ?
>
> Please help, thanks.
>
> Attached the full log.
>
>
>
> Cheers.
> Hai Liang W.
>

Attachment: build.202408141558.log
Description: Binary data

_______________________________________________
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.

Reply via email to