also, does this patch fix lv2 detection? 


--- a/cinelerra-5.1/configure.ac 
 +++ b/cinelerra-5.1/configure.ac
@@ -801,10 +801,10 @@ CHECK_WANT([LV2], [auto], [use lv2], [ CHECK_LIB([sord], [sord-0], [sord_world_new])
  CHECK_LIB([serd], [serd-0], [serd_reader_new]) CHECK_LIB([sratom], [sratom-0], [sratom_new])
- CFLAGS="-I/usr/include/lilv-0 -I/usr/local/include/lilv-0" 
 + CFLAGS="-I/usr/include/lilv-0 -I/usr/local/include/lilv-0 `pkg-config --cflags lilv-0`" 
 CHECK_HEADERS([lv2], [lilv headers], [lilv/lilv.h])
  CHECK_LIB([suil], [suil-0], [suil_instance_new]) 
 - CFLAGS="-I/usr/include/suil-0 -I/usr/local/include/suil-0"
+ CFLAGS="-I/usr/include/suil-0 -I/usr/local/include/suil-0 `pkg-config --cflags suil-0`"
  CHECK_HEADERS([lv2], [suil headers], [suil/suil.h]) CFLAGS="$saved_CFLAGS"])
 # have all or none $


ah.. basically add `pkg-config --cflags lilv-0` and same for suil-0 into relevant lines in configure.ac and autogen it again? 



On Tuesday, April 12, 2022, Andrew Randrianasulu <randrianasulu@gmail.com> wrote:


On Tuesday, April 12, 2022, Andrea paz <gamberucci.andrea@gmail.com> wrote:
Normal build with thirdparty works without problems. Using
--without-thirdparty, there is an initial configure error that says it
can't find the lv2-headers (in my arch it seems that lv2-headers are
included in the lv2 package; I couldn't find any other reference). So
I used both --without-thirdparty and --without-lv2.
The build fails; I attach cin5.log and config.log


g++ `cat x86_64/c_flags` -DMSGQUAL=fileffmpeg -c fileffmpeg.C -o x86_6
g++ `cat x86_64/c_flags` -DMSGQUAL=fileflac -c fileflac.C -o x86_64/fi
g++ `cat x86_64/c_flags` -DMSGQUAL=fileformat -c fileformat.C -o x86_6
In file included from filedpx.C:25:
filedpx.h:29:10: fatal error: DPX.h: File o directory non esistente
   29 | #include "DPX.h"
      | ^~~~~~~
compilation terminated.
make[2]: *** [Makefile:585: x86_64/filedpx.o] Errore 1 



still need to abort on missing libdpx + no-thirdparty.... disable it please for now) 

PS: I applied the patches without the need of --ignore-whitespace; it
works fine, thanks.