News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

compile simutrans under Mageia 8

Started by Andarix, November 25, 2023, 08:04:02 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andarix

Mageia is based on Fedora

I don't know what to do right now.

r10421 is created correctly.

With r11007, libraries are not found by the linker.

The config.default is set the same for both.

compile_mageia.png

autoconf
./configure

Quotechecking 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 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 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 whether byte ordering is bigendian... no
checking for png_read_image in -lpng... yes
checking for BZ2_bzReadOpen in -lbz2... yes
checking for library containing pthread_mutex_destroy... none required
checking for pthread_mutex_destroy in -lpthreadGC2... no
checking for SDL_GetRenderDriverInfo in -lSDL2... yes
checking for windows.h... no
checking for LocaleRoster.h... no
checking for library containing ZSTD_CStreamInSize... -lzstd
checking for library containing upnpDiscover... -lminiupnpc
checking for library containing FT_Init_FreeType... -lfreetype
checking for library containing new_fluid_settings... -lfluidsynth
Linux
configure: WARNING: Using SDL2 backend!
./configure: line 5530: svn: command not found
checking size of void*... 8
configure: creating ./config.status
config.status: creating config.default

prissi

Make the cmake works better. Sometimes, the old pkgconf the makefile uses are broken despite being present.
Compiling with cmake:
mkdir out
cmake -B out
cd out
make -j 4
The number after -j are the cores used to compile simutrans.