Bithack / principia

Open source physics-based sandbox game.
https://principia-web.se
Other
260 stars 25 forks source link

Cannot compile #129

Closed wereretot closed 10 months ago

wereretot commented 11 months ago
Principia version
OS / Hardware
Summary

Fails to compile with the error: ./configure: line 4929: syntax error near unexpected token GTK,' ./configure: line 4929:PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.0)' ==> ERROR: A failure occurred in build(). Aborting... -> error making: principia-git-exit status 4 -> Failed to install the following packages. Manual intervention is required: principia-git - exit status 4

Steps to reproduce
  1. install yay if not installed already
  2. run 'yay principia-git'
  3. profit!

Full Log: yay principia-git  ✔  6s  1 aur/principia-git r115.3b6d2bd-1 (+3 0.89) Physics-based sandbox building game. ==> Packages to install (eg: 1 2 3, 1-3 or ^4) ==> 1 AUR Explicit (1): principia-git-r115.3b6d2bd-1 :: PKGBUILD up to date, skipping download: principia-git 1 principia-git (Build Files Exist) ==> Packages to cleanBuild? ==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4) ==> a :: Deleting (1/1): /home/rexommendation/.cache/yay/principia-git HEAD is now at d3b29b8 ooh maybe I'll remember to update srcinfo warning: could not open directory 'pkg/': Permission denied Removing pkg/ Removing principia/ Skipping repository src/principia 1 principia-git (Build Files Exist) ==> Diffs to show? ==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4) ==> n ==> Making package: principia-git r115.3b6d2bd-1 (Thu 13 Jul 2023 12:48:33 PM EDT) ==> Retrieving sources... -> Cloning principia git repo... Cloning into bare repository '/home/rexommendation/.cache/yay/principia-git/principia'... remote: Enumerating objects: 14963, done. remote: Counting objects: 100% (1319/1319), done. remote: Compressing objects: 100% (538/538), done. remote: Total 14963 (delta 916), reused 942 (delta 780), pack-reused 13644 Receiving objects: 100% (14963/14963), 90.96 MiB | 3.06 MiB/s, done. Resolving deltas: 100% (5620/5620), done. ==> Validating source files with sha256sums... principia ... Skipped :: (1/1) Parsing SRCINFO: principia-git ==> Making package: principia-git r115.3b6d2bd-1 (Thu 13 Jul 2023 12:49:05 PM EDT) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Updating principia git repo... ==> Validating source files with sha256sums... principia ... Skipped ==> Removing existing $srcdir/ directory... ==> Extracting sources... -> Creating working copy of principia git repo... Cloning into 'principia'... done. ==> Starting pkgver()... ==> Updated version: principia-git r153.34acab0-1 ==> Sources are ready. ==> Making package: principia-git r153.34acab0-1 (Thu 13 Jul 2023 12:49:07 PM EDT) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> WARNING: Using existing $srcdir/ tree ==> Starting pkgver()... ==> Starting build()... configure.ac:6: installing './compile' configure.ac:3: installing './install-sh' configure.ac:3: installing './missing' Makefile.am: installing './depcomp' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking for g++... g++ checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... gcc3 ./configure: line 4929: syntax error near unexpected token GTK,' ./configure: line 4929:PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.0)' ==> ERROR: A failure occurred in build(). Aborting... -> error making: principia-git-exit status 4 -> Failed to install the following packages. Manual intervention is required: principia-git - exit status 4