<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">сб, 21 сент. 2024 г., 00:48 Terje J. Hanssen <<a href="mailto:terjejhanssen@gmail.com" target="_blank" rel="noreferrer">terjejhanssen@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div>
<br>
<br>
<div>Den 20.09.2024 21:16, skrev Andrew
Randrianasulu:<br>
</div>
<blockquote type="cite">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">пт, 20 сент. 2024 г.,
21:58 Terje J. Hanssen via Cin <<a href="mailto:cin@lists.cinelerra-gg.org" rel="noreferrer noreferrer" target="_blank">cin@lists.cinelerra-gg.org</a>>:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
Den 20.09.2024 18:57, skrev Mat via Cin:<br>
> "Terje J. Hanssen via Cin" <<a href="mailto:cin@lists.cinelerra-gg.org" rel="noreferrer noreferrer noreferrer" target="_blank">cin@lists.cinelerra-gg.org</a>>
wrote:<br>
><br>
>> 1)<br>
>> # cd /home<br>
>><br>
>> # git clone git://<a href="http://git.cinelerra-gg.org/goodguy/cinelerra.git" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">git.cinelerra-gg.org/goodguy/cinelerra.git</a><br>
>> Cloning into 'cinelerra'...<br>
>> remote: Enumerating objects: 22646, done.<br>
>> remote: Counting objects: 100% (22646/22646),
done.<br>
>> remote: Compressing objects: 100% (14288/14288),
done.<br>
>> remote: Total 22646 (delta 11647), reused 17384
(delta 7999),<br>
>> pack-reused 0 Receiving objects: 100%
(22646/22646), 405.36 MiB |<br>
>> 16.00 MiB/s, done. Resolving deltas: 100%
(11647/11647), done.<br>
>><br>
>> 2)<br>
> You need to do cd /home/cinelerra/cinelerra-5.1<br>
> Then run "blds/bld_prepare.sh <os>" , where
<os> is your os,<br>
> run blds/bld_prepare.sh without argument to get a
list of OS-ses.<br>
> This installs the needed development packages for
your OS.<br>
><br>
> then (still in /home/cinelerra/cinelerra-5.1):<br>
><br>
> in bld.sh, change the config options to what you
want.<br>
><br>
> ./bld.sh (if not making an AppImage)<br>
><br>
><br>
> MatN<br>
<br>
<br>
After installing the packages according to Andrey's list:<br>
<br>
2)<br>
# cd /home/cinelerra/cinelerra-5.1<br>
<br>
# blds/bld_prepare.sh<br>
usage: blds/bld_prepare.sh <os><br>
<os> = [centos | suse | ubuntu | fedora | mint |
debian | arch | <br>
debian-older | ubuntu-older]<br>
unknown os:<br>
<br>
# blds/bld_prepare.sh suse<br>
Loading repository data...<br>
Reading installed packages...<br>
'patch' is already installed.<br>
No update candidate for 'patch-2.7.6-8.1.x86_64'. The
highest available <br>
version is already installed.<br>
'gcc-c++' is already installed.<br>
No update candidate for 'gcc-c++-14-1.1.x86_64'. The
highest available <br>
version is already installed.<br>
'libtool' is already installed.<br>
....snip<br>
'freetype-devel' not found in package names. Trying
capabilities.<br>
'freetype2-devel' providing 'freetype-devel' is already
installed.<br>
Resolving package dependencies...<br>
3 Problems:<br>
Problem: 1: the installed
libjpeg62-devel-62.4.0-79.1.x86_64 conflicts <br>
with 'libjpeg-devel' provided by the to be installed <br>
libjpeg8-devel-8.3.2-79.2.x86_64<br>
Problem: 2: the installed
zlib-ng-compat-devel-2.2.1-1.1.x86_64 <br>
conflicts with 'zlib-devel' provided by the to be
installed <br>
zlib-devel-1.3.1-1.1.x86_64<br>
Problem: 3: the to be installed
fftw3-devel-3.3.10-119.2.x86_64 requires <br>
'libfftw3-3 = 3.3.10-119.2', but this requirement cannot
be provided<br>
not installable providers:
libfftw3-3-3.3.10-119.2.i586[openSUSE_Slowroll]<br>
libfftw3-3-3.3.10-119.2.x86_64[openSUSE_Slowroll]<br>
<br>
Problem: 1: the installed
libjpeg62-devel-62.4.0-79.1.x86_64 conflicts <br>
with 'libjpeg-devel' provided by the to be installed <br>
libjpeg8-devel-8.3.2-79.2.x86_64<br>
Solution 1: deinstallation of
libjpeg62-devel-62.4.0-79.1.x86_64<br>
Solution 2: do not install
libjpeg8-devel-8.3.2-79.2.x86_64<br>
<br>
Choose from above solutions by number or skip, retry or
cancel <br>
[1/2/s/r/c/d/?] (c): c<br>
blds/bld_prepare.sh: line 77: [: missing `]'<br>
ocalhost:/home/cinelerra/cinelerra-5.1 #<br>
<br>
Looks like a typo in<br>
blds/bld_prepare.sh: line 77: [: missing `]'<br>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">it seems error catching in our script is not
great? If 'c' mean cancel for zypper command then may be
condition on line 77 misfired ..?<br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">and also we need to add openmlib-devel to list?
(newer heard about such pkg name before - but Iam on Slackware
so it probably rolled into libc package)</div>
</div>
</blockquote>
<br>
<font face="Courier New, Courier, monospace">zypper info
openlibm-devel<br>
Loading repository data...<br>
Reading installed packages...<br>
<br>
Information for package openlibm-devel:<br>
---------------------------------------<br>
Repository : openSUSE-Slowroll-Oss<br>
Name : openlibm-devel<br>
Version : 0.8.1-2.3<br>
Arch : x86_64<br>
Vendor : openSUSE<br>
Installed Size : 114.9 KiB<br>
Installed : Yes<br>
Status : up-to-date<br>
Source package : openlibm-0.8.1-2.3.src<br>
Upstream URL : <a href="https://github.com/JuliaLang/openlibm/" rel="noreferrer noreferrer" target="_blank">https://github.com/JuliaLang/openlibm/</a><br>
Summary : Development files for openlibm<br>
Description : <br>
OpenLibm is an implementation of a standalone C mathematical
library<br>
(libm). It can be used standalone in applications and
programming<br>
language implementations.<br>
<br>
This package provides libraries and header files for
developing applications<br>
that use OpenLIBM.<br>
<br>
</font><br>
<blockquote type="cite">
<div dir="auto"><br>
<div dir="auto">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
I next got the same error with<br>
# ./configure<br>
# make<br>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
And, after adding the "boost patch":<br>
<br>
<font face="Courier New, Courier, monospace"># cd
/home/cinelerra/cinelerra-5.1/tools/makeappimagetool</font><br>
<br>
3)<br>
<font face="Courier New, Courier, monospace"># ./autogen.sh<br>
rm -f makeappimage<br>
rm -f *.o<br>
<a href="http://configure.ac:19" rel="noreferrer noreferrer" target="_blank">configure.ac:19</a>: installing 'cfg/compile'<br>
<a href="http://configure.ac:89" rel="noreferrer noreferrer" target="_blank">configure.ac:89</a>: installing 'cfg/config.guess'<br>
<a href="http://configure.ac:89" rel="noreferrer noreferrer" target="_blank">configure.ac:89</a>: installing 'cfg/config.sub'<br>
<a href="http://configure.ac:12" rel="noreferrer noreferrer" target="_blank">configure.ac:12</a>: installing 'cfg/install-sh'<br>
<a href="http://configure.ac:12" rel="noreferrer noreferrer" target="_blank">configure.ac:12</a>: installing 'cfg/missing'<br>
Makefile.am: installing 'cfg/depcomp'<br>
<br>
<br>
4)<br>
# ./configure --with-single-user
--with-git-ffmpeg=<a href="https://git.ffmpeg.org/ffmpeg.git" rel="noreferrer noreferrer" target="_blank">https://git.ffmpeg.org/ffmpeg.git</a><br>
configure: WARNING: unrecognized options: --with-single-user,
--with-git-ffmpeg<br>
configure: loading site script /usr/share/site/x86_64-pc-linux-gnu<br>
checking for a BSD-compatible install... /usr/bin/install -c<br>
checking whether sleep supports fractional seconds... yes<br>
checking filesystem timestamp resolution... 0.01<br>
checking whether build environment is sane... yes<br>
checking for a race-free mkdir -p... /usr/bin/mkdir -p<br>
checking for gawk... gawk<br>
checking whether make sets $(MAKE)... yes<br>
checking whether make supports nested variables... yes<br>
checking xargs -n works... yes<br>
checking for g++... g++<br>
checking whether the C++ compiler works... yes<br>
checking for C++ compiler default output file name... a.out<br>
checking for suffix of executables... <br>
checking whether we are cross compiling... no<br>
checking for suffix of object files... o<br>
checking whether the compiler supports GNU C++... yes<br>
checking whether g++ accepts -g... yes<br>
checking for g++ option to enable C++11 features... none needed<br>
checking whether make supports the include directive... yes (GNU
style)<br>
checking dependency style of g++... gcc3<br>
checking for gcc... gcc<br>
checking whether the compiler supports GNU C... yes<br>
checking whether gcc accepts -g... yes<br>
checking for gcc option to enable C11 features... none needed<br>
checking whether gcc understands -c and -o together... yes<br>
checking dependency style of gcc... gcc3<br>
checking how to run the C preprocessor... gcc -E<br>
checking for stdio.h... yes<br>
checking for stdlib.h... yes<br>
checking for string.h... yes<br>
checking for inttypes.h... yes<br>
checking for stdint.h... yes<br>
checking for strings.h... yes<br>
checking for sys/stat.h... yes<br>
checking for sys/types.h... yes<br>
checking for unistd.h... yes<br>
checking for boost/filesystem.hpp... yes<br>
checking for boost/filesystem/path.hpp... yes<br>
checking for boost/regex.hpp... yes<br>
checking for libpng16/png.h... yes<br>
checking for zlib.h... yes<br>
checking for jpeglib.h... yes<br>
./configure: line 5910: -O2: command not found<br>
checking for X... libraries , headers <br>
checking for fcntl.h... yes<br>
checking for memory.h... yes<br>
checking for sys/time.h... yes<br>
checking for unistd.h... (cached) yes<br>
checking for _Bool... yes<br>
checking for stdbool.h that conforms to C99 or later... yes<br>
checking for inline... inline<br>
checking for int32_t... yes<br>
checking for int64_t... yes<br>
checking for size_t... yes<br>
checking for ssize_t... yes<br>
checking for uint16_t... yes<br>
checking for uint32_t... yes<br>
checking for uint64_t... yes<br>
checking for uint8_t... yes<br>
checking for ptrdiff_t... yes<br>
checking for pid_t... yes<br>
checking for vfork.h... no<br>
checking for sys/param.h... yes<br>
checking for fork... yes<br>
checking for vfork... yes<br>
checking for getpagesize... yes<br>
checking for working fork... yes<br>
checking for working vfork... (cached) yes<br>
checking build system type... x86_64-pc-linux-gnu<br>
checking host system type... x86_64-pc-linux-gnu<br>
checking for GNU libc compatible malloc... yes<br>
checking for working mmap... yes<br>
checking for dup2... yes<br>
checking for floor... no<br>
checking for gettimeofday... yes<br>
checking for memmove... yes<br>
checking for memset... yes<br>
checking for munmap... yes<br>
checking for pow... no<br>
checking for realpath... yes<br>
checking for select... yes<br>
checking for sqrt... no<br>
checking for strcasecmp... yes<br>
checking for strchr... yes<br>
checking for strdup... yes<br>
checking for strerror... yes<br>
checking for strncasecmp... yes<br>
checking for strrchr... yes<br>
checking for strstr... yes<br>
checking that generated files are newer than configure... done<br>
configure: creating ./config.status<br>
config.status: creating Makefile<br>
config.status: creating config.h<br>
config.status: executing depfiles commands<br>
configure: WARNING: unrecognized options: --with-single-user,
--with-git-ffmpeg<br>
<br>
<br>
5) Still the same errors?<br>
<br>
# make<br>
make all-am<br>
make[1]: Entering directory
'/home/cinelerra/cinelerra-5.1/tools/makeappimagetool'<br>
g++ -DHAVE_CONFIG_H -I. -g -O2 -DBOOST_NO_CXX11_SCOPED_ENUMS
-Dcimg_display=0 -Dcimg_use_jpeg=1 -Dcimg_use_png=1 -MT appdir.o
-MD -MP -MF .deps/appdir.Tpo -c -o appdir.o appdir.cpp<br>
mv -f .deps/appdir.Tpo .deps/appdir.Po<br>
g++ -DHAVE_CONFIG_H -I. -g -O2 -DBOOST_NO_CXX11_SCOPED_ENUMS
-Dcimg_display=0 -Dcimg_use_jpeg=1 -Dcimg_use_png=1 -MT
appdir_root_setup.o -MD -MP -MF .deps/appdir_root_setup.Tpo -c -o
appdir_root_setup.o appdir_root_setup.cpp<br>
mv -f .deps/appdir_root_setup.Tpo .deps/appdir_root_setup.Po<br>
g++ -DHAVE_CONFIG_H -I. -g -O2 -DBOOST_NO_CXX11_SCOPED_ENUMS
-Dcimg_display=0 -Dcimg_use_jpeg=1 -Dcimg_use_png=1 -MT
copyright.o -MD -MP -MF .deps/copyright.Tpo -c -o copyright.o
copyright.cpp<br>
mv -f .deps/copyright.Tpo .deps/copyright.Po<br>
g++ -DHAVE_CONFIG_H -I. -g -O2 -DBOOST_NO_CXX11_SCOPED_ENUMS
-Dcimg_display=0 -Dcimg_use_jpeg=1 -Dcimg_use_png=1 -MT
copyright_dpkgquery.o -MD -MP -MF .deps/copyright_dpkgquery.Tpo -c
-o copyright_dpkgquery.o copyright_dpkgquery.cpp<br>
mv -f .deps/copyright_dpkgquery.Tpo .deps/copyright_dpkgquery.Po<br>
g++ -DHAVE_CONFIG_H -I. -g -O2 -DBOOST_NO_CXX11_SCOPED_ENUMS
-Dcimg_display=0 -Dcimg_use_jpeg=1 -Dcimg_use_png=1 -MT core.o -MD
-MP -MF .deps/core.Tpo -c -o core.o core.cpp<br>
core.cpp: In function ‘linuxdeploy::desktopfile::DesktopFile
linuxdeploy::getMainDesktopFile(const
std::vector<std::__cxx11::basic_string<char> >&,
const std::vector<desktopfile::DesktopFile>&)’:<br>
core.cpp:38:40: error: ‘find_if’ was not declared in this scope<br>
38 | auto desktopFileMatchingName = find_if(<br>
| ^~~~~~~<br>
make[1]: *** [Makefile:469: core.o] Error 1<br></font></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">what about adding </div><div dir="auto">#include <algorithm></div><div dir="auto"><br></div><div dir="auto">at very top of core.cpp ?</div><div dir="auto"><br></div><div dir="auto">hint from</div><div dir="auto"><br></div><div dir="auto"><a href="https://stackoverflow.com/questions/10227928/build-error-with-c-find-if-is-not-a-member-of-std" target="_blank" rel="noreferrer">https://stackoverflow.com/questions/10227928/build-error-with-c-find-if-is-not-a-member-of-std</a><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><font face="Courier New, Courier, monospace">
make[1]: Leaving directory
'/home/cinelerra/cinelerra-5.1/tools/makeappimagetool'<br>
make: *** [Makefile:340: all] Error 2<br>
</font><br>
<br>
<br>
<br>
<blockquote type="cite">
<div dir="auto">
<div dir="auto">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
-- <br>
Cin mailing list<br>
<a href="mailto:Cin@lists.cinelerra-gg.org" rel="noreferrer noreferrer noreferrer" target="_blank">Cin@lists.cinelerra-gg.org</a><br>
<a href="https://lists.cinelerra-gg.org/mailman/listinfo/cin" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">https://lists.cinelerra-gg.org/mailman/listinfo/cin</a><br>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</blockquote></div></div></div>