[Cin] Is one pre-built dynamic and static binary for user selection possible?
Andrew Randrianasulu
randrianasulu at gmail.com
Sat Sep 21 15:41:15 CEST 2024
сб, 21 сент. 2024 г., 14:19 Terje J. Hanssen <terjejhanssen at gmail.com>:
>
>
> Den 21.09.2024 01:30, skrev Terje J. Hanssen:
>
>
>
> Den 21.09.2024 00:36, skrev Andrew Randrianasulu:
>
>
>
> сб, 21 сент. 2024 г., 00:48 Terje J. Hanssen <terjejhanssen at gmail.com>:
>
>>
>>
>> Den 20.09.2024 21:16, skrev Andrew Randrianasulu:
>>
>>
>>
>> пт, 20 сент. 2024 г., 21:58 Terje J. Hanssen via Cin <
>> cin at lists.cinelerra-gg.org>:
>>
>>>
>>>
>>> Den 20.09.2024 18:57, skrev Mat via Cin:
>>> > "Terje J. Hanssen via Cin" <cin at lists.cinelerra-gg.org> wrote:
>>> >
>>> >> 1)
>>> >> # cd /home
>>> >>
>>> >> # git clone git://git.cinelerra-gg.org/goodguy/cinelerra.git
>>> >> Cloning into 'cinelerra'...
>>> >> remote: Enumerating objects: 22646, done.
>>> >> remote: Counting objects: 100% (22646/22646), done.
>>> >> remote: Compressing objects: 100% (14288/14288), done.
>>> >> remote: Total 22646 (delta 11647), reused 17384 (delta 7999),
>>> >> pack-reused 0 Receiving objects: 100% (22646/22646), 405.36 MiB |
>>> >> 16.00 MiB/s, done. Resolving deltas: 100% (11647/11647), done.
>>> >>
>>> >> 2)
>>> > You need to do cd /home/cinelerra/cinelerra-5.1
>>> > Then run "blds/bld_prepare.sh <os>" , where <os> is your os,
>>> > run blds/bld_prepare.sh without argument to get a list of OS-ses.
>>> > This installs the needed development packages for your OS.
>>> >
>>> > then (still in /home/cinelerra/cinelerra-5.1):
>>> >
>>> > in bld.sh, change the config options to what you want.
>>> >
>>> > ./bld.sh (if not making an AppImage)
>>> >
>>> >
>>> > MatN
>>>
>>>
>>> After installing the packages according to Andrey's list:
>>>
>>> 2)
>>> # cd /home/cinelerra/cinelerra-5.1
>>>
>>> # blds/bld_prepare.sh
>>> usage: blds/bld_prepare.sh <os>
>>> <os> = [centos | suse | ubuntu | fedora | mint | debian | arch |
>>> debian-older | ubuntu-older]
>>> unknown os:
>>>
>>> # blds/bld_prepare.sh suse
>>> Loading repository data...
>>> Reading installed packages...
>>> 'patch' is already installed.
>>> No update candidate for 'patch-2.7.6-8.1.x86_64'. The highest available
>>> version is already installed.
>>> 'gcc-c++' is already installed.
>>> No update candidate for 'gcc-c++-14-1.1.x86_64'. The highest available
>>> version is already installed.
>>> 'libtool' is already installed.
>>> ....snip
>>> 'freetype-devel' not found in package names. Trying capabilities.
>>> 'freetype2-devel' providing 'freetype-devel' is already installed.
>>> Resolving package dependencies...
>>> 3 Problems:
>>> Problem: 1: the installed libjpeg62-devel-62.4.0-79.1.x86_64 conflicts
>>> with 'libjpeg-devel' provided by the to be installed
>>> libjpeg8-devel-8.3.2-79.2.x86_64
>>> Problem: 2: the installed zlib-ng-compat-devel-2.2.1-1.1.x86_64
>>> conflicts with 'zlib-devel' provided by the to be installed
>>> zlib-devel-1.3.1-1.1.x86_64
>>> Problem: 3: the to be installed fftw3-devel-3.3.10-119.2.x86_64 requires
>>> 'libfftw3-3 = 3.3.10-119.2', but this requirement cannot be provided
>>> not installable providers:
>>> libfftw3-3-3.3.10-119.2.i586[openSUSE_Slowroll]
>>> libfftw3-3-3.3.10-119.2.x86_64[openSUSE_Slowroll]
>>>
>>> Problem: 1: the installed libjpeg62-devel-62.4.0-79.1.x86_64 conflicts
>>> with 'libjpeg-devel' provided by the to be installed
>>> libjpeg8-devel-8.3.2-79.2.x86_64
>>> Solution 1: deinstallation of libjpeg62-devel-62.4.0-79.1.x86_64
>>> Solution 2: do not install libjpeg8-devel-8.3.2-79.2.x86_64
>>>
>>> Choose from above solutions by number or skip, retry or cancel
>>> [1/2/s/r/c/d/?] (c): c
>>> blds/bld_prepare.sh: line 77: [: missing `]'
>>> ocalhost:/home/cinelerra/cinelerra-5.1 #
>>>
>>> Looks like a typo in
>>> blds/bld_prepare.sh: line 77: [: missing `]'
>>>
>>
>>
>> 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 ..?
>>
>>
>> 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)
>>
>>
>> zypper info openlibm-devel
>> Loading repository data...
>> Reading installed packages...
>>
>> Information for package openlibm-devel:
>> ---------------------------------------
>> Repository : openSUSE-Slowroll-Oss
>> Name : openlibm-devel
>> Version : 0.8.1-2.3
>> Arch : x86_64
>> Vendor : openSUSE
>> Installed Size : 114.9 KiB
>> Installed : Yes
>> Status : up-to-date
>> Source package : openlibm-0.8.1-2.3.src
>> Upstream URL : https://github.com/JuliaLang/openlibm/
>> Summary : Development files for openlibm
>> Description :
>> OpenLibm is an implementation of a standalone C mathematical library
>> (libm). It can be used standalone in applications and programming
>> language implementations.
>>
>> This package provides libraries and header files for developing
>> applications
>> that use OpenLIBM.
>>
>>
>>
>>
>>>
>>> I next got the same error with
>>> # ./configure
>>> # make
>>>
>>
>> And, after adding the "boost patch":
>>
>> # cd /home/cinelerra/cinelerra-5.1/tools/makeappimagetool
>>
>> 3)
>> # ./autogen.sh
>> rm -f makeappimage
>> rm -f *.o
>> configure.ac:19: installing 'cfg/compile'
>> configure.ac:89: installing 'cfg/config.guess'
>> configure.ac:89: installing 'cfg/config.sub'
>> configure.ac:12: installing 'cfg/install-sh'
>> configure.ac:12: installing 'cfg/missing'
>> Makefile.am: installing 'cfg/depcomp'
>>
>>
>> 4)
>> # ./configure --with-single-user --with-git-ffmpeg=
>> https://git.ffmpeg.org/ffmpeg.git
>> configure: WARNING: unrecognized options: --with-single-user,
>> --with-git-ffmpeg
>> configure: loading site script /usr/share/site/x86_64-pc-linux-gnu
>> checking for a BSD-compatible install... /usr/bin/install -c
>> checking whether sleep supports fractional seconds... yes
>> checking filesystem timestamp resolution... 0.01
>> checking whether build environment is sane... yes
>> checking for a race-free mkdir -p... /usr/bin/mkdir -p
>> checking for gawk... gawk
>> checking whether make sets $(MAKE)... yes
>> checking whether make supports nested variables... yes
>> checking xargs -n works... yes
>> checking for g++... g++
>> checking whether the C++ compiler works... yes
>> checking for C++ compiler default output file name... a.out
>> checking for suffix of executables...
>> checking whether we are cross compiling... no
>> checking for suffix of object files... o
>> checking whether the compiler supports GNU C++... yes
>> checking whether g++ accepts -g... yes
>> checking for g++ option to enable C++11 features... none needed
>> checking whether make supports the include directive... yes (GNU style)
>> checking dependency style of g++... gcc3
>> checking for gcc... gcc
>> checking whether the compiler supports GNU C... yes
>> checking whether gcc accepts -g... yes
>> checking for gcc option to enable C11 features... none needed
>> checking whether gcc understands -c and -o together... yes
>> checking dependency style of gcc... gcc3
>> checking how to run the C preprocessor... gcc -E
>> checking for stdio.h... yes
>> checking for stdlib.h... yes
>> checking for string.h... yes
>> checking for inttypes.h... yes
>> checking for stdint.h... yes
>> checking for strings.h... yes
>> checking for sys/stat.h... yes
>> checking for sys/types.h... yes
>> checking for unistd.h... yes
>> checking for boost/filesystem.hpp... yes
>> checking for boost/filesystem/path.hpp... yes
>> checking for boost/regex.hpp... yes
>> checking for libpng16/png.h... yes
>> checking for zlib.h... yes
>> checking for jpeglib.h... yes
>> ./configure: line 5910: -O2: command not found
>> checking for X... libraries , headers
>> checking for fcntl.h... yes
>> checking for memory.h... yes
>> checking for sys/time.h... yes
>> checking for unistd.h... (cached) yes
>> checking for _Bool... yes
>> checking for stdbool.h that conforms to C99 or later... yes
>> checking for inline... inline
>> checking for int32_t... yes
>> checking for int64_t... yes
>> checking for size_t... yes
>> checking for ssize_t... yes
>> checking for uint16_t... yes
>> checking for uint32_t... yes
>> checking for uint64_t... yes
>> checking for uint8_t... yes
>> checking for ptrdiff_t... yes
>> checking for pid_t... yes
>> checking for vfork.h... no
>> checking for sys/param.h... yes
>> checking for fork... yes
>> checking for vfork... yes
>> checking for getpagesize... yes
>> checking for working fork... yes
>> checking for working vfork... (cached) yes
>> checking build system type... x86_64-pc-linux-gnu
>> checking host system type... x86_64-pc-linux-gnu
>> checking for GNU libc compatible malloc... yes
>> checking for working mmap... yes
>> checking for dup2... yes
>> checking for floor... no
>> checking for gettimeofday... yes
>> checking for memmove... yes
>> checking for memset... yes
>> checking for munmap... yes
>> checking for pow... no
>> checking for realpath... yes
>> checking for select... yes
>> checking for sqrt... no
>> checking for strcasecmp... yes
>> checking for strchr... yes
>> checking for strdup... yes
>> checking for strerror... yes
>> checking for strncasecmp... yes
>> checking for strrchr... yes
>> checking for strstr... yes
>> checking that generated files are newer than configure... done
>> configure: creating ./config.status
>> config.status: creating Makefile
>> config.status: creating config.h
>> config.status: executing depfiles commands
>> configure: WARNING: unrecognized options: --with-single-user,
>> --with-git-ffmpeg
>>
>>
>> 5) Still the same errors?
>>
>> # make
>> make all-am
>> make[1]: Entering directory
>> '/home/cinelerra/cinelerra-5.1/tools/makeappimagetool'
>> 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
>> mv -f .deps/appdir.Tpo .deps/appdir.Po
>> 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
>> mv -f .deps/appdir_root_setup.Tpo .deps/appdir_root_setup.Po
>> 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
>> mv -f .deps/copyright.Tpo .deps/copyright.Po
>> 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
>> mv -f .deps/copyright_dpkgquery.Tpo .deps/copyright_dpkgquery.Po
>> 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
>> core.cpp: In function ‘linuxdeploy::desktopfile::DesktopFile
>> linuxdeploy::getMainDesktopFile(const
>> std::vector<std::__cxx11::basic_string<char> >&, const
>> std::vector<desktopfile::DesktopFile>&)’:
>> core.cpp:38:40: error: ‘find_if’ was not declared in this scope
>> 38 | auto desktopFileMatchingName = find_if(
>> | ^~~~~~~
>> make[1]: *** [Makefile:469: core.o] Error 1
>>
>
>
> what about adding
> #include <algorithm>
>
> at very top of core.cpp ?
>
>
> Sorry, here I have no grasp what you mean and how to do it .
> Detailed steps is neccessary ;)
>
> hint from
>
>
> https://stackoverflow.com/questions/10227928/build-error-with-c-find-if-is-not-a-member-of-std
>
>
> make[1]: Leaving directory
>> '/home/cinelerra/cinelerra-5.1/tools/makeappimagetool'
>> make: *** [Makefile:340: all] Error 2
>>
>>
>>
> After applying Andrew's
> "0002-makeappimage-tool-add-algorithm-incl-into-core.cpp.patch":
>
> 3)
> # cd /home/cinelerra/cinelerra-5.1/tools/makeappimagetool
>
> # ./autogen.sh
> rm -f makeappimage
> rm -f *.o
> configure.ac:19: installing 'cfg/compile'
> configure.ac:89: installing 'cfg/config.guess'
> configure.ac:89: installing 'cfg/config.sub'
> configure.ac:12: installing 'cfg/install-sh'
> configure.ac:12: installing 'cfg/missing'
>
> 4)
> # ./configure --with-single-user --with-git-ffmpeg=
> https://git.ffmpeg.org/ffmpeg.git
> configure: WARNING: unrecognized options: --with-single-user,
> --with-git-ffmpeg
> configure: loading site script /usr/share/site/x86_64-pc-linux-gnu
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether sleep supports fractional seconds... yes
> checking filesystem timestamp resolution... 0.01
> checking whether build environment is sane... yes
> checking for a race-free mkdir -p... /usr/bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... yes
> checking xargs -n works... yes
> checking for g++... g++
> checking whether the C++ compiler works... yes
> checking for C++ compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether the compiler supports GNU C++... yes
> checking whether g++ accepts -g... yes
> checking for g++ option to enable C++11 features... none needed
> checking whether make supports the include directive... yes (GNU style)
> checking dependency style of g++... gcc3
> checking for gcc... gcc
> checking whether the compiler supports GNU C... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to enable C11 features... none needed
> checking whether gcc understands -c and -o together... yes
> checking dependency style of gcc... gcc3
> checking how to run the C preprocessor... gcc -E
> checking for stdio.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for strings.h... yes
> checking for sys/stat.h... yes
> checking for sys/types.h... yes
> checking for unistd.h... yes
> checking for boost/filesystem.hpp... yes
> checking for boost/filesystem/path.hpp... yes
> checking for boost/regex.hpp... yes
> checking for libpng16/png.h... yes
> checking for zlib.h... yes
> checking for jpeglib.h... yes
> ./configure: line 5910: -O2: command not found
> checking for X... libraries , headers
> checking for fcntl.h... yes
> checking for memory.h... yes
> checking for sys/time.h... yes
> checking for unistd.h... (cached) yes
> checking for _Bool... yes
> checking for stdbool.h that conforms to C99 or later... yes
> checking for inline... inline
> checking for int32_t... yes
> checking for int64_t... yes
> checking for size_t... yes
> checking for ssize_t... yes
> checking for uint16_t... yes
> checking for uint32_t... yes
> checking for uint64_t... yes
> checking for uint8_t... yes
> checking for ptrdiff_t... yes
> checking for pid_t... yes
> checking for vfork.h... no
> checking for sys/param.h... yes
> checking for fork... yes
> checking for vfork... yes
> checking for getpagesize... yes
> checking for working fork... yes
> checking for working vfork... (cached) yes
> checking build system type... x86_64-pc-linux-gnu
> checking host system type... x86_64-pc-linux-gnu
> checking for GNU libc compatible malloc... yes
> checking for working mmap... yes
> checking for dup2... yes
> checking for floor... no
> checking for gettimeofday... yes
> checking for memmove... yes
> checking for memset... yes
> checking for munmap... yes
> checking for pow... no
> checking for realpath... yes
> checking for select... yes
> checking for sqrt... no
> checking for strcasecmp... yes
> checking for strchr... yes
> checking for strdup... yes
> checking for strerror... yes
> checking for strncasecmp... yes
> checking for strrchr... yes
> checking for strstr... yes
> checking that generated files are newer than configure... done
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating config.h
> config.status: executing depfiles commands
> configure: WARNING: unrecognized options: --with-single-user,
> --with-git-ffmpeg
>
> The "no's" are still there, and what does the last WARNING mean?
>
sorry, warning mean we run configure that does not recognize those
parameters.
in other words we run WRONG configure (but discovered two fixes on the way)
please step two directories higher
cd ../../
and run ./autogen.sh ,configure, make from there ...
> 5)
> # make
> make all-am
> make[1]: Entering directory
> '/home/cinelerra/cinelerra-5.1/tools/makeappimagetool'
> 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
> mv -f .deps/appdir.Tpo .deps/appdir.Po
> 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
> mv -f .deps/appdir_root_setup.Tpo .deps/appdir_root_setup.Po
> 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
> mv -f .deps/copyright.Tpo .deps/copyright.Po
> 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
> mv -f .deps/copyright_dpkgquery.Tpo .deps/copyright_dpkgquery.Po
> 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
> mv -f .deps/core.Tpo .deps/core.Po
> g++ -DHAVE_CONFIG_H -I. -g -O2 -DBOOST_NO_CXX11_SCOPED_ENUMS
> -Dcimg_display=0 -Dcimg_use_jpeg=1 -Dcimg_use_png=1 -MT desktopfile.o -MD
> -MP -MF .deps/desktopfile.Tpo -c -o desktopfile.o desktopfile.cpp
> mv -f .deps/desktopfile.Tpo .deps/desktopfile.Po
> g++ -DHAVE_CONFIG_H -I. -g -O2 -DBOOST_NO_CXX11_SCOPED_ENUMS
> -Dcimg_display=0 -Dcimg_use_jpeg=1 -Dcimg_use_png=1 -MT desktopfileentry.o
> -MD -MP -MF .deps/desktopfileentry.Tpo -c -o desktopfileentry.o
> desktopfileentry.cpp
> mv -f .deps/desktopfileentry.Tpo .deps/desktopfileentry.Po
> g++ -DHAVE_CONFIG_H -I. -g -O2 -DBOOST_NO_CXX11_SCOPED_ENUMS
> -Dcimg_display=0 -Dcimg_use_jpeg=1 -Dcimg_use_png=1 -MT desktopfilereader.o
> -MD -MP -MF .deps/desktopfilereader.Tpo -c -o desktopfilereader.o
> desktopfilereader.cpp
> mv -f .deps/desktopfilereader.Tpo .deps/desktopfilereader.Po
> g++ -DHAVE_CONFIG_H -I. -g -O2 -DBOOST_NO_CXX11_SCOPED_ENUMS
> -Dcimg_display=0 -Dcimg_use_jpeg=1 -Dcimg_use_png=1 -MT desktopfilewriter.o
> -MD -MP -MF .deps/desktopfilewriter.Tpo -c -o desktopfilewriter.o
> desktopfilewriter.cpp
> mv -f .deps/desktopfilewriter.Tpo .deps/desktopfilewriter.Po
> g++ -DHAVE_CONFIG_H -I. -g -O2 -DBOOST_NO_CXX11_SCOPED_ENUMS
> -Dcimg_display=0 -Dcimg_use_jpeg=1 -Dcimg_use_png=1 -MT elf_file.o -MD -MP
> -MF .deps/elf_file.Tpo -c -o elf_file.o elf_file.cpp
> mv -f .deps/elf_file.Tpo .deps/elf_file.Po
> g++ -DHAVE_CONFIG_H -I. -g -O2 -DBOOST_NO_CXX11_SCOPED_ENUMS
> -Dcimg_display=0 -Dcimg_use_jpeg=1 -Dcimg_use_png=1 -MT log.o -MD -MP -MF
> .deps/log.Tpo -c -o log.o log.cpp
> mv -f .deps/log.Tpo .deps/log.Po
> g++ -DHAVE_CONFIG_H -I. -g -O2 -DBOOST_NO_CXX11_SCOPED_ENUMS
> -Dcimg_display=0 -Dcimg_use_jpeg=1 -Dcimg_use_png=1 -MT main.o -MD -MP -MF
> .deps/main.Tpo -c -o main.o main.cpp
> mv -f .deps/main.Tpo .deps/main.Po
> g++ -DHAVE_CONFIG_H -I. -g -O2 -DBOOST_NO_CXX11_SCOPED_ENUMS
> -Dcimg_display=0 -Dcimg_use_jpeg=1 -Dcimg_use_png=1 -MT pipe_reader.o -MD
> -MP -MF .deps/pipe_reader.Tpo -c -o pipe_reader.o pipe_reader.cpp
> mv -f .deps/pipe_reader.Tpo .deps/pipe_reader.Po
> g++ -DHAVE_CONFIG_H -I. -g -O2 -DBOOST_NO_CXX11_SCOPED_ENUMS
> -Dcimg_display=0 -Dcimg_use_jpeg=1 -Dcimg_use_png=1 -MT process.o -MD -MP
> -MF .deps/process.Tpo -c -o process.o process.cpp
> mv -f .deps/process.Tpo .deps/process.Po
> g++ -DHAVE_CONFIG_H -I. -g -O2 -DBOOST_NO_CXX11_SCOPED_ENUMS
> -Dcimg_display=0 -Dcimg_use_jpeg=1 -Dcimg_use_png=1 -MT subprocess.o -MD
> -MP -MF .deps/subprocess.Tpo -c -o subprocess.o subprocess.cpp
> mv -f .deps/subprocess.Tpo .deps/subprocess.Po
> g++ -DHAVE_CONFIG_H -I. -g -O2 -DBOOST_NO_CXX11_SCOPED_ENUMS
> -Dcimg_display=0 -Dcimg_use_jpeg=1 -Dcimg_use_png=1 -MT subprocess_result.o
> -MD -MP -MF .deps/subprocess_result.Tpo -c -o subprocess_result.o
> subprocess_result.cpp
> mv -f .deps/subprocess_result.Tpo .deps/subprocess_result.Po
> g++ -g -O2 -DBOOST_NO_CXX11_SCOPED_ENUMS -Dcimg_display=0
> -Dcimg_use_jpeg=1 -Dcimg_use_png=1 -o makeappimage appdir.o
> appdir_root_setup.o copyright.o copyright_dpkgquery.o core.o desktopfile.o
> desktopfileentry.o desktopfilereader.o desktopfilewriter.o elf_file.o log.o
> main.o pipe_reader.o process.o subprocess.o subprocess_result.o -lpng16
> -lz -ljpeg -lboost_filesystem -lboost_regex -lstdc++
> make[1]: Leaving directory
> '/home/cinelerra/cinelerra-5.1/tools/makeappimagetool'
>
> ==================
>
> According to Anrew's initial procedure, now it should be continued with:
>
> 6) if doing single user build also run make install
> 7) run it from same directory as bin/cin (you can "ls bin" just to see if
> all files were build/installed)
>
>
>
> 6)
> Without really understanding 7) here, I ran 6) from the current directory:
> localhost:/home/cinelerra/cinelerra-5.1/tools/makeappimagetool #
>
> # make install
> make[1]: Entering directory
> '/home/cinelerra/cinelerra-5.1/tools/makeappimagetool'
> /usr/bin/mkdir -p '/usr/local/bin'
> /usr/bin/install -c makeappimage '/usr/local/bin'
> make[1]: Nothing to be done for 'install-data-am'.
> make[1]: Leaving directory
> '/home/cinelerra/cinelerra-5.1/tools/makeappimagetool'
>
> # ls /usr/local/bin
> makeappimage
>
> # file /usr/local/bin/makeappimage
> /usr/local/bin/makeappimage: ELF 64-bit LSB executable, x86-64, version 1
> (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2,
> BuildID[sha1]=2a85dd44f33a64a5dd05a7c3e4dcbb74818cb13a, for GNU/Linux
> 3.2.0, with debug_info, not stripped
>
> ============
>
> By the way, I should not really have a new Appimage for Slowroll, because
> the pre-build appimage for Leap works ok on Slowroll
>
> What I want is a built to be able to test the system ffmpeg (Packman)
> with HWA from/within Cinelerra.
>
> Suggestion what to do further here?
>
> Is it possibly enough to run a new configure 4) similar as I referred
> initially from Manual (typo there confgure)
>
> ./configure --with-single-user --disable-static-build
> or possibly
> ./configure --with-single-user --disable-static-build --without-thirdparty
>
> the manual 1.3.8 Unbundled Builds
> "There are some generic build scripts included in the CINELERRA-GG GIT
> repository
> for users who want to do unbundled builds with ffmpeg already available on
> their
> system. This has been tested on Arch, Ubuntu 18, FreeBSD, Windows10 and
> Leap
> 15 (rpm) at the time this was documented. The names of the build scripts
> are:
> arch.bld, bsd.bld, deb.bld, rpm.bld, and cygwin.bld. These scripts are in
> the blds subdirectory."
>
> ls /home/cinelerra/cinelerra-5.1/blds
> PKGBUILD bld_dynamic.sh bld_static.sh cfg-cv.sh
> cygwin.bld debian netbsd.patch rpmsrc.sh
> arch.bld bld_package.sh bsd.bld cin.SlackBuild
> cygwin.patch debpkg.sh pkgbld.sh termux.bld
> bld_appimage.sh bld_prepare.sh bsd.patch cinelerra.spec
> deb.bld netbsd.bld rpm.bld termux_dyn.bld
>
> # cat /home/cinelerra/cinelerra-5.1/blds/rpm.bld
> #!/bin/bash
>
> #zypper install ffmpeg \
> # libavc1394-devel libavcodec-devel libavdevice-devel libavfilter-devel \
> # libavformat-devel libavresample-devel libavutil-devel libmp3lame-devel \
> # libopus-devel libossp-uuid++16 libossp-uuid16 libossp-uuid_dce16 \
> # libtwolame-devel libvpx-devel libwebp-devel libwebpdecoder2
> libwebpextras0 \
> # uuid-devel liblilv-0-devel suil-devel libmjpegutils-devel \
> # libogg-devel libvorbis-devel libtheora-devel libXdmcp-devel
>
> ( ./autogen.sh
> CFLAGS="-DFFMPEG3 -I/usr/include/ffmpeg" ./configure \
> --with-single-user --disable-static-build --without-thirdparty \
> --without-video4linux2 --without-dvb --with-lv2=auto \
> --without-libzmpeg --without-commercial \
> --disable-x264 --disable-x265 --disable-openjpeg
> make && make install ) 2>&1 | tee log
> mv Makefile Makefile.cfg
> cp Makefile.devel Makefile
>
>
> And/Or as Mat said:
>
> then (still in /home/cinelerra/cinelerra-5.1):
> in bld.sh, change the config options to what you want.
> ./bld.sh (if not making an AppImage)
>
>
> Terje
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20240921/b5ea315d/attachment-0001.htm>
More information about the Cin
mailing list