From 134c20367552d0782a88bac4c11637787a62d370 Mon Sep 17 00:00:00 2001 From: Chris Frankland-Wright Date: Mon, 23 Jun 2025 15:48:45 +0100 Subject: [PATCH] fix break in cmake --- setup.sh | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/setup.sh b/setup.sh index 79c6b53..4c32dc0 100644 --- a/setup.sh +++ b/setup.sh @@ -26,7 +26,7 @@ sudo apt upgrade -y # --------------------------------------------------------- echo "" echo "Step 2: Installing development tools..." -sudo apt install -y git curl python3 python3-pip build-essential cmake +sudo apt install -y git curl python3 python3-pip build-essential # --------------------------------------------------------- # Step 3: Install audio and media dependencies @@ -55,11 +55,19 @@ if ! command -v ltcdump >/dev/null 2>&1; then git clone https://github.com/x42/ltc-tools.git fi cd ltc-tools - mkdir -p build && cd build - echo "Running CMake configuration..." - cmake .. + + echo "Installing autotools build dependencies..." + sudo apt install -y autoconf automake libtool + + echo "Preparing build system..." + ./autogen.sh + + echo "Configuring build..." + ./configure + echo "Compiling ltc-tools..." make + echo "Installing ltc-tools binaries..." sudo make install sudo ldconfig