[Cin] Building Cingg from git using system FFmpeg and libs (Slowroll)
Andrew Randrianasulu
randrianasulu at gmail.com
Mon Sep 23 00:49:38 CEST 2024
пн, 23 сент. 2024 г., 01:39 Terje J. Hanssen <terjejhanssen at gmail.com>:
>
>
> Den 23.09.2024 00:21, skrev Andrew Randrianasulu:
>
>
>
> пн, 23 сент. 2024 г., 01:05 Terje J. Hanssen <terjejhanssen at gmail.com>:
>
>>
>>
>> Den 22.09.2024 23:40, skrev Andrew Randrianasulu:
>>
>>
>>
>> пн, 23 сент. 2024 г., 00:12 Terje J. Hanssen <terjejhanssen at gmail.com>:
>>
>>>
>>>
>>> Den 22.09.2024 15:56, skrev Andrew Randrianasulu:
>>>
>>>
>>>
>>> вс, 22 сент. 2024 г., 13:56 Terje J. Hanssen via Cin <
>>> cin at lists.cinelerra-gg.org>:
>>>
>>>> After getting the generic built environment for Cingg on
>>>> openSUSE-Slowroll in place, it's time to continue with the steps to get
>>>> Cingg built from git using the system FFmpeg and libs.
>>>>
>>>> First a reference to and from the previous thread
>>>> https://lists.cinelerra-gg.org/pipermail/cin/2024-September/008652.html
>>>>
>>>> ...snip
>>>>
>>>> -------------------
>>>>
>>>> Suggestions to modified/additional procedure steps to build Cingg from
>>>> git using the system FFmpeg and libs
>>>> continued from the previous thread?
>>>> https://lists.cinelerra-gg.org/pipermail/cin/2024-September/008655.html
>>>>
>>>>
>>> try
>>>
>>> ./configure --with-single-user --disable-static-build
>>> --without-thirdparty --without-libdpx
>>>
>>> you might move just-build cingg+plugins in "bin" directory somewhere
>>> away in case you will want to make more tests with it, then run "make
>>> clean" configure line as above, make, make install
>>>
>>>
>>>
>>> I'm late due to some other matter today.
>>>
>>> # cd /home/cinelerra/cinelerra-5.1/bin
>>> Moved cin and plugins to a backup directory
>>>
>>> I take a checkpoint here, in case I did something wrong:
>>> 4) ./configure wasn't found, so I ran 3) ./autogen.sh first as we did in
>>> the previous thread ?
>>>
>>
>>
>> yes.
>>
>>
>>> Output as follows below:
>>>
>>> # cd /home/cinelerra/cinelerra-5.1
>>>
>>> # make clean
>>> for dir in thirdparty libzmpeg3 mpeg2enc mplexlo db guicast cinelerra
>>> plugins doc po; do make -C $dir clean; done
>>> make[1]: Entering directory '/home/cinelerra/cinelerra-5.1/thirdparty'
>>> for f in a52dec djbfft ffmpeg fftw flac giflib ladspa lame libavc1394
>>> libraw1394 libiec61883 libdv libjpeg opus openjpeg libogg libsndfile
>>> libtheora libuuid libvorbis mjpegtools openexr openExr ilmBase tiff twolame
>>> x264 x265 libvpx lv2 sratom serd sord lilv suil libaom dav1d libwebp
>>> ffnvcodec libdpx; do rm -rf $f*; done
>>> rm -rf /home/cinelerra/cinelerra-5.1/thirdparty/../thirdparty/build
>>> make[1]: Leaving directory '/home/cinelerra/cinelerra-5.1/thirdparty'
>>> make[1]: Entering directory '/home/cinelerra/cinelerra-5.1/libzmpeg3'
>>> rm -rf x86_64 tags
>>> make[1]: Leaving directory '/home/cinelerra/cinelerra-5.1/libzmpeg3'
>>> make[1]: Entering directory '/home/cinelerra/cinelerra-5.1/mpeg2enc'
>>> rm -rf x86_64
>>> make[1]: Leaving directory '/home/cinelerra/cinelerra-5.1/mpeg2enc'
>>> make[1]: Entering directory '/home/cinelerra/cinelerra-5.1/mplexlo'
>>> rm -rf x86_64
>>> make[1]: Leaving directory '/home/cinelerra/cinelerra-5.1/mplexlo'
>>> make[1]: Entering directory '/home/cinelerra/cinelerra-5.1/db'
>>> make[1]: Nothing to be done for 'clean'.
>>> make[1]: Leaving directory '/home/cinelerra/cinelerra-5.1/db'
>>> make[1]: Entering directory '/home/cinelerra/cinelerra-5.1/guicast'
>>> rm -rf x86_64
>>> make -C xfer clean
>>> make[2]: Entering directory '/home/cinelerra/cinelerra-5.1/guicast/xfer'
>>> rm -rf x86_64 xfer*.[Ch]
>>> make[2]: Leaving directory '/home/cinelerra/cinelerra-5.1/guicast/xfer'
>>> make[1]: Leaving directory '/home/cinelerra/cinelerra-5.1/guicast'
>>> make[1]: Entering directory '/home/cinelerra/cinelerra-5.1/cinelerra'
>>> rm -rf x86_64
>>> rm -f shuttle_keys.h
>>> make[1]: Leaving directory '/home/cinelerra/cinelerra-5.1/cinelerra'
>>> make[1]: Entering directory '/home/cinelerra/cinelerra-5.1/plugins'
>>> rm -rf 1080to480/x86_64 1080to540/x86_64 720to480/x86_64 aging/x86_64
>>> alpha/x86_64 scaleratio/x86_64 audioscope/x86_64 bandslide/x86_64
>>> bandwipe/x86_64 bluebanana/x86_64 blur/x86_64 boxblur/x86_64
>>> brightness/x86_64 burn/x86_64 C41/x86_64 chorus/x86_64 chromakey/x86_64
>>> chromakeyhsv/x86_64 chromakeyavid/x86_64 color3way/x86_64
>>> colorbalance/x86_64 colorspace/x86_64 compressor/x86_64
>>> compressormulti/x86_64 crikey/x86_64 crop/x86_64 crossfade/x86_64
>>> dcoffset/x86_64 decimate/x86_64 deinterlace/x86_64 deinterlace-cv/x86_64
>>> delayaudio/x86_64 delayvideo/x86_64 denoise/x86_64 denoisefft/x86_64
>>> denoiseseltempavg/x86_64 denoisevideo/x86_64 descratch/x86_64
>>> despike/x86_64 diffkey/x86_64 dissolve/x86_64 dot/x86_64 downsample/x86_64
>>> edge/x86_64 echo/x86_64 echocancel/x86_64 fieldframe/x86_64 flanger/x86_64
>>> flash/x86_64 flip/x86_64 foreground/x86_64 framefield/x86_64
>>> freeverb/x86_64 freezeframe/x86_64 gain/x86_64 gamma/x86_64 gradient/x86_64
>>> graphic/x86_64 histeq/x86_64 histogram/x86_64 histogram_bezier/x86_64
>>> holo/x86_64 huesaturation/x86_64 interpolate/x86_64 interpolateaudio/x86_64
>>> interpolatevideo/x86_64 invertaudio/x86_64 invertvideo/x86_64
>>> irissquare/x86_64 ivtc/x86_64 lens/x86_64 level/x86_64 libeffecttv/x86_64
>>> linearblur/x86_64 liveaudio/x86_64 livevideo/x86_64 loopaudio/x86_64
>>> loopvideo/x86_64 mirror/x86_64 motion/x86_64 motion51/x86_64
>>> motion2point/x86_64 motionblur/x86_64 normalize/x86_64 oilpainting/x86_64
>>> overlay/x86_64 overlayaudio/x86_64 parametric/x86_64 perspective/x86_64
>>> photoscale/x86_64 posterize/x86_64 pitch/x86_64 polar/x86_64
>>> radialblur/x86_64 reframe/x86_64 reframert/x86_64 removegaps/x86_64
>>> reroute/x86_64 resample/x86_64 resamplert/x86_64 reverb/x86_64
>>> reverseaudio/x86_64 reversevideo/x86_64 rgb601/x86_64 rgbshift/x86_64
>>> rotate/x86_64 rumbler/x86_64 scale/x86_64 sketcher/x86_64 shapewipe/x86_64
>>> sharpen/x86_64 shiftinterlace/x86_64 slide/x86_64 spectrogram/x86_64
>>> speed_pc/x86_64 spherecam/x86_64 svg/x86_64 swapchannels/x86_64
>>> swapframes/x86_64 swatch/x86_64 synthesizer/x86_64 threshold/x86_64
>>> timeavg/x86_64 timeblur/x86_64 timefront/x86_64 timelapsehelper/x86_64
>>> timestretch/x86_64 timestretchrt/x86_64 titler/x86_64 tracer/x86_64
>>> translate/x86_64 tremolo/x86_64 unsharp/x86_64 videoscope/x86_64
>>> wave/x86_64 whirl/x86_64 wipe/x86_64 yuv/x86_64 yuv411/x86_64
>>> yuvshift/x86_64 zoom/x86_64 zoomblur/x86_64 theme_blond_cv/x86_64
>>> theme_blue_dot/x86_64 theme_bright/x86_64 theme_hulk/x86_64
>>> theme_neophyte/x86_64 theme_pinklady/x86_64 theme_suv/x86_64
>>> theme_unflat/x86_64 theme_cakewalk/x86_64 cdripper/x86_64
>>> theme_blond/x86_64 theme_blue/x86_64
>>> rm -rf /home/cinelerra/cinelerra-5.1/plugins/../bin/plugins
>>> /home/cinelerra/cinelerra-5.1/plugins/../bin/ladspa
>>> make[1]: Leaving directory '/home/cinelerra/cinelerra-5.1/plugins'
>>> make[1]: Entering directory '/home/cinelerra/cinelerra-5.1/doc'
>>> rm -f cinelerra.html arrow.png autokeyframe.png camera.png channel.png
>>> crop.png cut.png expandpatch_checked.png eyedrop.png fitautos.png ibeam.png
>>> left_justify.png loadmode_cat.png loadmode_nested.png loadmode_newcat.png
>>> loadmode_new.png loadmode_newtracks.png loadmode_none.png
>>> loadmode_paste.png loadmode_resource.png magnify.png mask.png
>>> mutepatch_up.png paste.png projector.png protect.png recordpatch.png
>>> record.png rewind.png show_meters.png singleframe.png titlesafe.png
>>> toolwindow.png top_justify.png wrench.png
>>> make[1]: Leaving directory '/home/cinelerra/cinelerra-5.1/doc'
>>> make[1]: Entering directory '/home/cinelerra/cinelerra-5.1/po'
>>> rm -f de.mo es.mo eu.mo fr.mo it.mo nb.mo pt.mo sl.mo hi.mo
>>> hu.mo ko.mo vi.mo zh.mo el.mo ja.mo uk.mo ru.mo
>>> make[1]: Leaving directory '/home/cinelerra/cinelerra-5.1/po'
>>> rm -rf thirdparty/opencv*
>>> rm -rf bin cinelerra/tags
>>> ./autogen.sh clean
>>> + '[' -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 = clean ']'
>>> + exit 0
>>>
>>> /home/cinelerra/cinelerra-5.1 #
>>>
>>> 4)
>>> # ./configure --with-single-user --disable-static-build
>>> --without-thirdparty --without-libdpx
>>> -bash: ./configure: No such file or directory
>>>
>>> 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 ']'
>>>
>>> localhost:/home/cinelerra/cinelerra-5.1 #
>>>
>>>
>>> 4)
>>> # ./configure --with-single-user --disable-static-build
>>> --without-thirdparty --without-libdpx
>>> 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
>>> ....snip
>>>
>>> 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
>>>
>>> localhost:/home/cinelerra/cinelerra-5.1 #
>>>
>>
>>
>>
>> looks good, now try make ? (may be with output redirection so it will be
>> easier to see if any error occured)
>>
>>
>> # make > make.log 2>&1
>>
>> Compilation terminated with Error (many 46 | #include "a52.h"), so I put
>> the output log below:
>>
>> mkdir -p bin bin/applications bin/pixmaps bin/lv2
>> make -j32 all-recursive
>> make[1]: Entering directory '/home/cinelerra/cinelerra-5.1'
>> Making all in thirdparty
>> make[2]: Entering directory '/home/cinelerra/cinelerra-5.1/thirdparty'
>> make[2]: warning: -j32 forced in submake: resetting jobserver mode.
>> make[2]: Nothing to be done for 'all'.
>> make[2]: Leaving directory '/home/cinelerra/cinelerra-5.1/thirdparty'
>> Making all in libbthread-master
>> make[2]: Entering directory
>> '/home/cinelerra/cinelerra-5.1/libbthread-master'
>> make[2]: warning: -j32 forced in submake: resetting jobserver mode.
>> g++ -c -o jpt.o just-pt.cc -I.
>> ar crs jpt.a jpt.o
>> make[2]: Leaving directory
>> '/home/cinelerra/cinelerra-5.1/libbthread-master'
>> Making all in libzmpeg3
>> make[2]: Entering directory '/home/cinelerra/cinelerra-5.1/libzmpeg3'
>> make[2]: warning: -j32 forced in submake: resetting jobserver mode.
>> cc -c `cat x86_64/c_flags` audio/ac3.C -o x86_64/audio/ac3.o
>> cc -c `cat x86_64/c_flags` audio/dct.C -o x86_64/audio/dct.o
>> cc -c `cat x86_64/c_flags` audio/huffman.C -o x86_64/audio/huffman.o
>> cc -c `cat x86_64/c_flags` audio/layer2.C -o x86_64/audio/layer2.o
>> cc -c `cat x86_64/c_flags` audio/layer3.C -o x86_64/audio/layer3.o
>> cc -c `cat x86_64/c_flags` audio/audio.C -o x86_64/audio/audio.o
>> cc -c `cat x86_64/c_flags` audio/pcm.C -o x86_64/audio/pcm.o
>> cc -c `cat x86_64/c_flags` audio/synthesizers.C -o
>> x86_64/audio/synthesizers.o
>> cc -c `cat x86_64/c_flags` audio/tables.C -o x86_64/audio/tables.o
>> cc -c `cat x86_64/c_flags` libzmpeg3.C -o x86_64/libzmpeg3.o
>> cc -c `cat x86_64/c_flags` atrack.C -o x86_64/atrack.o
>> cc -c `cat x86_64/c_flags` bits.C -o x86_64/bits.o
>> cc -c `cat x86_64/c_flags` css.C -o x86_64/css.o
>> cc -c `cat x86_64/c_flags` demux.C -o x86_64/demux.o
>> cc -c `cat x86_64/c_flags` strack.C -o x86_64/strack.o
>> cc -c `cat x86_64/c_flags` title.C -o x86_64/title.o
>> cc -c `cat x86_64/c_flags` vtrack.C -o x86_64/vtrack.o
>> cc -c `cat x86_64/c_flags` zio.C -o x86_64/zio.o
>> cc -c `cat x86_64/c_flags` dvb.C -o x86_64/dvb.o
>> cc -c `cat x86_64/c_flags` huf.C -o x86_64/huf.o
>> cc -c `cat x86_64/c_flags` xfont.C -o x86_64/xfont.o
>> cc -c `cat x86_64/c_flags` video/getpicture.C -o
>> x86_64/video/getpicture.o
>> cc -c `cat x86_64/c_flags` video/headers.C -o x86_64/video/headers.o
>> cc -c `cat x86_64/c_flags` video/idct.C -o x86_64/video/idct.o
>> cc -c `cat x86_64/c_flags` video/macroblocks.C -o
>> x86_64/video/macroblocks.o
>> cc -c `cat x86_64/c_flags` video/mmxtest.C -o x86_64/video/mmxtest.o
>> cc -c `cat x86_64/c_flags` video/motion.C -o x86_64/video/motion.o
>> cc -c `cat x86_64/c_flags` video/cache.C -o x86_64/video/cache.o
>> cc -c `cat x86_64/c_flags` video/video.C -o x86_64/video/video.o
>> cc -c `cat x86_64/c_flags` video/output.C -o x86_64/video/output.o
>> cc -c `cat x86_64/c_flags` video/reconstruct.C -o
>> x86_64/video/reconstruct.o
>> cc -c `cat x86_64/c_flags` video/seek.C -o x86_64/video/seek.o
>> In file included from audio/layer2.C:7:
>> audio/../libzmpeg3.h:46:10: fatal error: a52.h: No such file or directory
>> 46 | #include "a52.h"
>> | ^~~~~~~
>> In file included from audio/synthesizers.C:1:
>> audio/../libzmpeg3.h:46:10: fatal error: a52.h: No such file or directory
>> 46 | #include "a52.h"
>> | ^~~~~~~
>> compilation terminated.
>> compilation terminated.
>> In file included from zio.C:1:
>> libzmpeg3.h:46:10: fatal error: a52.h: No such file or directory
>> 46 | #include "a52.h"
>> | ^~~~~~~
>> compilation terminated.
>> make[2]: *** [Makefile:129: x86_64/audio/layer2.o] Error 1
>> make[2]: *** Waiting for unfinished jobs....
>> In file included from strack.C:1:
>> libzmpeg3.h:46:10: fatal error: a52.h: No such file or directory
>> 46 | #include "a52.h"
>> | ^~~~~~~
>> compilation terminated.
>> In file included from dvb.C:1:
>> libzmpeg3.h:46:10: fatal error: a52.h: No such file or directory
>> 46 | #include "a52.h"
>> | ^~~~~~~
>> compilation terminated.
>> make[2]: *** [Makefile:129: x86_64/audio/synthesizers.o] Error 1
>> make[2]: *** [Makefile:129: x86_64/strack.o] Error 1
>> make[2]: *** [Makefile:129: x86_64/zio.o] Error 1
>> make[2]: *** [Makefile:129: x86_64/dvb.o] Error 1
>> In file included from bits.C:1:
>> libzmpeg3.h:46:10: fatal error: a52.h: No such file or directory
>> 46 | #include "a52.h"
>> | ^~~~~~~
>> compilation terminated.
>> In file included from audio/dct.C:29:
>> audio/../libzmpeg3.h:46:10: fatal error: a52.h: No such file or directory
>> 46 | #include "a52.h"
>> | ^~~~~~~
>> compilation terminated.
>> In file included from audio/audio.C:1:
>> audio/../libzmpeg3.h:46:10: fatal error: a52.h: No such file or directory
>> 46 | #include "a52.h"
>> | ^~~~~~~
>> compilation terminated.
>> In file included from title.C:1:
>> libzmpeg3.h:46:10: fatal error: a52.h: No such file or directory
>> 46 | #include "a52.h"
>> | ^~~~~~~
>> compilation terminated.
>> In file included from demux.C:1:
>> libzmpeg3.h:46:10: fatal error: a52.h: No such file or directory
>> 46 | #include "a52.h"
>> | ^~~~~~~
>> compilation terminated.
>> make[2]: *** [Makefile:129: x86_64/audio/dct.o] Error 1
>> make[2]: *** [Makefile:129: x86_64/audio/audio.o] Error 1
>> make[2]: *** [Makefile:129: x86_64/bits.o] Error 1
>> In file included from audio/layer3.C:1:
>> audio/../libzmpeg3.h:46:10: fatal error: a52.h: No such file or directory
>> 46 | #include "a52.h"
>> | ^~~~~~~
>> compilation terminated.
>> make[2]: *** [Makefile:129: x86_64/audio/layer3.o] Error 1
>> make[2]: *** [Makefile:129: x86_64/demux.o] Error 1
>> make[2]: *** [Makefile:129: x86_64/title.o] Error 1
>> In file included from vtrack.C:1:
>> libzmpeg3.h:46:10: fatal error: a52.h: No such file or directory
>> 46 | #include "a52.h"
>> | ^~~~~~~
>> compilation terminated.
>> make[2]: *** [Makefile:129: x86_64/vtrack.o] Error 1
>> In file included from audio/ac3.C:1:
>> audio/../libzmpeg3.h:46:10: fatal error: a52.h: No such file or directory
>> 46 | #include "a52.h"
>> | ^~~~~~~
>> compilation terminated.
>> make[2]: *** [Makefile:129: x86_64/audio/ac3.o] Error 1
>> In file included from css.C:2:
>> libzmpeg3.h:46:10: fatal error: a52.h: No such file or directory
>> 46 | #include "a52.h"
>> | ^~~~~~~
>> compilation terminated.
>> make[2]: *** [Makefile:129: x86_64/css.o] Error 1
>> In file included from audio/pcm.C:1:
>> audio/../libzmpeg3.h:46:10: fatal error: a52.h: No such file or directory
>> 46 | #include "a52.h"
>> | ^~~~~~~
>> compilation terminated.
>> In file included from video/getpicture.C:1:
>> video/../libzmpeg3.h:46:10: fatal error: a52.h: No such file or directory
>> 46 | #include "a52.h"
>> | ^~~~~~~
>> compilation terminated.
>> make[2]: *** [Makefile:129: x86_64/audio/pcm.o] Error 1
>> make[2]: *** [Makefile:129: x86_64/video/getpicture.o] Error 1
>> In file included from video/idct.C:1:
>> video/../libzmpeg3.h:46:10: fatal error: a52.h: No such file or directory
>> 46 | #include "a52.h"
>> | ^~~~~~~
>> compilation terminated.
>> In file included from libzmpeg3.C:7:
>> libzmpeg3.h:46:10: fatal error: a52.h: No such file or directory
>> 46 | #include "a52.h"
>> | ^~~~~~~
>> compilation terminated.
>> make[2]: *** [Makefile:129: x86_64/video/idct.o] Error 1
>> make[2]: *** [Makefile:129: x86_64/libzmpeg3.o] Error 1
>> In file included from audio/tables.C:1:
>> audio/../libzmpeg3.h:46:10: fatal error: a52.h: No such file or directory
>> 46 | #include "a52.h"
>> | ^~~~~~~
>> compilation terminated.
>> make[2]: *** [Makefile:129: x86_64/audio/tables.o] Error 1
>> In file included from huf.C:3:
>> libzmpeg3.h:46:10: fatal error: a52.h: No such file or directory
>> 46 | #include "a52.h"
>> | ^~~~~~~
>> compilation terminated.
>> make[2]: *** [Makefile:129: x86_64/huf.o] Error 1
>> In file included from audio/huffman.C:1:
>> audio/../libzmpeg3.h:46:10: fatal error: a52.h: No such file or directory
>> 46 | #include "a52.h"
>> | ^~~~~~~
>> compilation terminated.
>> make[2]: *** [Makefile:129: x86_64/audio/huffman.o] Error 1
>> In file included from video/mmxtest.C:1:
>> video/../libzmpeg3.h:46:10: fatal error: a52.h: No such file or directory
>> 46 | #include "a52.h"
>> | ^~~~~~~
>> compilation terminated.
>> In file included from xfont.C:7:
>> libzmpeg3.h:46:10: fatal error: a52.h: No such file or directory
>> 46 | #include "a52.h"
>> | ^~~~~~~
>> compilation terminated.
>> make[2]: *** [Makefile:129: x86_64/video/mmxtest.o] Error 1
>> In file included from atrack.C:1:
>> libzmpeg3.h:46:10: fatal error: a52.h: No such file or directory
>> 46 | #include "a52.h"
>> | ^~~~~~~
>> compilation terminated.
>> make[2]: *** [Makefile:129: x86_64/xfont.o] Error 1
>> make[2]: *** [Makefile:129: x86_64/atrack.o] Error 1
>> In file included from video/macroblocks.C:1:
>> video/../libzmpeg3.h:46:10: fatal error: a52.h: No such file or directory
>> 46 | #include "a52.h"
>> | ^~~~~~~
>> compilation terminated.
>> make[2]: *** [Makefile:129: x86_64/video/macroblocks.o] Error 1
>> In file included from video/video.C:1:
>> video/../libzmpeg3.h:46:10: fatal error: a52.h: No such file or directory
>> 46 | #include "a52.h"
>> | ^~~~~~~
>> compilation terminated.
>> make[2]: *** [Makefile:129: x86_64/video/video.o] Error 1
>> In file included from video/headers.C:1:
>> video/../libzmpeg3.h:46:10: fatal error: a52.h: No such file or directory
>> 46 | #include "a52.h"
>> | ^~~~~~~
>> compilation terminated.
>> In file included from video/output.C:1:
>> video/../libzmpeg3.h:46:10: fatal error: a52.h: No such file or directory
>> 46 | #include "a52.h"
>> | ^~~~~~~
>> compilation terminated.
>> In file included from video/reconstruct.C:1:
>> video/../libzmpeg3.h:46:10: fatal error: a52.h: No such file or directory
>> 46 | #include "a52.h"
>> | ^~~~~~~
>> compilation terminated.
>> make[2]: *** [Makefile:129: x86_64/video/headers.o] Error 1
>> In file included from video/motion.C:1:
>> video/../libzmpeg3.h:46:10: fatal error: a52.h: No such file or directory
>> 46 | #include "a52.h"
>> | ^~~~~~~
>> compilation terminated.
>> make[2]: *** [Makefile:129: x86_64/video/output.o] Error 1
>> In file included from video/seek.C:1:
>> video/../libzmpeg3.h:46:10: fatal error: a52.h: No such file or directory
>> 46 | #include "a52.h"
>> | ^~~~~~~
>> compilation terminated.
>> make[2]: *** [Makefile:129: x86_64/video/reconstruct.o] Error 1
>> make[2]: *** [Makefile:129: x86_64/video/motion.o] Error 1
>> make[2]: *** [Makefile:129: x86_64/video/seek.o] Error 1
>> In file included from video/cache.C:1:
>> video/../libzmpeg3.h:46:10: fatal error: a52.h: No such file or directory
>> 46 | #include "a52.h"
>> | ^~~~~~~
>> compilation terminated.
>> make[2]: *** [Makefile:129: x86_64/video/cache.o] Error 1
>> make[2]: Leaving directory '/home/cinelerra/cinelerra-5.1/libzmpeg3'
>> make[1]: *** [Makefile:592: all-recursive] Error 1
>> make[1]: Leaving directory '/home/cinelerra/cinelerra-5.1'
>> make: *** [Makefile:539: all] Error 2
>>
>
>
>
> my bad! try to install liba52-devel and liba52-devel libtwolame-develand
> may be twolame-devel too.
>
>
> Installed liba52-devel and libtwolame-devel, did't find any available
> mjpegtools-devel (had mjegtools installed), didn't install
> mjpegtools-debuginfo and -debugsource)
>
> Three make Error 1, One Error 2:
>
> From make.log:
>
> .....snip
> g++ `cat x86_64/c_flags` -DMSGQUAL=aboutprefs -c aboutprefs.C -o
> x86_64/aboutprefs.o
> g++ `cat x86_64/c_flags` -DMSGQUAL=adeviceprefs -c adeviceprefs.C -o
> x86_64/adeviceprefs.o
> g++ `cat x86_64/c_flags` -DMSGQUAL=aedit -c aedit.C -o x86_64/aedit.o
> In file included from formattools.h:32,
> from file.h:37,
> from aboutprefs.C:24:
> ffmpeg.h:48:10: fatal error: libavformat/avformat.h: No such file or
> directory
> 48 | #include "libavformat/avformat.h"
> | ^~~~~~~~~~~~~~~~~~~~~~~~
> compilation terminated.
> make[2]: *** [Makefile:597: x86_64/aboutprefs.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> In file included from formattools.h:32,
> from file.h:37,
> from aedit.C:28:
> ffmpeg.h:48:10: fatal error: libavformat/avformat.h: No such file or
> directory
> 48 | #include "libavformat/avformat.h"
> | ^~~~~~~~~~~~~~~~~~~~~~~~
> compilation terminated.
> make[2]: *** [Makefile:597: x86_64/aedit.o] Error 1
> In file included from
> /home/cinelerra/cinelerra-5.1/cinelerra/../guicast/bcsubwindow.h:26,
> from
> /home/cinelerra/cinelerra-5.1/cinelerra/../guicast/bcbar.h:26,
> from
> /home/cinelerra/cinelerra-5.1/cinelerra/../guicast/guicast.h:27,
> from adeviceprefs.h:31,
> from adeviceprefs.C:23:
> /home/cinelerra/cinelerra-5.1/cinelerra/../guicast/bcwindowbase.h:222:22:
> warning: ‘virtual void BC_WindowBase::create_objects()’ was hidden
> [-Woverloaded-virtual=]
> 222 | virtual void create_objects() { return; };
> | ^~~~~~~~~~~~~~
> In file included from
> /home/cinelerra/cinelerra-5.1/cinelerra/../guicast/guicast.h:62:
> /home/cinelerra/cinelerra-5.1/cinelerra/../guicast/errorbox.h:35:14:
> note: by ‘void ErrorBox::create_objects(const char*)’
> 35 | void create_objects(const char *text);
> | ^~~~~~~~~~~~~~
> /home/cinelerra/cinelerra-5.1/cinelerra/../guicast/bcwindowbase.h:222:22:
> warning: ‘virtual void BC_WindowBase::create_objects()’ was hidden
> [-Woverloaded-virtual=]
> 222 | virtual void create_objects() { return; };
> | ^~~~~~~~~~~~~~
> In file included from preferencesthread.h:30,
> from appearanceprefs.h:30,
> from preferences.h:37,
> from adeviceprefs.C:33:
> question.h:34:14: note: by ‘void QuestionWindow::create_objects(const
> char*, int)’
> 34 | void create_objects(const char *string, int use_cancel);
> | ^~~~~~~~~~~~~~
> make[2]: Leaving directory '/home/cinelerra/cinelerra-5.1/cinelerra'
> make[1]: *** [Makefile:592: all-recursive] Error 1
> make[1]: Leaving directory '/home/cinelerra/cinelerra-5.1'
> make: *** [Makefile:539: all] Error 2
>
ah, ffmpeg includes not found ...
does "pkg-config --cflags libavcodec" print anything?
alternatively you can look with "ls" into /usr/include, may be current
ffmpeg includes live there under ffmpeg7 directory?
of course you need ffmpeg(7?)-devel package installed
After you located includes try to re-run ./configure but set CFLAGS
variable before it with -I/path_to_ffmpeg_includes directive, like
CFLAGS=-I/usr/include/ffmpeg7 ./configure <..>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20240923/5679e2f6/attachment-0001.htm>
More information about the Cin
mailing list