Closed dvzrv closed 3 months ago
Hi I have nothing changed on this Check, it's Here https://github.com/brummer10/guitarix/blob/master/trunk/src/LV2/xputty/wscript#L19
So I suspect that the system waf handle that now different.
I'm building with a distribution provided waf (2.0.27) as the bundled version is always outdated and does not support current/newer Python.
The provided version works fine with Python 3.11. There was an incompatibility that was fixed in 0.45
I've done a quick test with waf-2.0.27 and it shows that the check for X11 must be changed to make it work, this is the diff
--- a/trunk/src/LV2/xputty/wscript
+++ b/trunk/src/LV2/xputty/wscript
@@ -16,8 +16,8 @@ def configure(conf):
# workaround: "-liconv" required at end of linker cmdline
conf.env.append_value('STLIB_CAIRO', ['iconv'])
else:
- conf.check_cc(lib='X11', uselib_store='X11', mandatory=True) and \
- conf.check_cc(header_name = 'X11/Xlib.h', uselib_store = 'X11', mandat$
+ conf.check(lib='X11', uselib_store='X11', mandatory=True) and \
+ conf.check(header_name = 'X11/Xlib.h', uselib_store = 'X11', mandatory$
def build(bld):
if not (bld.env.LV2GUI):
. . and as it works this way as well with the current included waf version I pushed the fix to the repository now.
@brummer10 many thanks for getting back on this so quickly!
The mentioned patch indeed solves the issue for me! :tada:
Hi! :wave:
I'm currently trying to upgrade the Arch Linux package but am unable to do so:
Build script: https://gitlab.archlinux.org/archlinux/packaging/packages/guitarix/-/blob/9c693d61868b88c8847701f642b3093ddaa0e5b4/PKGBUILD
Log: config.log
FTR: libx11 is definitely available in the build environment and 0.45.0 was able to find it just fine.
I'm building with a distribution provided waf (2.0.27) as the bundled version is always outdated and does not support current/newer Python. I am not sure whether this is a configuration issue or a waf issue (but on my side nothing has changed since last version (0.45.0), apart from waf 2.0.26 -> 2.0.27)