After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 780550 - meson error looking for python3
meson error looking for python3
Status: RESOLVED FIXED
Product: json-glib
Classification: Core
Component: general
1.2.x
Other Windows
: Normal normal
: ---
Assigned To: json-glib-maint
json-glib-maint
Depends on:
Blocks:
 
 
Reported: 2017-03-25 23:15 UTC by Daniele Forghieri
Modified: 2017-04-01 15:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Daniele Forghieri 2017-03-25 23:15:40 UTC
The test/meson.build file looks for python3, using 

python3 = find_program('python3') 

that fails on windows.

From the meson site the correct way, that works also on windows, is to use:

python3 = import('python3').find_python() 

With this patch I was able to build json-glib 1.2.8 on windows with Visual studio 2015 (in the wingtk/wtk-win32 stack.

Thanks
Comment 1 Emmanuele Bassi (:ebassi) 2017-04-01 15:23:27 UTC
Thanks for testing JSON-GLib on Windows with Meson! :-)

I've pushed a fix to the master branch, and will cherry pick to the stable 1.2 branch later.