[Cin] Is one pre-built dynamic and static binary for user selection possible?
Andrew Randrianasulu
randrianasulu at gmail.com
Sat Sep 21 17:01:28 CEST 2024
[snip]
>
> 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
>
interesting, probably error was scrolled up.
you can rerun make and try to catch error eventually.
>
>
>
>
>> 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/3572d021/attachment-0001.htm>
More information about the Cin
mailing list