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 ""
|
||||||
echo "Step 2: Installing development tools..."
|
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
|
# 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
|
git clone https://github.com/x42/ltc-tools.git
|
||||||
fi
|
fi
|
||||||
cd ltc-tools
|
cd ltc-tools
|
||||||
mkdir -p build && cd build
|
|
||||||
echo "Running CMake configuration..."
|
echo "Installing autotools build dependencies..."
|
||||||
cmake ..
|
sudo apt install -y autoconf automake libtool
|
||||||
|
|
||||||
|
echo "Preparing build system..."
|
||||||
|
./autogen.sh
|
||||||
|
|
||||||
|
echo "Configuring build..."
|
||||||
|
./configure
|
||||||
|
|
||||||
echo "Compiling ltc-tools..."
|
echo "Compiling ltc-tools..."
|
||||||
make
|
make
|
||||||
|
|
||||||
echo "Installing ltc-tools binaries..."
|
echo "Installing ltc-tools binaries..."
|
||||||
sudo make install
|
sudo make install
|
||||||
sudo ldconfig
|
sudo ldconfig
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue