Den 21.09.2024 00:36, skrev Andrew Randrianasulu:
сб, 21 сент. 2024 г., 00:48 Terje J. Hanssen <[email protected]>:
Den 20.09.2024 21:16, skrev Andrew Randrianasulu:
пт, 20 сент. 2024 г., 21:58 Terje J. Hanssen via Cin
<[email protected]>:
Den 20.09.2024 18:57, skrev Mat via Cin:
> "Terje J. Hanssen via Cin" <[email protected]> wrote:
>
>> 1)
>> # cd /home
>>
>> # git clone
git://git.cinelerra-gg.org/goodguy/cinelerra.git
<http://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 <http://configure.ac:19>: installing 'cfg/compile'
configure.ac:89 <http://configure.ac:89>: installing
'cfg/config.guess'
configure.ac:89 <http://configure.ac:89>: installing 'cfg/config.sub'
configure.ac:12 <http://configure.ac:12>: installing 'cfg/install-sh'
configure.ac:12 <http://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
--
Cin mailing list
[email protected]
https://lists.cinelerra-gg.org/mailman/listinfo/cin
--
Cin mailing list
[email protected]
https://lists.cinelerra-gg.org/mailman/listinfo/cin