Re: Generic build scripts
Posted: Sun Jun 18, 2023 6:51 pm
here's the config.log from a GTK3.22 request.
Freeciv - because civilization should be free!
https://forum.freeciv.org/f/
On Debian System I'd say you're missing "libgtk-3-dev"No package 'gtk+-3.0' found
configureerror: specified client 'gtk3.22' not configurable (GTK+-3.0 libraries not found)
Code: Select all
./freeciv-ubuntu24.04.sh 3.1.3 gtk3.22
Code: Select all
./freeciv-ubuntu24.04.sh 3.1.3 qt
Code: Select all
./freeciv-ubuntu24.04.sh 3.1.3 sdl2
There's hardly any requirements for running the script, so you shouldn't need to install anything prior to running it. First thing it does when it runs is installing everything it needs for building freeciv.
Code: Select all
admin@zadmin-Standard-PC-Q35-ICH9-2009:~$ chmod +x freeciv-ubuntu24.04.sh
zadmin@zadmin-Standard-PC-Q35-ICH9-2009:~$ ./freeciv-ubuntu24.04.sh 3.1.3 gtk3.22
Install requirements (y/n)?
You need them, so answer 'n' only if you have them already
in place.
> y
Installing requirements
[sudo] password for zadmin:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
build-essential is already the newest version (12.10ubuntu1).
wget2 is already the newest version (2.1.0-2.1build2).
libcurl4-openssl-dev is already the newest version (8.5.0-2ubuntu10.4).
zlib1g-dev is already the newest version (1:1.3.dfsg-3.1ubuntu2.1).
libreadline-dev is already the newest version (8.2-4build1).
libbz2-dev is already the newest version (1.0.8-5.1build0.1).
liblzma-dev is already the newest version (5.6.1+really5.4.5-1build0.1).
libgtk-3-dev is already the newest version (3.24.41-4ubuntu1.2).
libgtk2.0-dev is already the newest version (2.24.33-4ubuntu1.1).
qtbase5-dev is already the newest version (5.15.13+dfsg-1ubuntu1).
libgtk-4-dev is already the newest version (4.14.2+ds-1ubuntu1).
libsdl2-mixer-dev is already the newest version (2.8.0+dfsg-1build3).
libsdl2-image-dev is already the newest version (2.8.2+dfsg-1build2).
libsdl2-gfx-dev is already the newest version (1.0.4+dfsg-5build1).
libsdl2-ttf-dev is already the newest version (2.22.0+dfsg-1).
libsdl-mixer1.2-dev is already the newest version (1.2.12-18).
libsdl-image1.2-dev is already the newest version (1.2.12-13build4).
libsdl-gfx1.2-dev is already the newest version (2.0.25-12build1).
libsdl-ttf2.0-dev is already the newest version (2.0.11-6).
libicu-dev is already the newest version (74.2-1ubuntu3.1).
qt6-base-dev is already the newest version (6.4.2+dfsg-21.1build5).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Downloading freeciv-3.1.3
HSTS in effect for sourceforge.net:80
freeciv-3.1.3.tar.xz 100% [=============================>] 44.40M 626.53KB/s
[Files: 1 Bytes: 44.40M [609.3]
Unpacking freeciv-3.1.3
configure
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
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 for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking for vfork.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking whether byte ordering is bigendian... no
checking for gcc option to enable large file support... none needed
checking for gcc option for timestamps after 2038... none needed
checking for emscripten... no
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... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking whether make supports nested variables... yes
checking dependency style of gcc... gcc3
checking whether make supports nested variables... (cached) yes
checking for a sed that does not truncate output... /usr/bin/sed
checking can we call malloc(0)... yes
checking for SQLite3 library >= 3.0.0... not found
configure: error: sqlite3 development files not found
Configure failed
Thanks for reporting. The script was not installing libsqlite3-dev as a dependency, though it's needed. (apparently I've always had that already installed when I've been testing the script). I've updated both the ubuntu-24.04 and ubuntu-22.04 scripts.freeeerf wrote: ↑Thu Oct 24, 2024 9:12 pmCode: Select all
configure: error: sqlite3 development files not found