lronaldo / cpctelera

Astonishingly fast Amstrad CPC game engine for C developers
http://lronaldo.github.io/cpctelera/
GNU Lesser General Public License v3.0
229 stars 54 forks source link

can't setup on manjaro 22 #164

Closed TortitasT closed 1 year ago

TortitasT commented 1 year ago

When I try to run setup.sh I get this error:

===========================================================
== 1: CPCtelera initial tests
===============================================================
> Checking directory structure... [ OK ]
> Checking important files....... [ OK ]
> Checking required commands...
>>> Looking for 'gcc'... [ OK ]
>>> Looking for 'g++'... [ OK ]
>>> Looking for 'make'... [ OK ]
>>> Looking for 'bison'... [ OK ]
>>> Looking for 'flex'... [ OK ]
>>> Looking for 'mono'... [ OK ]
> Checking command versions...
>>> GNU GCC/G++ Version >= 4.6... [ OK ]
> Checking required libraries...
>>> Looking for 'boost/graph/adjacency_list.hpp'... [ OK ]
>>> Looking for 'libintl.h'... [ OK ]
>>> Looking for 'FreeImage.h'... [ OK ]
Everything seems to be OK.

===============================================================
== 2: Building CPCtelera tools, z80 library and examples
===============================================================
> Proceeding to build required tools to build and manage CPCtelera and other software for Amstrad CPC (This might take a while, depending on your system).
>> Cleaning previous installation to perform a clean reinstall...
>>> Cleaning previosly built tools:                                        100% [ OK ]
>>> Cleaning previosly built z80 lib:                                      100% [ OK ]
>>> Cleaning previosly built examples:                                     100% [ OK ]
>> Previous install is clean. Proceeding to rebuild...
>>> Building compilation tools:                                            100%

#########################
## UNRECOVERABLE ERROR ##
#########################
##> There was an error building CPCtelera tools. Please, check '/home/victo/cpctelera/cpctelera/logs/tool_building.log' for details. Aborting.

I've attached the log files.

OS info:

[victo@cpctelera cpctelera-1.4.2]$ neofetch
██████████████████  ████████   victo@cpctelera 
██████████████████  ████████   --------------- 
██████████████████  ████████   OS: Manjaro Linux x86_64 
██████████████████  ████████   Host: VMware Virtual Platform None 
████████            ████████   Kernel: 6.1.7-1-MANJARO 
████████  ████████  ████████   Uptime: 6 mins 
████████  ████████  ████████   Packages: 1075 (pacman) 
████████  ████████  ████████   Shell: bash 5.1.16 
████████  ████████  ████████   Resolution: 1920x1080 
████████  ████████  ████████   DE: Xfce 4.18 
████████  ████████  ████████   WM: Xfwm4 
████████  ████████  ████████   WM Theme: Matcha-sea 
████████  ████████  ████████   Theme: Matcha-sea [GTK2], Adwaita [GTK3] 
████████  ████████  ████████   Icons: Papirus-Maia [GTK2], Adwaita [GTK3] 
                               Terminal: xfce4-terminal 
                               Terminal Font: Monospace 12 
                               CPU: Intel i7-8086K (4) @ 4.008GHz 
                               GPU: 00:0f.0 VMware SVGA II Adapter 
                               Memory: 1515MiB / 15965MiB 

GCC info:

[victo@cpctelera cpctelera-1.4.2]$ gcc -v
Usando especificaciones internas.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/lto-wrapper
Objetivo: x86_64-pc-linux-gnu
Configurado con: /build/gcc/src/gcc/configure --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++,d --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror
Modelo de hilos: posix
Algoritmos de compresión LTO admitidos: zlib zstd
gcc versión 12.2.1 20230111 (GCC) 

examples_building.log library_building.log tool_building.log

lronaldo commented 1 year ago

Hi @TortitasT,

You are trying to install master branch of CPCtelera, which has became too old by now. We are about to substitute it with development branch to make it default. Please, change to development branch before installing CPCtelera.

Incidentally, the error in tool_building.log is a warning, but in master branch -Werror was turned on. However, revising it, I see that this warning is actually a problem and I will fix it. Nothing that has meant any trouble at the moment, but better if we fix it now.

Thank you for your report :)