gravity-addiction / rpi-mpv

rpi scripts for compiling mpv on rpi
MIT License
7 stars 1 forks source link

trying to run on a Pi4b, bullseye 64-bit #3

Open Daggerfellar opened 2 years ago

Daggerfellar commented 2 years ago

code isnt able to create directories or accept ones I create named what they should be... it just vomits the files in /home/pc and keeps saying that it cannot find the directory for the files.

thus its not installing.

Daggerfellar commented 2 years ago

got it to run but its failing alot of things

`mv -f .deps/get_audio.Tpo .deps/get_audio.Po mv -f .deps/parse.Tpo .deps/parse.Po /bin/bash ../libtool --tag=CC --mode=link gcc -static -o lame lame_main.o main.o brhist.o console.o get_audio.o lametime.o parse.o timestatus.o ../libmp3lame/libmp3lame.la -lncurses -lm libtool: link: gcc -o lame lame_main.o main.o brhist.o console.o get_audio.o lametime.o parse.o timestatus.o ../libmp3lame/.libs/libmp3lame.a -lncurses -lm make[2]: Leaving directory '/home/prometheus/Vidware_Build/mp3/frontend' Making all in Dll make[2]: Entering directory '/home/prometheus/Vidware_Build/mp3/Dll' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/prometheus/Vidware_Build/mp3/Dll' Making all in doc make[2]: Entering directory '/home/prometheus/Vidware_Build/mp3/doc' Making all in html make[3]: Entering directory '/home/prometheus/Vidware_Build/mp3/doc/html' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/prometheus/Vidware_Build/mp3/doc/html' Making all in man make[3]: Entering directory '/home/prometheus/Vidware_Build/mp3/doc/man' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/prometheus/Vidware_Build/mp3/doc/man' make[3]: Entering directory '/home/prometheus/Vidware_Build/mp3/doc' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/prometheus/Vidware_Build/mp3/doc' make[2]: Leaving directory '/home/prometheus/Vidware_Build/mp3/doc' Making all in include make[2]: Entering directory '/home/prometheus/Vidware_Build/mp3/include' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/prometheus/Vidware_Build/mp3/include' Making all in misc make[2]: Entering directory '/home/prometheus/Vidware_Build/mp3/misc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/prometheus/Vidware_Build/mp3/misc' Making all in dshow make[2]: Entering directory '/home/prometheus/Vidware_Build/mp3/dshow' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/prometheus/Vidware_Build/mp3/dshow' Making all in ACM make[2]: Entering directory '/home/prometheus/Vidware_Build/mp3/ACM' Making all in ADbg make[3]: Entering directory '/home/prometheus/Vidware_Build/mp3/ACM/ADbg' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/prometheus/Vidware_Build/mp3/ACM/ADbg' Making all in ddk make[3]: Entering directory '/home/prometheus/Vidware_Build/mp3/ACM/ddk' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/prometheus/Vidware_Build/mp3/ACM/ddk' Making all in tinyxml make[3]: Entering directory '/home/prometheus/Vidware_Build/mp3/ACM/tinyxml' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/prometheus/Vidware_Build/mp3/ACM/tinyxml' make[3]: Entering directory '/home/prometheus/Vidware_Build/mp3/ACM' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/prometheus/Vidware_Build/mp3/ACM' make[2]: Leaving directory '/home/prometheus/Vidware_Build/mp3/ACM' Making all in mac make[2]: Entering directory '/home/prometheus/Vidware_Build/mp3/mac' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/prometheus/Vidware_Build/mp3/mac' Making all in macosx make[2]: Entering directory '/home/prometheus/Vidware_Build/mp3/macosx' Making all in English.lproj make[3]: Entering directory '/home/prometheus/Vidware_Build/mp3/macosx/English.lproj' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/prometheus/Vidware_Build/mp3/macosx/English.lproj' Making all in LAME.xcodeproj make[3]: Entering directory '/home/prometheus/Vidware_Build/mp3/macosx/LAME.xcodeproj' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/prometheus/Vidware_Build/mp3/macosx/LAME.xcodeproj' make[3]: Entering directory '/home/prometheus/Vidware_Build/mp3/macosx' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/prometheus/Vidware_Build/mp3/macosx' make[2]: Leaving directory '/home/prometheus/Vidware_Build/mp3/macosx' Making all in vc_solution make[2]: Entering directory '/home/prometheus/Vidware_Build/mp3/vc_solution' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/prometheus/Vidware_Build/mp3/vc_solution' make[2]: Entering directory '/home/prometheus/Vidware_Build/mp3' make[2]: Leaving directory '/home/prometheus/Vidware_Build/mp3' make[1]: Leaving directory '/home/prometheus/Vidware_Build/mp3' sudo: checkinstall: command not found


Now building the libass subtitle renderer. This will take about 1 minute.

checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... aarch64-unknown-linux-gnu checking host system type... aarch64-unknown-linux-gnu checking how to print strings... printf checking for style of include used by make... GNU 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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 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/bin/ld checking if the linker (/usr/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 aarch64-unknown-linux-gnu file names to aarch64-unknown-linux-gnu format... func_convert_file_noop checking how to convert aarch64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r 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 how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.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... yes 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/bin/ld) 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 for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking how to run the C preprocessor... gcc -E checking dependency style of gcc... gcc3 checking for ANSI C header files... (cached) yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for stdint.h... (cached) yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking for strdup... yes checking for strndup... yes checking for library containing libiconv_open... no checking for library containing iconv_open... none required checking for fabs in -lm... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for freetype2 >= 9.10.3... yes checking for fribidi >= 0.19.0... no configure: error: Package requirements (fribidi >= 0.19.0) were not met:

No package 'fribidi' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Alternatively, you may set the environment variables FRIBIDI_CFLAGS and FRIBIDI_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. make: *** No targets specified and no makefile found. Stop. sudo: checkinstall: command not found


Now preparing to build FFmpeg. This will take about 2 minutes.

gcc is unable to create an executable file. If gcc is a cross-compiler, use the --enable-cross-compile option. Only do this if you know what cross compiling means. C compiler test failed.

If you think configure made a mistake, make sure you are using the latest version from Git. If the latest version fails, report the problem to the ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file "ffbuild/config.log" produced by configure as this will help solve the problem.


Now building FFmpeg. This will take about 24 minutes on the Raspberry 3B+ (and 2 or 3 minutes longer on the 3B).

Makefile:159: /tests/Makefile: No such file or directory make: *** No rule to make target '/tests/Makefile'. Stop.


Now installing FFmpeg. This will take about 7 minutes.

sudo: checkinstall: command not found


Now preparing to build mpv. This will take about 1 minute.

Setting top to : /home/prometheus/Vidware_Build/mpv Setting out to : /home/prometheus/Vidware_Build/mpv/build Checking for waf version in 1.8.4-2.1.0 : ok Checking for program 'cc' : /usr/bin/cc Checking for program 'pkg-config' : /usr/bin/pkg-config Checking for program 'ar' : /usr/bin/ar Checking for program 'rst2html' : /usr/bin/rst2html Checking for program 'rst2man' : /usr/bin/rst2man Checking for program 'rst2pdf' : not found Checking for program 'windres' : not found Checking for program 'perl' : /usr/bin/perl Checking for 'gcc' (C compiler) : /usr/bin/cc Detected target OS: : os-linux Checking for compiler flags -Werror=implicit-function-declaration : yes Checking for compiler flags -Wno-error=deprecated-declarations : yes Checking for compiler flags -Wno-error=unused-function : yes Checking for compiler flags -Wempty-body : yes Checking for compiler flags -Wdisabled-optimization : yes Checking for compiler flags -Wstrict-prototypes : yes Checking for compiler flags -Wno-format-zero-length : yes Checking for compiler flags -Werror=format-security : yes Checking for compiler flags -Wno-redundant-decls : yes Checking for compiler flags -Wvla : yes Checking for LGPL (version 2.1 or later) build : disabled Checking for GPL (version 2 or later) build : yes Checking for internal audio filter chain : yes Checking for mpv CLI player : yes Checking for shared library : disabled Checking for static library : disabled Checking for static build : disabled Checking for whether to include binary compile time : yes Checking for whether to optimize : yes Checking for whether to compile-in debugging information : yes Checking for manpage generation : yes Checking for html manual generation : disabled Checking for pdf manual generation : disabled Checking for dynamic loader : yes Checking for C plugins : yes Checking for zsh completion : disabled Checking for inline assembly (currently without effect) : yes Checking for test suite (using cmocka) : disabled Checking for generate a clang compilation database : disabled Checking for compiler support for noexecstack : yes Checking for linker support for --nxcompat --no-seh --dynamicbase : no Checking for -lm : yes Checking for MinGW : os-win32 not found Checking for POSIX environment : yes Checking for Android environment : no Checking for development environment : yes Checking for Universal Windows Platform : disabled Checking for win32 desktop APIs : os-win32 not found Checking for internal pthread wrapper for win32 (Vista+) : posix found Checking for POSIX threads : yes Checking for GNU C extensions : yes Checking for stdatomic.h : yes Checking for stdatomic.h support or slow emulation : yes Checking for linking with -lrt : yes Checking for iconv : yes Checking for w32/dos paths : os-win32 not found Checking for spawnp()/kill() POSIX support : yes Checking for spawnp()/kill() Android replacement : posix-spawn-native found Checking for any spawnp()/kill() support : yes Checking for Windows pipe support : posix found Checking for glob() POSIX support : yes Checking for glob() win32 replacement : posix found Checking for any glob() support : yes Checking for fchmod() : yes Checking for vt.h : yes Checking for gbm.h : no Checking for GLIBC API for setting thread name : yes Checking for OSX API for setting thread name : glibc-thread-name found Checking for BSD API for setting thread name : glibc-thread-name found Checking for BSD's fstatfs() : no Checking for Linux's fstatfs() : yes Checking for Samba support (makes mpv GPLv3) : disabled Checking for Lua : no ('luajit >= 2.0.0' not found) Checking for Javascript (MuJS backend) : no ('mujs >= 1.0.0' not found) Checking for SSA/ASS support : no ('libass >= 0.12.1' not found) Unable to find development files for libass, or the version found is too old. Aborting. If you really mean to compile without libass support use --disable-libass.


Now building mpv. This will take about 2 minutes.

The project was not configured: run "waf configure" first!


Now installing mpv. This will take about 1 minute.

sudo: checkinstall: command not found


Setting default MPV Config options and Assigning default video associates to MPV

root@prometheus:/home/prometheus# ------------------------------ bash: ------------------------------: command not found root@prometheus:/home/prometheus# Now downloading the source code tarballs and other essential files for building bash: Now: command not found root@prometheus:/home/prometheus# FFmpeg, mpv, the 3 advanced encoders, extra libraries and patches. bash: FFmpeg,: command not found root@prometheus:/home/prometheus# ------------------------------ bash: ------------------------------: command not found root@prometheus:/home/prometheus# root@prometheus:/home/prometheus# ffmpeg-4.0.2.tar.bz 100%[===================>] 9.94M 6.47MB/s in 1.5s
bash: ffmpeg-4.0.2.tar.bz: command not found root@prometheus:/home/prometheus# v0.29.0.tar.gz 100%[===================>] 2.92M 6.74MB/s in 0.4s
bash: v0.29.0.tar.gz: command not found root@prometheus:/home/prometheus# libass-0.14.0.tar.g 100%[===================>] 485.70K --.-KB/s in 0.1s
bash: libass-0.14.0.tar.g: command not found root@prometheus:/home/prometheus# x264-snapshot-20180 100%[===================>] 748.18K 4.71MB/s in 0.2s
bash: x264-snapshot-20180: command not found root@prometheus:/home/prometheus# fdk-aac-0.1.6.tar.g 100%[===================>] 1.99M 4.05MB/s in 0.5s
bash: fdk-aac-0.1.6.tar.g: command not found root@prometheus:/home/prometheus# lame-3.100.tar.gz 100%[===================>] 1.45M 6.57MB/s in 0.2s
bash: lame-3.100.tar.gz: command not found root@prometheus:/home/prometheus# waf-2.0.9 100%[===================>] 100.69K --.-KB/s in 0.06s
bash: waf-2.0.9: command not found root@prometheus:/home/prometheus# libGLESv2.so 100%[===================>] 103.29K --.-KB/s in 0.06s
bash: libGLESv2.so: command not found root@prometheus:/home/prometheus# libEGL.so 100%[===================>] 197.34K --.-KB/s in 0.09s
bash: libEGL.so: command not found root@prometheus:/home/prometheus# brcmglesv2.pc 100%[===================>] 241 --.-KB/s in 0s
bash: brcmglesv2.pc: command not found root@prometheus:/home/prometheus# brcmegl.pc 100%[===================>] 360 --.-KB/s in 0s
bash: brcmegl.pc: command not found root@prometheus:/home/prometheus# 0001-6838-Fix-rpi-c 100%[===================>] 3.22K --.-KB/s in 0s
bash: 0001-6838-Fix-rpi-c: command not found root@prometheus:/home/prometheus# alsa_patch.diff 100%[===================>] 1.06K --.-KB/s in 0s
bash: alsa_patch.diff: command not found root@prometheus:/home/prometheus# wscript_patch.diff 100%[===================>] 500 --.-KB/s in 0.002s
bash: wscript_patch.diff: command not found root@prometheus:/home/prometheus# wiringpi-latest.deb [ <=> ] 2.17K --.-KB/s in 0s
bash: =: No such file or directory root@prometheus:/home/prometheus# dpkg-deb: error: 'wiringpi-latest.deb' is not a Debian format archive bash: dpkg-deb:: command not found root@prometheus:/home/prometheus# dpkg: error processing archive wiringpi-latest.deb (--install): bash: syntax error near unexpected token `(' root@prometheus:/home/prometheus# dpkg-deb --control subprocess returned error exit status 2 dpkg-deb: error: --control takes at most two arguments (.deb and directory)

Type dpkg-deb --help for help about manipulating *.deb files; Type dpkg --help for help about installing and deinstalling packages. root@prometheus:/home/prometheus# Errors were encountered while processing: bash: Errors: command not found root@prometheus:/home/prometheus# wiringpi-latest.deb bash: wiringpi-latest.deb: command not found root@prometheus:/home/prometheus# root@prometheus:/home/prometheus# root@prometheus:/home/prometheus# ------------------------------ bash: ------------------------------: command not found root@prometheus:/home/prometheus# Coping System Files, Requires sudo bash: Coping: command not found root@prometheus:/home/prometheus# root@prometheus:/home/prometheus# cp: cannot create regular file '/opt/vc/lib': No such file or directory bash: cp:: command not found root@prometheus:/home/prometheus# cp: cannot create regular file '/opt/vc/lib': No such file or directory bash: cp:: command not found root@prometheus:/home/prometheus# cp: cannot stat '/opt/vc/lib/pkgconfig/brcmglesv2.pc': No such file or directory bash: cp:: command not found root@prometheus:/home/prometheus# cp: cannot create regular file '/opt/vc/lib/pkgconfig': No such file or directory bash: cp:: command not found root@prometheus:/home/prometheus# cp: cannot stat '/opt/vc/lib/pkgconfig/brcmegl.pc': No such file or directory bash: cp:: command not found root@prometheus:/home/prometheus# cp: cannot create regular file '/opt/vc/lib/pkgconfig': No such file or directory bash: cp:: command not found root@prometheus:/home/prometheus# Coping Tarballs to Build Folder bash: Coping: command not found root@prometheus:/home/prometheus# root@prometheus:/home/prometheus# Extracting Tarballs In Build Folder bash: Extracting: command not found root@prometheus:/home/prometheus# root@prometheus:/home/prometheus# Fixing Library Filenames bash: Fixing: command not found root@prometheus:/home/prometheus# `

altered the script so that it matched my username, still will not install.