mirror of
https://github.com/cjfranko/NTP-Timeturner.git
synced 2025-11-08 18:32:02 +00:00
fix break in cmake
This commit is contained in:
parent
83e6581104
commit
134c203675
1 changed files with 12 additions and 4 deletions
16
setup.sh
16
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue