Versuch, das neueste Freeciv (3.0.4) zu installieren

Sound, Digitalkameras, TV+Video und Spiele.
Antworten
Benutzeravatar
Yadgar
Beiträge: 958
Registriert: 22.11.2010 22:11:08
Wohnort: Qal'a-ye Nil, Bergisch-Afghanistan (linksrheinische Exklave)
Kontaktdaten:

Versuch, das neueste Freeciv (3.0.4) zu installieren

Beitrag von Yadgar » 08.11.2022 01:47:18

Hi(gh)!

Da Freeciv 2.6.x unter Bullseye elend langsam ist, habe ich mir den Sourcecode für 3.0.4 runtergeladen... ich gehe die Hinweise in INSTALL durch, lade und entpacke die noch fehlenenden Bibliotheken (atk, pango) und gebe dann ./configure ein...

Was kommt, ist das hier:

Code: Alles auswählen

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 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 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 sys/types.h... (cached) yes
checking for sys/socket.h... yes
checking for getaddrinfo... yes
checking for inet_pton... yes
checking for inet_ntop... yes
checking for getnameinfo... yes
checking for AF_INET6... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for MagickWand... no
checking for MagickWand-config in default path... no
checking for gawk... (cached) gawk
checking for gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking for ar... ar
checking the archiver (ar) interface... ar
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
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
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether C++ compiler works... yes
checking whether preprocessor token concenation works... yes
checking for uname... uname
checking size of int... 4
checking whether make sets $(MAKE)... (cached) yes
checking for ld... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking 32-bit host C ABI... no
checking for ELF binary format... yes
checking for the common suffixes of directories in the library search path... lib,lib,lib64
checking for iconv... yes
checking for working iconv... yes
checking whether iconv is compatible with its POSIX signature... yes
checking for libcharset... no
checking for nl_langinfo and CODESET... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyPreferredLanguages... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libcurl >= 7.15.4... no
configure: error: libcurl development files required
Die offensichtlich fehlenden Programme/Bibliotheken MagickWand, libcharset und libcurl gibt es nicht als Debian-Pakete... wie komme ich jetzt weiter?
If operating systems were countries, Linux would be pre-1978 Afghanistan: an all-time favourite among alternative globetrotters, but shunned by mainstream tourists because of its lack of fancy beaches, shortage of alcoholic beverages and its fondness of beards...

Benutzeravatar
schorsch_76
Beiträge: 2543
Registriert: 06.11.2007 16:00:42
Lizenz eigener Beiträge: MIT Lizenz

Re: Versuch, das neueste Freeciv (3.0.4) zu installieren

Beitrag von schorsch_76 » 08.11.2022 06:18:00

Debianlibcurl4-nss-dev
Libcharset ist kein Fehler.

JTH
Moderator
Beiträge: 3023
Registriert: 13.08.2008 17:01:41
Wohnort: Berlin

Re: Versuch, das neueste Freeciv (3.0.4) zu installieren

Beitrag von JTH » 08.11.2022 06:26:15

In den Bullseye-Backports gibt es genau die Version 3.0.4. Erspart das selbst kompilieren :wink:

Siehe Wiki-Artikel zum Thema Backports und https://backports.debian.org/.
Manchmal bekannt als Just (another) Terminal Hacker.

Benutzeravatar
Yadgar
Beiträge: 958
Registriert: 22.11.2010 22:11:08
Wohnort: Qal'a-ye Nil, Bergisch-Afghanistan (linksrheinische Exklave)
Kontaktdaten:

Re: Versuch, das neueste Freeciv (3.0.4) zu installieren

Beitrag von Yadgar » 08.11.2022 13:37:09

JTH hat geschrieben: ↑ zum Beitrag ↑
08.11.2022 06:26:15
In den Bullseye-Backports gibt es genau die Version 3.0.4. Erspart das selbst kompilieren :wink:

Siehe Wiki-Artikel zum Thema Backports und https://backports.debian.org/.
Das funktioniert leider nicht so ohne weiteres, in meiner sources.list habe ich zwar

Code: Alles auswählen

deb http://deb.debian.org/debian bullseye-backports main 
eingefügt, aber bei

Code: Alles auswählen

apt-get install freeciv/bullseye-backports 
bekomme ich:

Code: Alles auswählen

Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
Sie eine unmögliche Situation angefordert haben oder, wenn Sie die
Unstable-Distribution verwenden, dass einige erforderliche Pakete noch
nicht erstellt wurden oder Incoming noch nicht verlassen haben.
Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:

Die folgenden Pakete haben unerfüllte Abhängigkeiten:
 freeciv : Hängt ab von: freeciv-data (= 3.0.4-1~bpo11+1) aber 2.6.3-1 soll installiert werden
E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete.
Wie komme ich da weiter?
If operating systems were countries, Linux would be pre-1978 Afghanistan: an all-time favourite among alternative globetrotters, but shunned by mainstream tourists because of its lack of fancy beaches, shortage of alcoholic beverages and its fondness of beards...

JTH
Moderator
Beiträge: 3023
Registriert: 13.08.2008 17:01:41
Wohnort: Berlin

Re: Versuch, das neueste Freeciv (3.0.4) zu installieren

Beitrag von JTH » 08.11.2022 13:39:50

Yadgar hat geschrieben: ↑ zum Beitrag ↑
08.11.2022 13:37:09
Wie komme ich da weiter?
Die Installation aus den Backports für den gesamten Vorgang angeben:

Code: Alles auswählen

apt install -t bullseye-backports freeciv
Manchmal bekannt als Just (another) Terminal Hacker.

Benutzeravatar
Yadgar
Beiträge: 958
Registriert: 22.11.2010 22:11:08
Wohnort: Qal'a-ye Nil, Bergisch-Afghanistan (linksrheinische Exklave)
Kontaktdaten:

Re: Versuch, das neueste Freeciv (3.0.4) zu installieren

Beitrag von Yadgar » 08.11.2022 14:13:22

Hi(gh)!
JTH hat geschrieben: ↑ zum Beitrag ↑
08.11.2022 13:39:50
Die Installation aus den Backports für den gesamten Vorgang angeben:

Code: Alles auswählen

apt install -t bullseye-backports freeciv
Ja, das funktioniert! Danke für den Tipp... demnächst im Khyberspace (Afghatopia 2050-Modus) werde ich eine Firma in Kabul nach dir benennen!
If operating systems were countries, Linux would be pre-1978 Afghanistan: an all-time favourite among alternative globetrotters, but shunned by mainstream tourists because of its lack of fancy beaches, shortage of alcoholic beverages and its fondness of beards...

dasebastian
Beiträge: 1881
Registriert: 12.07.2020 11:21:17
Lizenz eigener Beiträge: MIT Lizenz

Re: Versuch, das neueste Freeciv (3.0.4) zu installieren

Beitrag von dasebastian » 09.11.2022 08:49:58

Darf ich hier noch kurz reingrätschen?

Habe ewig nichts mehr gespielt, der Thread hat mir jetzt wieder Lust drauf gemacht. Bevor ich das installiere:

Habe ich mit meinem T420, Intelgrafik only, SSD, 8GB Arbeitsspeicher irgendeine Chance, das sinnvoll ins Laufen zu bekommen, oder explodiert dann mein Rechner und schmeisst mir Bildschirmsplitter um die Ohren?

EDIT: und bevor ich jetzt "Wie wär's mit Ausprobieren?!" zu hören bekomme, klar, spricht nichts dagegen, sollte das auf jeder Kartoffel laufen. Wenn aber schon hier der Tenor wäre "Komm wieder, wenn du einen Rechner hast, du Troll!", dann lass ich es gleich sein und erspare mir und den Servern den Traffic. :lol:

dasebastian
Beiträge: 1881
Registriert: 12.07.2020 11:21:17
Lizenz eigener Beiträge: MIT Lizenz

Re: Versuch, das neueste Freeciv (3.0.4) zu installieren

Beitrag von dasebastian » 09.11.2022 18:03:40

Ja. Entschuldigung. Läuft wirklich auf jeder Kartoffel.

Benutzeravatar
Yadgar
Beiträge: 958
Registriert: 22.11.2010 22:11:08
Wohnort: Qal'a-ye Nil, Bergisch-Afghanistan (linksrheinische Exklave)
Kontaktdaten:

Re: Versuch, das neueste Freeciv (3.0.4) zu installieren

Beitrag von Yadgar » 09.11.2022 23:09:39

Hi(gh)!
dasebastian hat geschrieben: ↑ zum Beitrag ↑
09.11.2022 18:03:40
Ja. Entschuldigung. Läuft wirklich auf jeder Kartoffel.
Nee, klassisch wäre "läuft auf jedem Toaster" (also auch Amiga, Atari ST, Acorn Archimedes und Commodore 65)!
If operating systems were countries, Linux would be pre-1978 Afghanistan: an all-time favourite among alternative globetrotters, but shunned by mainstream tourists because of its lack of fancy beaches, shortage of alcoholic beverages and its fondness of beards...

Antworten