Den 21.09.2024 15:41, skrev Andrew Randrianasulu:


сб, 21 сент. 2024 г., 14:19 Terje J. Hanssen <[email protected]>:



    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
    <[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



    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 <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'

    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 ...


localhost:/home/cinelerra/cinelerra-5.1 #

3)
# ./autogen.sh
+ '[' -z '' ']'
+ case "$-" in
+ __lmod_vx=x
+ '[' -n x ']'
+ set +x
Shell debugging temporarily silenced: export LMOD_SH_DBG_ON=1 for this output (/usr/share/lmod/lmod/init/bash)
Shell debugging restarted
+ unset __lmod_vx
+ rm -f global_config configure Makefile Makefile.in
+ rm -f aclocal.m4 depcomp compile install-sh ltmain.sh
+ rm -f config.log config.guess config.h config.h.in config.sub config.status missing
+ rm -rf autom4te.cache m4
+ '[' '' = clean ']'
+ mkdir m4
+ autoreconf --install
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'm4'.
libtoolize: copying file 'm4/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:10: installing 'm4/compile'
configure.ac:10: installing 'm4/config.guess'
configure.ac:10: installing 'm4/config.sub'
configure.ac:9: installing 'm4/install-sh'
configure.ac:9: installing 'm4/missing'
++ uname -o
+ '[' GNU/Linux = Android ']'
+ '[' -e /system/bin/app_process ']'


4)
Which configure to use?

# ./configure --with-single-user --with-git-ffmpeg=https://git.ffmpeg.org/ffmpeg.git
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 build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
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 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... none
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
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 dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking dependency style of gcc... none
checking for g++... g++
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 dependency style of g++... none
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/x86_64-suse-linux/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for makeinfo... ${SHELL} '/home/cinelerra/cinelerra-5.1/m4/missing' makeinfo
checking for gettext... gettext
checking for libtool... $(SHELL) $(top_builddir)/libtool
checking for gtk_init in -lm... yes
checking for nasm... yes
checking nasm x264 compatible... yes
checking for yasm... yes
checking for objcopy... yes
checking for pactl... yes
checking for gcc options needed to detect all undeclared functions... none needed
checking whether X_HAVE_UTF8_STRING is declared... yes
checking for XOpenDisplay in -lX11... yes
checking for X11/X.h... yes
checking X11 headers... yes
checking for X11/keysym.h... yes
checking X11 headers... yes
checking for XShmQueryExtension in -lXext... yes
checking for X11/Xlib.h... yes
checking Xlib XShm extention... yes
checking for XineramaQueryExtension in -lXinerama... yes
checking for X11/extensions/Xinerama.h... yes
checking Xinerama headers... yes
checking for XFixesQueryVersion in -lXfixes... yes
checking for BZ2_bzDecompress in -lbz2... yes
checking for FcInit in -lfontconfig... yes
checking for FT_Init_FreeType in -lfreetype... yes
checking for lzma_version_number in -llzma... yes
checking for png_read_png in -lpng... yes
checking for pthread_create in -lpthread... yes
checking for gzopen in -lz... yes
checking for fftw3.h... no
checking fftw headers... no
checking for uuid/uuid.h... yes
checking uuid headers... yes
checking for linux/cdrom.h... yes
checking linux cdrom headers... yes
checking for sys/ioctl.h... yes
checking linux sys... yes
checking for FLAC/stream_decoder.h... yes
checking FLAC headers... yes
checking for lame/lame.h... no
checking lame headers... no
checking for stdio.h... (cached) yes
checking jpeg headers... yes
checking for openjpeg.h... no
checking openjpeg headers... no
checking for sndfile.h... yes
checking sndfile headers... yes
checking for ImfOpenInputFile in -lIlmImf... no
checking for ImfOpenInputFile in -lImath... no
checking for vpx/vpx_decoder.h... no
checking vpx headers... no
checking for mjpegtools/mjpeg_types.h... no
checking mjpegtools headers... no
checking for tiff.h... yes
checking tiff headers... yes
checking for twolame.h... no
checking twolame headers... no
checking for stdint.h... (cached) yes
checking x264 headers... yes
checking for x265.h... yes
checking x265 headers... yes
checking for opus/opus_multistream.h... yes
checking libopus headers... yes
checking for aom/aom.h... no
checking libaom headers... no
checking for dav1d/dav1d.h... no
checking libdav1d headers... no
checking for webp/encode.h... no
checking libwebp headers... no
checking for stdint.h... (cached) yes
checking a52 headers... yes
checking for encore.h... no
checking encore headers... no
checking for gif_lib.h... yes
checking gif lib headers... yes
checking for jbg_dec_init in -ljbig... yes
checking for vdp_device_create_x11 in -lvdpau... yes
checking for vaInitialize in -lva... yes
checking for va/va_x11.h... yes
checking va x11 headers... yes
checking for vaGetDisplay in -lva-x11... yes
checking for va/va_drm.h... yes
checking va drm headers... yes
checking for vaGetDisplayDRM in -lva-drm... yes
checking for glUseProgram in -lGL... yes
checking for gluOrtho2D in -lGLU... yes
checking for GL/gl.h... yes
checking opengl headers... yes
checking for XvQueryExtension in -lXv... yes
checking for X11/Xlib.h... (cached) yes
checking Xlib Xv extention... yes
checking for sys/soundcard.h... yes
checking oss headers... yes
checking for XftInit in -lXft... yes
checking for X11/Xlib.h... (cached) yes
checking Xft/freetype headers... yes
checking for snd_pcm_open in -lasound... yes
checking for alsa/asoundlib.h... yes
checking asound headers... yes
checking for ogg/ogg.h... yes
checking ogg headers... yes
checking for theora/theoraenc.h... yes
checking threora headers... yes
checking for vorbis/vorbisenc.h... yes
checking vorbis encoders headers... yes
checking for vorbis/vorbisfile.h... yes
checking vorbis file headers... yes
checking for libavc1394/avc1394.h... yes
checking libavc1394 headers... yes
checking for libavc1394/rom1394.h... yes
checking librom1394 headers... yes
checking for libiec61883/iec61883.h... yes
checking libiec61883 headers... yes
checking for libraw1394/raw1394.h... yes
checking libraw1394 headers... yes
checking for libdv/dv.h... yes
checking libdv headers... yes
checking for linux/dvb/dmx.h... yes
checking dvb device headers... yes
checking for linux/kernel.h... yes
checking v4l2 system headers... yes
checking for X11/Xlib.h... (cached) yes
checking XF86VM headers... yes
checking for esd.h... no
checking esound headers... no
checking for audiofile.h... no
checking audiofile headers... no
checking for pa_simple_new in -lpulse-simple... yes
checking for pulse/simple.h... yes
checking pulse-simple headers... yes
checking for pa_context_new in -lpulse... yes
checking for pulse/error.h... yes
checking pulse headers... yes
checking for linux/isofs.h... no
checking isofs headers... no
checking for X11/keysymdef.h... yes
checking x11 keysym defs... yes
checking for libusb_init in -lusb-1.0... yes
checking for libusb-1.0/libusb.h... yes
checking libusb headers... yes
checking for lv2 availability... checking for lilv/lilv.h... yes
checking lilv headers... yes
checking for serd/serd.h... yes
checking serd headers... yes
checking for sord/sord.h... yes
checking sord headers... yes
checking for sratom/sratom.h... yes
checking sratom headers... yes
checking for suil/suil.h... yes
checking suil headers... yes
checking for /usr/local/cuda/include/cuda.h... no
checking cuda sdk... no
checking for dlopen in -ldl... yes
checking for numa_alloc in -lnuma... yes
checking for openexr available... yes
  Reason                  Package
  ------                  -------
  static                  libbthread
  forced                  a52dec
  forced                  djbfft
  disabled                encore
  disabled                audiofile
  disabled                esound
  forced                  ffmpeg
  static                  fftw
  static                  flac
  forced                  giflib
  static                  ilmBase
  static                  ladspa
  forced                  lame
  static                  libavc1394
  forced                  libraw1394
  static                  libiec61883
  static                  libdv
  static                  libjpeg
  forced                  libogg
  static                  libsndfile
  forced                  libtheora
  forced                  libuuid
  forced                  libvorbis
  forced                  mjpegtools
  static                  libaom
  disabled                libsvtav1
  static                  dav1d
  static                  libwebp
  static                  openExr
  static                  openexr
  forced                  openjpeg
  static                  tiff
  forced                  twolame
  forced                  x264
  forced                  x265
  static                  libvpx
  static                  opus
  static                  lv2
  static                  lilv
  static                  sratom
  static                  serd
  static                  sord
  static                  suil
  static                  ffnvcodec
  static                  libdpx
  system                  -lX11
  system                  -lXext
  system                  -lXinerama
  system                  -lXfixes
  system                  -lbz2
  system                  -lfontconfig
  system                  -lfreetype
  system                  -llzma
  system                  -lpng
  system                  -lpthread
  system                  -lz
  system                  -ljbig
  system                  -lvdpau
  system                  -lva
  system                  -lva-x11
  system                  -lva-drm
  system                  -lGL
  system                  -lGLU
  system                  -lXv
  system                  -lXft
  system                  -lasound
  system                  -lpulse-simple
  system                  -lpulse
  system                  -lusb-1.0
  system                  -ldl
  system                  -lnuma

  using: with-gl
  using: with-xft
  using: with-xxf86vm
  using: with-oss
  using: with-alsa
  using: with-firewire
  using: with-ogg
  using: with-dv
  using: with-dvb
  using: with-ladspa
  using: with-video4linux2
  using: without-esound
  using: with-pulse
  using: with-pactl
  using: with-openexr
  using: with-lv2
  using: without-commercial
  using: with-giflib
  using: with-libzmpeg
  using: with-libdpx
  using: with-shuttle
  using: with-shuttle_usb
  using: with-xv
  using: with-vaapi
  using: with-vdpau
  using: without-cuda
  using: with-nv
  using: with-wintv
  using: with-x10tv
  using: with-jobs = 32
  using: exec-name = cin
  using: with-cinlib = $$CIN_PATH
  using: with-cindat = $$CIN_PATH
  using: with-config-dir = $$HOME/.bcast5
  using: with-nested-dir = $$HOME/Videos
  using: with-snap-dir = $$HOME/Pictures
  using: with-browser = firefox
  using: with-plugin-dir = $$CIN_LIB/plugins
  using: with-ladspa-dir = $$CIN_LIB/ladspa
  using: with-opencv = no
  using: with-git-ffmpeg = https://git.ffmpeg.org/ffmpeg.git
  using: with-noelision = auto
  using: with-booby = no
  using: with-clang = no

  using: thirdparty build = yes
  using: single-user  = yes
  using: static-build = yes
  using: ladspa-build = yes

checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
config.status: executing libtool commands


5)
# make
.....snip
[ 99%] Building CXX object CMakeFiles/aom_av1_rc.dir/av1/ratectrl_rtc.cc.o
/home/cinelerra/cinelerra-5.1/thirdparty/libaom-v3.8.0/tools/dump_obu.cc: In function ‘int main(int, const char**)’: /home/cinelerra/cinelerra-5.1/thirdparty/libaom-v3.8.0/tools/dump_obu.cc:115:58: warning: ignoring attributes on template argument ‘int (*)(FILE*)’ [-Wignored-attributes]
  115 |   using FilePtr = std::unique_ptr<FILE, decltype(&fclose)>;
      |                                                          ^
[ 99%] Linking CXX executable dump_obu
[ 99%] Built target dump_obu
[100%] Linking CXX static library libaom_av1_rc.a
[100%] Built target aom_av1_rc
Install the project...
-- Install configuration: "Release"
-- Installing: /home/cinelerra/cinelerra-5.1/thirdparty/libaom-v3.8.0/usr/local/include/aom/aom.h -- Installing: /home/cinelerra/cinelerra-5.1/thirdparty/libaom-v3.8.0/usr/local/include/aom/aom_codec.h -- Installing: /home/cinelerra/cinelerra-5.1/thirdparty/libaom-v3.8.0/usr/local/include/aom/aom_frame_buffer.h -- Installing: /home/cinelerra/cinelerra-5.1/thirdparty/libaom-v3.8.0/usr/local/include/aom/aom_image.h -- Installing: /home/cinelerra/cinelerra-5.1/thirdparty/libaom-v3.8.0/usr/local/include/aom/aom_integer.h -- Installing: /home/cinelerra/cinelerra-5.1/thirdparty/libaom-v3.8.0/usr/local/include/aom/aom_decoder.h -- Installing: /home/cinelerra/cinelerra-5.1/thirdparty/libaom-v3.8.0/usr/local/include/aom/aomdx.h -- Installing: /home/cinelerra/cinelerra-5.1/thirdparty/libaom-v3.8.0/usr/local/include/aom/aomcx.h -- Installing: /home/cinelerra/cinelerra-5.1/thirdparty/libaom-v3.8.0/usr/local/include/aom/aom_encoder.h -- Installing: /home/cinelerra/cinelerra-5.1/thirdparty/libaom-v3.8.0/usr/local/include/aom/aom_external_partition.h -- Installing: /home/cinelerra/cinelerra-5.1/thirdparty/libaom-v3.8.0/usr/local/lib/pkgconfig/aom.pc -- Installing: /home/cinelerra/cinelerra-5.1/thirdparty/libaom-v3.8.0/usr/local/lib/libaom.a make[3]: Leaving directory '/home/cinelerra/cinelerra-5.1/thirdparty/libaom-v3.8.0/aom.build' touch /home/cinelerra/cinelerra-5.1/thirdparty/../thirdparty/build/libaom.built
make[2]: Leaving directory '/home/cinelerra/cinelerra-5.1/thirdparty'
make[1]: *** [Makefile:592: all-recursive] Error 1
make[1]: Leaving directory '/home/cinelerra/cinelerra-5.1'
make: *** [Makefile:539: all] Error 2





    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


-- 
Cin mailing list
[email protected]
https://lists.cinelerra-gg.org/mailman/listinfo/cin

Reply via email to