georgbuechner / dissonance

A command line and keyboard based strategy-game written in c++, where audio-input determines the AI-strategy and lays the seed for the map-generation.
GNU General Public License v3.0
32 stars 3 forks source link

Error installing ncurses #77

Closed georgbuechner closed 1 year ago

georgbuechner commented 2 years ago

creating headers.sh
make[1]: Entering directory '/home/user/.conan/data/ncurses/6.2/_/_/build/89763a2b31b2939794b7de311235a77b84e7e535'

** Configuration summary for NCURSES 6.2 20200212:

       extended funcs: yes
       xterm terminfo: xterm-new

        bin directory: /home/user/.conan/data/ncurses/6.2/_/_/package/89763a2b31b2939794b7de311235a77b84e7e535/bin
        lib directory: /home/user/.conan/data/ncurses/6.2/_/_/package/89763a2b31b2939794b7de311235a77b84e7e535/lib
    include directory: /home/user/.conan/data/ncurses/6.2/_/_/package/89763a2b31b2939794b7de311235a77b84e7e535/include/ncursesw
        man directory: /home/user/.conan/data/ncurses/6.2/_/_/package/89763a2b31b2939794b7de311235a77b84e7e535/res/man
   terminfo directory: /home/user/.conan/data/ncurses/6.2/_/_/package/89763a2b31b2939794b7de311235a77b84e7e535/res/terminfo

** Include-directory is not in a standard location
make[1]: Leaving directory '/home/user/.conan/data/ncurses/6.2/_/_/build/89763a2b31b2939794b7de311235a77b84e7e535'
make[1]: Entering directory '/home/user/.conan/data/ncurses/6.2/_/_/build/89763a2b31b2939794b7de311235a77b84e7e535'
mkdir lib
mkdir objects
mkdir: cannot create directory ‘lib’: File exists
make[1]: *** [Makefile:73: lib] Error 1
make[1]: *** Waiting for unfinished jobs....
mkdir: cannot create directory ‘objects’: File exists
make[1]: *** [Makefile:73: objects] Error 1
make[1]: Leaving directory '/home/ananym/.conan/data/ncurses/6.2/_/_/build/89763a2b31b2939794b7de311235a77b84e7e535'
ncurses/6.2: 
ncurses/6.2: ERROR: Package '89763a2b31b2939794b7de311235a77b84e7e535' build failed
ncurses/6.2: WARN: Build folder /home/ananym/.conan/data/ncurses/6.2/_/_/build/89763a2b31b2939794b7de311235a77b84e7e535
ERROR: ncurses/6.2: Error in build() method, line 198
    autotools.make()
    ConanException: Error 2 while executing make -j8
make: *** [Makefile:35: build] Error 1

``
georgbuechner commented 2 years ago

Systeminfo: 5.15.28-1-MANJARO pip version: pip 21.0 from /usr/lib/python3.10/site-packages/pip (python 3.10) gcc version: gcc (GCC) 11.2.0 Conan version 1.47.0

georgbuechner commented 2 years ago

It seemed like this worked, after removing and then manually installing: conan remove ncurses And then cd build conan install .. --build=missing

EDIT: afterwards, finish the makefile steps:

cmake ..
make -j
georgbuechner commented 2 years ago

To be honest, I have no idea why this is working and why it does not work right away. I'm currently trying to fix this in the makefile

georgbuechner commented 2 years ago

Okay, I'm still confused on where this issue comes from, but I figured there's an even easyier solution:

conan remove ncurses
rm -rf build
make build
make setup
georgbuechner commented 2 years ago

Okay this issue should be fixxed now and make install should work as expected, so non of the previously mentioned fixes should be needed. However, if you have been experiencing this issue before, you shoud remove ncures (conan remove ncurses) and delete the created build folder (rm -rf build).