slyfox1186 / ffmpeg-build-script

The FFmpeg build script build's the most up to date version of FFmpeg by using API calls to download the latest source code available.
GNU General Public License v3.0
50 stars 10 forks source link

Same issue as #44 and #46: Failed to execute ./bootstrap at cmake build #51

Open ZTetriminos opened 1 week ago

ZTetriminos commented 1 week ago
Building cmake - version 3.30.5
========================================================
[INFO] Downloading "https://github.com/Kitware/CMake/archive/refs/tags/v3.30.5.tar.gz" saving as "cmake-3.30.5.tar.gz"
[INFO] Download Completed
[INFO] File extracted: cmake-3.30.5.tar.gz
$ ./bootstrap --prefix=/home/lloyd/repo/ffmpeg-build-script/workspace --parallel=2 --enable-ccache

[ERROR] Failed to execute ./bootstrap --prefix=/home/lloyd/repo/ffmpeg-build-script/workspace --parallel=2 --enable-ccache

EDIT: I'm running Minimal Ubuntu on a VM. I had a look through previous issues and found out I was missing ccache. Now, instead of throwing an error, the script just hangs at the line just before the error shown above.

nikonthethird commented 1 week ago

I'm going to add this here. On a minimal Ubuntu 24.04 VM instance, I have to add all of the following packages for the whole script to build successfully, they are not installed by the script:

sudo apt install git curl clang build-essential autoconf ccache libssl-dev python3-setuptools imagemagick-6.q16 python3-dev libtool gperf gettext autopoint flex bison libx11-dev libgl1-mesa-dev libxi-dev libglu1-mesa-dev python3-venv valgrind libyuv-dev libchromaprint-dev ladspa-sdk libbluray-dev libbs2b-dev libcaca-dev libdav1d-dev libgme-dev libgsm1-dev libvpl-dev libmodplug-dev libshine-dev libsmbclient-dev libsnappy-dev libssh-dev libspeex-dev libtesseract-dev libtwolame-dev libv4l-dev libvo-amrwbenc-dev libzvbi-dev libjack-dev libcdio-dev libcdparanoia-dev libcdio-paranoia-dev cmake libyuv-dev libchromaprint-dev ladspa-sdk

I got these packages by inspecting each error in the build log and checking what was missing.

slyfox1186 commented 6 days ago
sudo apt install git curl clang build-essential autoconf ccache libssl-dev python3-setuptools imagemagick-6.q16 python3-dev libtool gperf gettext autopoint flex bison libx11-dev libgl1-mesa-dev libxi-dev libglu1-mesa-dev python3-venv valgrind libyuv-dev libchromaprint-dev ladspa-sdk libbluray-dev libbs2b-dev libcaca-dev libdav1d-dev libgme-dev libgsm1-dev libvpl-dev libmodplug-dev libshine-dev libsmbclient-dev libsnappy-dev libssh-dev libspeex-dev libtesseract-dev libtwolame-dev libv4l-dev libvo-amrwbenc-dev libzvbi-dev libjack-dev libcdio-dev libcdparanoia-dev libcdio-paranoia-dev cmake libyuv-dev libchromaprint-dev ladspa-sdk

i have been meaning to clean this up for a while. Thanks for taking the time to vet the packages. I will update the script.

Regarding CMake not building I can not reproduce this on either Debian 12 or Ubuntu 24.04.1 and I'm not sure what to tell you other than I have edited the pkgs list like I mentioned above. It builds without error....