[Cin] UPD: For some reason embedded suil-0.10.6 compiled w/o X11 support?

Andrew Randrianasulu randrianasulu at gmail.com
Sat Mar 21 18:04:50 CET 2020


I think I found reason why it failed....

 256 pkg_cfg=$(call bld_path,$(1),usr/local/lib/pkgconfig):
 257 LV2_PKGCFG:=$(subst : ,:,$(foreach p,lv2 serd sord sratom lilv suil,$(call pkg_cfg,$(p))))
 258 
 259 # lv2
 260 define waf-setup
 261 $(1).cfg_vars+=./waf --version; find .waf* -type f -name "*.py" | \
 262  while read f; do sed -e '/StopIter/d' -i "$(DS)f"; done; \
 263  echo 'exec ./waf configure "$(DS)@"' > ./configure; chmod +x \
 264  ./configure;  PKG_CONFIG_PATH=$(LV2_PKGCFG) LD_LIBRARY_PATH=$(LV2_LIBPATH) 
 265 $(1).cfg_params+=\
 266  CFLAGS="-I$(call bld_path,lv2) $(foreach f,$(2), $(call inc_path,$(f))) -fPIC -std=c99"\
 267  LDFLAGS="-lm $(foreach f,$(2), $(call ld_path,$(f),usr/local/lib)) "
 268 $(1).mak_vars=(echo "all:"; echo "      ./waf -v build") > $(call bld_path,$(1),Makefile); 
 269 $(1).mak_params+=; ( cd $(1)*; ./waf install --destdir=$(call bld_path,$(1)) )
 270 endef

https://git.cinelerra-gg.org/git/?p=goodguy/cinelerra.git;a=blob;f=cinelerra-5.1/thirdparty/Makefile;h=0c595eee31c99e5ef0ce29743ffb3f910507d272;hb=HEAD

just add system's PKG_CONFIG_PATH to this LV2_PKGCFG ?

Or ... I missed something?

----------  Пересланное сообщение  ----------

Тема: For some reason embedded suil-0.10.6 compiled w/o X11 support?
Дата: Суббота 21 марта 2020
Отправитель: Andrew Randrianasulu <randrianasulu at gmail.com>
Получатель:  "Cinelerra.GG" <cin at lists.cinelerra-gg.org>


from log ..

/dev/shm/tmp/cinelerra-goodguy-20200321/cinelerra-5.1/thirdparty/suil-0.10.6/build/config.log

---------------------------------------------
Checking for 'lv2 >= 1.16.0'
['/usr/bin/pkg-config', 'lv2 >= 1.16.0', '--cflags', '--libs', 'lv2', '>=', '1.16.0']
out: -I/usr/local/include

yes
---------------------------------------------
Checking for 'x11'
['/usr/bin/pkg-config', '--cflags', '--libs', 'x11']
err: Package x11 was not found in the pkg-config search path.
Perhaps you should add the directory containing `x11.pc'
to the PKG_CONFIG_PATH environment variable
No package 'x11' found

not found
from /dev/shm/tmp/cinelerra-goodguy-20200321/cinelerra-5.1/thirdparty/suil-0.10.6: The configuration failed
---------------------------------------------
Checking for 'gtk+-2.0 >= 2.18.0'
['/usr/bin/pkg-config', 'gtk+-2.0 >= 2.18.0', '--cflags', '--libs', 'gtk+-2.0', '>=', '2.18.0']
err: Package pixman-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `pixman-1.pc'
to the PKG_CONFIG_PATH environment variable
Package 'pixman-1', required by 'cairo', not found

not found
from /dev/shm/tmp/cinelerra-goodguy-20200321/cinelerra-5.1/thirdparty/suil-0.10.6: The configuration failed
---------------------------------------------
Checking for 'gtk+-2.0'
['/usr/bin/pkg-config', '--cflags', '--libs', 'gtk+-2.0']
err: Package pixman-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `pixman-1.pc'
to the PKG_CONFIG_PATH environment variable
Package 'pixman-1', required by 'cairo', not found

not found
from /dev/shm/tmp/cinelerra-goodguy-20200321/cinelerra-5.1/thirdparty/suil-0.10.6: The configuration failed
---------------------------------------------
Checking for 'gtk+-x11-2.0'
['/usr/bin/pkg-config', '--cflags', '--libs', 'gtk+-x11-2.0']
err: Package pixman-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `pixman-1.pc'
to the PKG_CONFIG_PATH environment variable
Package 'pixman-1', required by 'cairo', not found

not found
from /dev/shm/tmp/cinelerra-goodguy-20200321/cinelerra-5.1/thirdparty/suil-0.10.6: The configuration failed


even if from system (root) shell I can see all libs via pkg-config:

pkg-config --cflags --libs x11
-I/usr/X11R7/include -L/usr/X11R7/lib -lX11

can it be related to 'chrooted' (?) lv2 build as part of thirdparty build process?

Found this error while trying those plugins (lv2 version for i585):
https://github.com/sadko4u/lsp-plugins/releases/tag/lsp-plugins-1.1.14

Error:

cin
Cinelerra Infinity - built: Mar 21 2020 04:59:46
git://git.cinelerra-gg.org/goodguy/cinelerra.git
(c) 2006-2019 Heroine Virtual Ltd. by Adam Williams
2007-2020 mods for Cinelerra-GG by W.P.Morrow aka goodguy
Cinelerra is free software, covered by the GNU General Public License,
and you are welcome to change it and/or distribute copies of it under
certain conditions. There is absolutely no warranty for Cinelerra.

suil error: Unable to wrap UI type <http://lv2plug.in/ns/extensions/ui#X11UI> as type <http://lv2plug.in/ns/extensions/ui#GtkUI>

-------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 26712 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20200321/2ef02b4f/attachment-0001.log>


More information about the Cin mailing list