I tried to integrate openEXR properly into thirdparty buildsystem: there is src/openexr-2.4.1.patch1 now (attached)
and in Makefile I have openexr.cfg_vars?=LD_LIBRARY_PATH=$(call bld_path,openexr,usr/lib) chmod +x ./configure; openexr.cfg_params?=--with-prefix=$(realpath $(call bld_path,openexr,usr)) --with-ilmbase-prefix=$(call bld_path,openexr,usr) --enable-shared=no. but this resulted in empty prefix :/ I tried to use realpath because otherwise configure from openEXR dies: root@slax:/dev/shm/tmp/cinelerra-goodguy-20200318/cinelerra-5.1/thirdparty# rm build/openexr.source root@slax:/dev/shm/tmp/cinelerra-goodguy-20200318/cinelerra-5.1/thirdparty# rm -rf openexr-2.4.1/ root@slax:/dev/shm/tmp/cinelerra-goodguy-20200318/cinelerra-5.1/thirdparty# setarch i686 make -j 5 tar -xzf src/openexr-2.4.1.tar.gz patch -d openexr* -p1 < src/openexr-2.4.1.patch1 patching file configure touch /dev/shm/tmp/cinelerra-goodguy-20200318/cinelerra-5.1/thirdparty/../thirdparty/build/openexr.source CONFIGURING openexr cd openexr* && LD_LIBRARY_PATH=/dev/shm/tmp/cinelerra-goodguy-20200318/cinelerra-5.1/thirdparty/../thirdparty/openexr-2.4.1/usr/lib chmod +x ./configure; ./configure --with-prefix=/dev/shm/tmp/cinelerra-goodguy-20200318/cinelerra-5.1/thirdparty/../thirdparty/openexr-2.4.1/usr --with-ilmbase-prefix=/dev/shm/tmp/cinelerra-goodguy-20200318/cinelerra-5.1/thirdparty/../thirdparty/openexr-2.4.1/usr --enable-shared=no running aclocal -I m4 -I /usr/local/share/aclocal ... /usr/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB /usr/share/aclocal/imlib.m4:9: run info Automake 'Extending aclocal' /usr/share/aclocal/imlib.m4:9: or see http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal running libtoolize --automake --copy ... running automake --add-missing --copy --foreign ... configure.ac:33: installing './compile' configure.ac:16: installing './config.guess' configure.ac:16: installing './config.sub' configure.ac:20: installing './install-sh' configure.ac:20: installing './missing' Half/Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' running autoconf ... Now type './configure' to configure IlmBase. configure: error: expected an absolute directory name for --prefix: --with-prefix=/dev/shm/tmp/cinelerra-goodguy-20200318/cinelerra-5.1/thirdparty/../thirdparty/openexr-2.4.1/usr make[1]: Вход в каталог `/dev/shm/tmp/cinelerra-goodguy-20200318/cinelerra-5.1/thirdparty/openexr-2.4.1/IlmBase' make[1]: предупреждение: сервер задач недоступен: используется -j1. Добавьте `+' к правилу в родительском make. make[1]: *** Не заданы цели и не найден make-файл. Останов. make[1]: Выход из каталога `/dev/shm/tmp/cinelerra-goodguy-20200318/cinelerra-5.1/thirdparty/openexr-2.4.1/IlmBase' make[1]: Вход в каталог `/dev/shm/tmp/cinelerra-goodguy-20200318/cinelerra-5.1/thirdparty/openexr-2.4.1/IlmBase' make[1]: предупреждение: сервер задач недоступен: используется -j1. Добавьте `+' к правилу в родительском make. make[1]: *** Нет правила для сборки цели `install'. Останов. make[1]: Выход из каталога `/dev/shm/tmp/cinelerra-goodguy-20200318/cinelerra-5.1/thirdparty/openexr-2.4.1/IlmBase' running aclocal -I m4 -I /usr/local/share/aclocal ... /usr/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB /usr/share/aclocal/imlib.m4:9: run info Automake 'Extending aclocal' /usr/share/aclocal/imlib.m4:9: or see http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal running libtoolize --automake --copy ... running automake --add-missing --copy --foreign ... configure.ac:35: installing './compile' configure.ac:18: installing './config.guess' configure.ac:18: installing './config.sub' configure.ac:22: installing './install-sh' configure.ac:22: installing './missing' IlmImf/Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' running autoconf ... Now type './configure' to configure OpenEXR. configure: error: expected an absolute directory name for --prefix: --with-prefix=/dev/shm/tmp/cinelerra-goodguy-20200318/cinelerra-5.1/thirdparty/../thirdparty/openexr-2.4.1/usr make[1]: Вход в каталог `/dev/shm/tmp/cinelerra-goodguy-20200318/cinelerra-5.1/thirdparty/openexr-2.4.1/OpenEXR' make[1]: предупреждение: сервер задач недоступен: используется -j1. Добавьте `+' к правилу в родительском make. make[1]: *** Не заданы цели и не найден make-файл. Останов. make[1]: Выход из каталога `/dev/shm/tmp/cinelerra-goodguy-20200318/cinelerra-5.1/thirdparty/openexr-2.4.1/OpenEXR' make[1]: Вход в каталог `/dev/shm/tmp/cinelerra-goodguy-20200318/cinelerra-5.1/thirdparty/openexr-2.4.1/OpenEXR' make[1]: предупреждение: сервер задач недоступен: используется -j1. Добавьте `+' к правилу в родительском make. make[1]: *** Нет правила для сборки цели `install'. Останов. make[1]: Выход из каталога `/dev/shm/tmp/cinelerra-goodguy-20200318/cinelerra-5.1/thirdparty/openexr-2.4.1/OpenEXR' make: *** [/dev/shm/tmp/cinelerra-goodguy-20200318/cinelerra-5.1/thirdparty/../thirdparty/build/openexr.configure] Ошибка 2 root@slax:/dev/shm/tmp/cinelerra-goodguy-20200318/cinelerra-5.1/thirdparty# man realpath root@slax:/dev/shm/tmp/cinelerra-goodguy-20200318/cinelerra-5.1/thirdparty# realpath /dev/shm/tmp/cinelerra-goodguy-20200318/cinelerra-5.1/thirdparty/../thirdparty/openexr-2.4.1/usr /dev/shm/tmp/cinelerra-goodguy-20200318/cinelerra-5.1/thirdparty/openexr-2.4.1/usr Answer about realpath was found here: https://stackoverflow.com/questions/4175264/how-to-retrieve-absolute-path-given-relative oh ... may be I'll solve this by the end of day, but may be not
--- /dev/null 2020-03-14 06:02:18.586124011 +0300 +++ ./configure 2020-03-18 10:10:50.078516811 +0300 @@ -0,0 +1,14 @@ +#!/bin/sh + +cd IlmBase +./bootstrap +./configure --prefix=$1 --enable-shared=no +make +make install + +cd ../OpenEXR +./bootstrap +./configure --prefix=$1 \ + --with-ilmbase-prefix=$1 --enable-shared=no +make +make install
-- Cin mailing list [email protected] https://lists.cinelerra-gg.org/mailman/listinfo/cin

