Jonas Lang wrote:
>
> The best thing to do is go ahead and start the build process. What harm can it do and post back if you get stuck along the way.
Hi again,
OK I tried running your commands by ssh'ing in to my Ubuntu 22.04 running on a Pi 4.
When I tried the first command I got:
E: Package 'libavresample-dev' has no installation candidate
I could not sudo apt install libavresample-dev either, it doesn't seem to exist in apt for Ubuntu 22.04.
I substituted it for libswresample-dev and all that command did proceed successfully.
I then got to..
AUTOBUILD_CONFIGURE_EXTRA=--enable-libffmpeg_static\ --enable-trace\ --enable-debug ./Autobuild.sh
But after about 20mins got the error:
"configure: error: cannot guess build type; you must specify one"
Just to recap, these are my system details (Ubuntu 22.04 on a Pi 4, arm64):
ubuntu@ubuntu:~/build/tvheadend/master$ uname -a
Linux ubuntu 5.15.0-1015-raspi #17-Ubuntu SMP PREEMPT Mon Sep 12 13:14:51 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
ubuntu@ubuntu:~/build/tvheadend/master$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.1 LTS"
I then tried:
AUTOBUILD_CONFIGURE_EXTRA=--enable-libffmpeg_static\ --enable-trace\ --enable-debug ./Autobuild.sh -t bullseye-arm64.sh
But got...
target bullseye-arm64.sh not supported
Likewise:
target xenial-arm64.sh not supported
I edited xenial-arm64.sh and made a jammy-arm64.sh like this:
AUTOBUILD_CONFIGURE_EXTRA="${AUTOBUILD_CONFIGURE_EXTRA:-} --arch=arm64"
DEBDIST=jammy
source Autobuild/debian.sh
I then tried:
AUTOBUILD_CONFIGURE_EXTRA=--enable-libffmpeg_static\ --enable-trace\ --enable-debug ./Autobuild.sh -t jammy-arm64.sh
AND
AUTOBUILD_CONFIGURE_EXTRA=--enable-libffmpeg_static\ --enable-trace\ --enable-debug ./Autobuild.sh -j$(nproc) -t jammy-arm64.sh
But each time I got back:
Untracked files:
(use "git add <file>..." to include in what will be committed)
Autobuild/jammy-arm64.sh
nothing added to commit but untracked files present (use "git add" to track)
target jammy-arm64.sh not supported
Maybe I just need to install Ubuntu on my intel laptop and run your commands from that.
Flex