From c1608970e54e0d55b9ddc21433287f28b4d202a2 Mon Sep 17 00:00:00 2001 From: Chris Frankland-Wright Date: Mon, 23 Jun 2025 16:11:46 +0100 Subject: [PATCH] revisited! --- setup.sh | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/setup.sh b/setup.sh index ae6fdd7..99256eb 100644 --- a/setup.sh +++ b/setup.sh @@ -56,14 +56,20 @@ if [ ! -d "libltc" ]; then git clone https://github.com/x42/libltc.git fi cd libltc -mkdir -p build && cd build -echo "Configuring libltc..." -cmake .. + +echo "Installing libltc build dependencies..." +sudo apt install -y autoconf automake libtool + +echo "Preparing libltc build..." +./autogen.sh +./configure + echo "Compiling libltc..." make + echo "Installing libltc..." sudo make install -sudo ldconfig # refresh library cache so ld can find libltc +sudo ldconfig # --------------------------------------------------------- # Step 6: Build and install ltc-tools @@ -77,7 +83,7 @@ if [ ! -d "ltc-tools" ]; then fi cd ltc-tools -echo "Compiling ltc-tools (telling it HAV​E_LIBLTC=true)..." +echo "Compiling ltc-tools (bypassing package check)..." make HAVE_LIBLTC=true echo "Installing ltc-tools..." @@ -92,7 +98,7 @@ echo "──────────────────────── echo " Setup Complete" echo "─────────────────────────────────────────────" echo "" -echo "The TimeTurner is ready. But remember:" +echo "The TimeTurner is ready. But remember:" echo "\"You must not be seen.\" – Hermione Granger" echo "Guidance provided by Luna, Department of Temporal Engineering." echo ""