Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old February 24, 2015, 15:31   #1
Runaway1956
Apprentice
 
Runaway1956's Avatar
 
Join Date: Feb 2015
Location: USA
Posts: 71
Runaway1956 is on a distinguished road
Installation advice, please

The background is, Debian archives has an older version of Angband available - v3.1 I think it was. It ran alright - but I wanted to get the latest and greatest, straight from rephial.

I downloaded, configured, and make install that newest, v3.5.1

With the new version, I can't set up the terminals. I know the system can do the terminals because the Debian version would do them, but this version, this compilation, won't do windows for me.

So - here's my log of ./configure. For whatever reason, it reports that curses, is missing libraries, SDL is disabled, Windows is disabled, and SDL sound is disabled. Do I need to feed ./configure an argument of some sort to enable all of that?

I'm going to double check the ncurses dependencies, and install those, but I have little idea how to enable the stuff that is disabled.


(searching for the right way to do codes . . . . )

Code:
guy@sparky:~/Downloads/angband/angband-3.5.1$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for tput... /usr/bin/tput
configure: touching .deps files
Note: You have chosen to compile for installation, with data files
    in standard locations. For development, you may wish to consider using
    --with-no-install which will leave the game to run from the directory
    into which it was extracted and compiled.

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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether make sets $(MAKE)... yes
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for windres... no
checking for rst2html.py... no
checking for rst2html... rst2html
checking for rst2latex.py... no
checking for rst2latex... rst2latex
checking for pdflatex... pdflatex
checking for rm... /bin/rm
checking for mv... /bin/mv
checking for cp... /bin/cp
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdint.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking return type of signal handlers... void
checking for mkdir... yes
checking for setresgid... yes
checking for setegid... yes
checking for stat... yes
checking if gcc supports -Wno-missing-field-initializers... yes
checking if make supports SysV-style inclusion... yes
checking for make silent include syntax... gnu
checking for ncursesw5-config... /usr/bin/ncursesw5-config
checking for ncurses - wide char support... no
*** Could not run ncurses test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means ncursesw was incorrectly
*** installed or that you have moved ncursesw since it was installed. In the
*** latter case, you may want to edit the ncursesw5-config script:
*** /usr/bin/ncursesw5-config
checking for mvwaddnwstr... no
checking for use_default_colors... no
checking for can_change_color... no
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
configure: creating ./config.status
config.status: creating mk/buildsys.mk
config.status: creating mk/extra.mk
config.status: creating mk/sinclude.mk
config.status: creating src/autoconf.h
config.status: src/autoconf.h is unchanged

Configuration:

  Install path:                           /usr/local
  binary path:                            /usr/local/games
  config path:                            /usr/local/etc/angband/
  lib path:                               /usr/local/share/angband/
  doc path:                               /usr/local/share/doc/angband/
  var path:                               (not used)
  (with private save and score files in ~/.angband/Angband/)

-- Frontends --
- Curses                                  No; missing libraries
- X11                                     Yes
- SDL                                     Disabled
- Windows                                 Disabled
- Test                                    No
- Stats                                   No

- SDL sound                               Disabled
__________________
It's a 1982 Honda GL 500 Silver Wing Interstate, my daily commuter. http://linuxcounter.net/cert/522398.png
Runaway1956 is offline   Reply With Quote
Old February 24, 2015, 15:48   #2
Runaway1956
Apprentice
 
Runaway1956's Avatar
 
Join Date: Feb 2015
Location: USA
Posts: 71
Runaway1956 is on a distinguished road
Code:
guy@sparky:~/Downloads/angband/angband-3.5.1$ ./run-tests
Running: tests/birth/F-Hu-Wa... src/angband: Unable to prepare any 'display module'!
Failed
Running: tests/birth/M-Dw-Pa... src/angband: Unable to prepare any 'display module'!
Failed
Running: tests/birth/new-game-0... src/angband: Unable to prepare any 'display module'!
Failed
Running: tests/birth/new-game-1... src/angband: Unable to prepare any 'display module'!
Failed
Running: tests/trivial/matcher... src/angband: Unable to prepare any 'display module'!
Passed
Total: 1/5
__________________
It's a 1982 Honda GL 500 Silver Wing Interstate, my daily commuter. http://linuxcounter.net/cert/522398.png
Runaway1956 is offline   Reply With Quote
Old February 24, 2015, 15:54   #3
Runaway1956
Apprentice
 
Runaway1956's Avatar
 
Join Date: Feb 2015
Location: USA
Posts: 71
Runaway1956 is on a distinguished road
Alright - curses problem is solved - I simply searched synaptic for ncursesw and installed likely candidates. New output of ./configure looks like this with SDL, Windows, and SDL still disabled:

Code:
guy@sparky:~/Downloads/angband/angband-3.5.1$ ./configure --with-no-install
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for tput... /usr/bin/tput
configure: touching .deps files
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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether make sets $(MAKE)... yes
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for windres... no
checking for rst2html.py... no
checking for rst2html... rst2html
checking for rst2latex.py... no
checking for rst2latex... rst2latex
checking for pdflatex... pdflatex
checking for rm... /bin/rm
checking for mv... /bin/mv
checking for cp... /bin/cp
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdint.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking return type of signal handlers... void
checking for mkdir... yes
checking for setresgid... yes
checking for setegid... yes
checking for stat... yes
checking if gcc supports -Wno-missing-field-initializers... yes
checking if make supports SysV-style inclusion... yes
checking for make silent include syntax... gnu
checking for ncursesw5-config... /usr/bin/ncursesw5-config
checking for ncurses - wide char support... yes
checking for mvwaddnwstr... yes
checking for use_default_colors... yes
checking for can_change_color... yes
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
configure: creating ./config.status
config.status: creating mk/buildsys.mk
config.status: creating mk/extra.mk
config.status: creating mk/sinclude.mk
config.status: creating src/autoconf.h

Configuration:

  Install path:                           (not used)
  binary path:                            ..
  config path:                            /home/guy/.local/share/Trash/files/angband/angband-3.5.1/lib/
  lib path:                               /home/guy/.local/share/Trash/files/angband/angband-3.5.1/lib/
  doc path:                               /home/guy/.local/share/Trash/files/angband/angband-3.5.1/doc/
  var path:                               /home/guy/.local/share/Trash/files/angband/angband-3.5.1/lib/

-- Frontends --
- Curses                                  Yes
- X11                                     Yes
- SDL                                     Disabled
- Windows                                 Disabled
- Test                                    No
- Stats                                   No

- SDL sound                               Disabled
__________________
It's a 1982 Honda GL 500 Silver Wing Interstate, my daily commuter. http://linuxcounter.net/cert/522398.png
Runaway1956 is offline   Reply With Quote
Old February 24, 2015, 16:14   #4
Runaway1956
Apprentice
 
Runaway1956's Avatar
 
Join Date: Feb 2015
Location: USA
Posts: 71
Runaway1956 is on a distinguished road
While working at this, I hit Google, and found this page dealing with the Sid branch of Debian. https://packages.debian.org/source/sid/angband

Seems I had a lot of missing dependencies. Installing them all now, we'll see how this works after that is finished.
__________________
It's a 1982 Honda GL 500 Silver Wing Interstate, my daily commuter. http://linuxcounter.net/cert/522398.png
Runaway1956 is offline   Reply With Quote
Old February 24, 2015, 16:23   #5
Runaway1956
Apprentice
 
Runaway1956's Avatar
 
Join Date: Feb 2015
Location: USA
Posts: 71
Runaway1956 is on a distinguished road
Well now - little has changed. Ncurses is content, but SDL and Windows still seem to be dead. This is my config.log -

Code:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by Angband configure 3.5.1, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --with-no-install

## --------- ##
## Platform. ##
## --------- ##

hostname = sparky
uname -m = x86_64
uname -r = 3.18-7.dmz.1-liquorix-amd64
uname -s = Linux
uname -v = #1 ZEN SMP PREEMPT Debian 3.18-8 (2015-02-13)

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /home/guy/Applications/.bin
PATH: /opt/e19/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/local/games
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2292: checking build system type
configure:2306: result: x86_64-unknown-linux-gnu
configure:2326: checking host system type
configure:2339: result: x86_64-unknown-linux-gnu
configure:2359: checking target system type
configure:2372: result: x86_64-unknown-linux-gnu
configure:2402: checking for tput
configure:2420: found /usr/bin/tput
configure:2432: result: /usr/bin/tput
configure:2647: checking for gcc
configure:2663: found /usr/bin/gcc
configure:2674: result: gcc
configure:2903: checking for C compiler version
configure:2912: gcc --version >&5
gcc (Debian 4.9.1-19) 4.9.1
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2923: $? = 0
configure:2912: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.1-19' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --with-arch-32=i586 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.9.1 (Debian 4.9.1-19) 
configure:2923: $? = 0
configure:2912: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:2923: $? = 4
configure:2912: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:2923: $? = 4
configure:2943: checking whether the C compiler works
configure:2965: gcc    conftest.c  >&5
configure:2969: $? = 0
configure:3017: result: yes
configure:3020: checking for C compiler default output file name
configure:3022: result: a.out
configure:3028: checking for suffix of executables
configure:3035: gcc -o conftest    conftest.c  >&5
configure:3039: $? = 0
configure:3061: result: 
configure:3083: checking whether we are cross compiling
configure:3091: gcc -o conftest    conftest.c  >&5
configure:3095: $? = 0
configure:3102: ./conftest
configure:3106: $? = 0
configure:3121: result: no
configure:3126: checking for suffix of object files
configure:3148: gcc -c   conftest.c >&5
configure:3152: $? = 0
configure:3173: result: o
configure:3177: checking whether we are using the GNU C compiler
configure:3196: gcc -c   conftest.c >&5
configure:3196: $? = 0
configure:3205: result: yes
configure:3214: checking whether gcc accepts -g
configure:3234: gcc -c -g  conftest.c >&5
configure:3234: $? = 0
configure:3275: result: yes
configure:3292: checking for gcc option to accept ISO C89
configure:3355: gcc  -c -g -O2  conftest.c >&5
configure:3355: $? = 0
configure:3368: result: none needed
configure:3388: checking whether make sets $(MAKE)
configure:3410: result: yes
configure:3419: checking whether ln -s works
configure:3423: result: yes
configure:3444: checking for a BSD-compatible install
configure:3512: result: /usr/bin/install -c
configure:3523: checking for a thread-safe mkdir -p
configure:3562: result: /bin/mkdir -p
configure:3608: checking for windres
configure:3638: result: no
configure:3662: checking for rst2html.py
configure:3692: result: no
configure:3662: checking for rst2html
configure:3678: found /usr/bin/rst2html
configure:3689: result: rst2html
configure:3707: checking for rst2latex.py
configure:3737: result: no
configure:3707: checking for rst2latex
configure:3723: found /usr/bin/rst2latex
configure:3734: result: rst2latex
configure:3751: checking for pdflatex
configure:3767: found /usr/bin/pdflatex
configure:3778: result: pdflatex
configure:3794: checking for rm
configure:3812: found /bin/rm
configure:3824: result: /bin/rm
configure:3834: checking for mv
configure:3852: found /bin/mv
configure:3864: result: /bin/mv
configure:3874: checking for cp
configure:3892: found /bin/cp
configure:3904: result: /bin/cp
configure:3917: checking for dirent.h that defines DIR
configure:3936: gcc -c -g -O2  conftest.c >&5
configure:3936: $? = 0
configure:3944: result: yes
configure:3957: checking for library containing opendir
configure:3988: gcc -o conftest -g -O2   conftest.c  >&5
configure:3988: $? = 0
configure:4005: result: none required
configure:4077: checking how to run the C preprocessor
configure:4108: gcc -E  conftest.c
configure:4108: $? = 0
configure:4122: gcc -E  conftest.c
conftest.c:12:28: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
                            ^
compilation terminated.
configure:4122: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Angband"
| #define PACKAGE_TARNAME "angband"
| #define PACKAGE_VERSION "3.5.1"
| #define PACKAGE_STRING "Angband 3.5.1"
| #define PACKAGE_BUGREPORT "bugs@rephial.org"
| #define PACKAGE_URL ""
| #define PACKAGE "angband"
| #define VERSION ""
| #define HAVE_DIRENT_H 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4147: result: gcc -E
configure:4167: gcc -E  conftest.c
configure:4167: $? = 0
configure:4181: gcc -E  conftest.c
conftest.c:12:28: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
                            ^
compilation terminated.
configure:4181: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Angband"
| #define PACKAGE_TARNAME "angband"
| #define PACKAGE_VERSION "3.5.1"
| #define PACKAGE_STRING "Angband 3.5.1"
| #define PACKAGE_BUGREPORT "bugs@rephial.org"
| #define PACKAGE_URL ""
| #define PACKAGE "angband"
| #define VERSION ""
| #define HAVE_DIRENT_H 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4210: checking for grep that handles long lines and -e
configure:4268: result: /bin/grep
configure:4273: checking for egrep
configure:4335: result: /bin/grep -E
configure:4340: checking for ANSI C header files
configure:4360: gcc -c -g -O2  conftest.c >&5
configure:4360: $? = 0
configure:4433: gcc -o conftest -g -O2   conftest.c  >&5
configure:4433: $? = 0
configure:4433: ./conftest
configure:4433: $? = 0
configure:4444: result: yes
configure:4457: checking for sys/types.h
configure:4457: gcc -c -g -O2  conftest.c >&5
configure:4457: $? = 0
configure:4457: result: yes
configure:4457: checking for sys/stat.h
configure:4457: gcc -c -g -O2  conftest.c >&5
configure:4457: $? = 0
configure:4457: result: yes
configure:4457: checking for stdlib.h
configure:4457: gcc -c -g -O2  conftest.c >&5
configure:4457: $? = 0
configure:4457: result: yes
configure:4457: checking for string.h
configure:4457: gcc -c -g -O2  conftest.c >&5
configure:4457: $? = 0
configure:4457: result: yes
configure:4457: checking for memory.h
configure:4457: gcc -c -g -O2  conftest.c >&5
configure:4457: $? = 0
configure:4457: result: yes
configure:4457: checking for strings.h
configure:4457: gcc -c -g -O2  conftest.c >&5
configure:4457: $? = 0
configure:4457: result: yes
configure:4457: checking for inttypes.h
configure:4457: gcc -c -g -O2  conftest.c >&5
configure:4457: $? = 0
configure:4457: result: yes
configure:4457: checking for stdint.h
configure:4457: gcc -c -g -O2  conftest.c >&5
configure:4457: $? = 0
configure:4457: result: yes
configure:4457: checking for unistd.h
configure:4457: gcc -c -g -O2  conftest.c >&5
configure:4457: $? = 0
configure:4457: result: yes
configure:4472: checking fcntl.h usability
configure:4472: gcc -c -g -O2  conftest.c >&5
configure:4472: $? = 0
configure:4472: result: yes
configure:4472: checking fcntl.h presence
configure:4472: gcc -E  conftest.c
configure:4472: $? = 0
configure:4472: result: yes
configure:4472: checking for fcntl.h
configure:4472: result: yes
configure:4472: checking for stdint.h
configure:4472: result: yes
configure:4482: checking for stdbool.h that conforms to C99
configure:4549: gcc -c -g -O2  conftest.c >&5
configure:4549: $? = 0
configure:4556: result: yes
configure:4558: checking for _Bool
configure:4558: gcc -c -g -O2  conftest.c >&5
configure:4558: $? = 0
configure:4558: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:60:20: error: expected expression before ')' token
 if (sizeof ((_Bool)))
                    ^
configure:4558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Angband"
| #define PACKAGE_TARNAME "angband"
| #define PACKAGE_VERSION "3.5.1"
| #define PACKAGE_STRING "Angband 3.5.1"
| #define PACKAGE_BUGREPORT "bugs@rephial.org"
| #define PACKAGE_URL ""
| #define PACKAGE "angband"
| #define VERSION ""
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_STDINT_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((_Bool)))
| 	    return 0;
|   ;
|   return 0;
| }
configure:4558: result: yes
configure:4575: checking for an ANSI C-conforming const
configure:4641: gcc -c -g -O2  conftest.c >&5
configure:4641: $? = 0
configure:4648: result: yes
configure:4656: checking return type of signal handlers
configure:4674: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:32:1: error: void value not ignored as it ought to be
 return *(signal (0, 0)) (0) == 1;
 ^
configure:4674: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Angband"
| #define PACKAGE_TARNAME "angband"
| #define PACKAGE_VERSION "3.5.1"
| #define PACKAGE_STRING "Angband 3.5.1"
| #define PACKAGE_BUGREPORT "bugs@rephial.org"
| #define PACKAGE_URL ""
| #define PACKAGE "angband"
| #define VERSION ""
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_STDINT_H 1
| #define HAVE__BOOL 1
| #define HAVE_STDBOOL_H 1
| /* end confdefs.h.  */
| #include <sys/types.h>
| #include <signal.h>
| 
| int
| main ()
| {
| return *(signal (0, 0)) (0) == 1;
|   ;
|   return 0;
| }
configure:4681: result: void
configure:4692: checking for mkdir
configure:4692: gcc -o conftest -g -O2   conftest.c  >&5
configure:4692: $? = 0
configure:4692: result: yes
configure:4692: checking for setresgid
configure:4692: gcc -o conftest -g -O2   conftest.c  >&5
configure:4692: $? = 0
configure:4692: result: yes
configure:4692: checking for setegid
configure:4692: gcc -o conftest -g -O2   conftest.c  >&5
configure:4692: $? = 0
configure:4692: result: yes
configure:4692: checking for stat
configure:4692: gcc -o conftest -g -O2   conftest.c  >&5
configure:4692: $? = 0
configure:4692: result: yes
configure:4707: checking if gcc supports -Wno-missing-field-initializers
configure:4715: gcc -c -Wno-missing-field-initializers  -I. conftest.c >&5
configure:4715: $? = 0
configure:4721: result: yes
configure:4733: checking if make supports SysV-style inclusion
configure:4753: result: yes
configure:4760: checking for make silent include syntax
configure:4788: result: gnu
configure:5035: checking for ncursesw5-config
configure:5053: found /usr/bin/ncursesw5-config
configure:5066: result: /usr/bin/ncursesw5-config
configure:5074: checking for ncurses - wide char support
configure:5106: gcc -o conftest -g -O2 -DHAVE_CONFIG_H -W -Wall -Wextra -Wno-unused-parameter -pedantic -Wno-missing-field-initializers -I/usr/include/ncursesw  -I.  conftest.c  -lncursesw -ltinfo >&5
configure:5106: $? = 0
configure:5106: ./conftest
configure:5106: $? = 0
configure:5120: result: yes
configure:5199: checking for mvwaddnwstr
configure:5199: gcc -o conftest -g -O2 -DHAVE_CONFIG_H -W -Wall -Wextra -Wno-unused-parameter -pedantic -Wno-missing-field-initializers -I/usr/include/ncursesw  -I.  conftest.c  -lncursesw -ltinfo >&5
configure:5199: $? = 0
configure:5199: result: yes
configure:5199: checking for use_default_colors
configure:5199: gcc -o conftest -g -O2 -DHAVE_CONFIG_H -W -Wall -Wextra -Wno-unused-parameter -pedantic -Wno-missing-field-initializers -I/usr/include/ncursesw  -I.  conftest.c  -lncursesw -ltinfo >&5
configure:5199: $? = 0
configure:5199: result: yes
configure:5199: checking for can_change_color
configure:5199: gcc -o conftest -g -O2 -DHAVE_CONFIG_H -W -Wall -Wextra -Wno-unused-parameter -pedantic -Wno-missing-field-initializers -I/usr/include/ncursesw  -I.  conftest.c  -lncursesw -ltinfo >&5
configure:5199: $? = 0
configure:5199: result: yes
configure:5210: checking for X
configure:5318: gcc -E  -I. conftest.c
configure:5318: $? = 0
configure:5349: gcc -o conftest -g -O2 -DHAVE_CONFIG_H -W -Wall -Wextra -Wno-unused-parameter -pedantic -Wno-missing-field-initializers -I/usr/include/ncursesw  -I.  conftest.c -lX11  -lncursesw -ltinfo >&5
configure:5349: $? = 0
configure:5399: result: libraries , headers 
configure:5498: gcc -o conftest -g -O2 -DHAVE_CONFIG_H -W -Wall -Wextra -Wno-unused-parameter -pedantic -Wno-missing-field-initializers -I/usr/include/ncursesw  -I.  conftest.c  -lncursesw -ltinfo  -lX11 >&5
configure:5498: $? = 0
configure:5596: checking for gethostbyname
configure:5596: gcc -o conftest -g -O2 -DHAVE_CONFIG_H -W -Wall -Wextra -Wno-unused-parameter -pedantic -Wno-missing-field-initializers -I/usr/include/ncursesw  -I.  conftest.c  -lncursesw -ltinfo >&5
configure:5596: $? = 0
configure:5596: result: yes
configure:5693: checking for connect
configure:5693: gcc -o conftest -g -O2 -DHAVE_CONFIG_H -W -Wall -Wextra -Wno-unused-parameter -pedantic -Wno-missing-field-initializers -I/usr/include/ncursesw  -I.  conftest.c  -lncursesw -ltinfo >&5
configure:5693: $? = 0
configure:5693: result: yes
configure:5742: checking for remove
configure:5742: gcc -o conftest -g -O2 -DHAVE_CONFIG_H -W -Wall -Wextra -Wno-unused-parameter -pedantic -Wno-missing-field-initializers -I/usr/include/ncursesw  -I.  conftest.c  -lncursesw -ltinfo >&5
configure:5742: $? = 0
configure:5742: result: yes
configure:5791: checking for shmat
configure:5791: gcc -o conftest -g -O2 -DHAVE_CONFIG_H -W -Wall -Wextra -Wno-unused-parameter -pedantic -Wno-missing-field-initializers -I/usr/include/ncursesw  -I.  conftest.c  -lncursesw -ltinfo >&5
configure:5791: $? = 0
configure:5791: result: yes
configure:5849: checking for IceConnectionNumber in -lICE
configure:5874: gcc -o conftest -g -O2 -DHAVE_CONFIG_H -W -Wall -Wextra -Wno-unused-parameter -pedantic -Wno-missing-field-initializers -I/usr/include/ncursesw  -I.  conftest.c -lICE   -lncursesw -ltinfo >&5
configure:5874: $? = 0
configure:5883: result: yes
configure:6598: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by Angband config.status 3.5.1, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status 

on sparky

config.status:878: creating mk/buildsys.mk
config.status:878: creating mk/extra.mk
config.status:878: creating mk/sinclude.mk
config.status:878: creating src/autoconf.h

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_MAKE_set=
ac_cv_env_MAKE_value=
ac_cv_env_RST2HTML_set=
ac_cv_env_RST2HTML_value=
ac_cv_env_RST2LATEX_set=
ac_cv_env_RST2LATEX_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_can_change_color=yes
ac_cv_func_connect=yes
ac_cv_func_gethostbyname=yes
ac_cv_func_mkdir=yes
ac_cv_func_mvwaddnwstr=yes
ac_cv_func_remove=yes
ac_cv_func_setegid=yes
ac_cv_func_setresgid=yes
ac_cv_func_shmat=yes
ac_cv_func_stat=yes
ac_cv_func_use_default_colors=yes
ac_cv_have_x='have_x=yes	ac_x_includes='\'''\''	ac_x_libraries='\'''\'''
ac_cv_header_dirent_dirent_h=yes
ac_cv_header_fcntl_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdbool_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_lib_ICE_IceConnectionNumber=yes
ac_cv_objext=o
ac_cv_path_CP=/bin/cp
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP=/bin/grep
ac_cv_path_MV=/bin/mv
ac_cv_path_NCURSES_CONFIG=/usr/bin/ncursesw5-config
ac_cv_path_RM=/bin/rm
ac_cv_path_TPUT=/usr/bin/tput
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_PDFLATEX=pdflatex
ac_cv_prog_RST2HTML=rst2html
ac_cv_prog_RST2LATEX=rst2latex
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_search_opendir='none required'
ac_cv_target=x86_64-unknown-linux-gnu
ac_cv_type__Bool=yes
ac_cv_type_signal=void
my_cv_make_inclusion_sysv=yes
my_cv_make_sinclude_syntax=gnu

## ----------------- ##
## Output variables. ##
## ----------------- ##

CC='gcc'
CFLAGS='-g -O2 -DHAVE_CONFIG_H -W -Wall -Wextra -Wno-unused-parameter -pedantic -Wno-missing-field-initializers -I/usr/include/ncursesw '
CP='/bin/cp'
CPP='gcc -E'
CPPFLAGS=' -I.'
DEFS='-DHAVE_CONFIG_H'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
GREP='/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LDFLAGS=''
LIBOBJS=''
LIBS=' -lncursesw -ltinfo  -lSM -lICE  -lX11  -lm'
LN_S='ln -s'
LTLIBOBJS=''
MAINFILES='$(BASEMAINFILES) $(GCUMAINFILES) $(X11MAINFILES)'
MAKE=''
MAKE_SINCLUDE='-include'
MKDIR_P='/bin/mkdir -p'
MV='/bin/mv'
NCURSES_CFLAGS='-I/usr/include/ncursesw'
NCURSES_CONFIG='/usr/bin/ncursesw5-config'
NCURSES_LIBS='-lncursesw -ltinfo'
NOINSTALL=''
OBJEXT='o'
PACKAGE='angband'
PACKAGE_BUGREPORT='bugs@rephial.org'
PACKAGE_NAME='Angband'
PACKAGE_STRING='Angband 3.5.1'
PACKAGE_TARNAME='angband'
PACKAGE_URL=''
PACKAGE_VERSION='3.5.1'
PATH_SEPARATOR=':'
PDFLATEX='pdflatex'
RC='no'
RM='/bin/rm'
RST2HTML='rst2html'
RST2LATEX='rst2latex'
SDL_CFLAGS=''
SDL_CONFIG=''
SDL_LIBS=''
SETEGID=''
SET_MAKE=''
SHELL='/bin/bash'
TERM_BOLD=''
TERM_EL=''
TERM_SETAF1=''
TERM_SETAF2=''
TERM_SETAF3=''
TERM_SETAF4=''
TERM_SETAF6=''
TERM_SGR0='(B'
TPUT='/usr/bin/tput'
USE_STATS=''
XMKMF=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=' -lSM -lICE'
ac_ct_CC='gcc'
bindir='..'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
configdir='/home/guy/Downloads/angband-3.5.1/lib/'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdatadir='/home/guy/Downloads/angband-3.5.1/doc/'
docdir='/home/guy/Downloads/angband-3.5.1/doc/'
dvidir='${docdir}'
exec_prefix='/usr/local'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdatadir='/home/guy/Downloads/angband-3.5.1/lib/'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='x86_64-unknown-linux-gnu'
target_alias=''
target_cpu='x86_64'
target_os='linux-gnu'
target_vendor='unknown'
vardatadir='/home/guy/Downloads/angband-3.5.1/lib/'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "Angband"
#define PACKAGE_TARNAME "angband"
#define PACKAGE_VERSION "3.5.1"
#define PACKAGE_STRING "Angband 3.5.1"
#define PACKAGE_BUGREPORT "bugs@rephial.org"
#define PACKAGE_URL ""
#define PACKAGE "angband"
#define VERSION ""
#define HAVE_DIRENT_H 1
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_FCNTL_H 1
#define HAVE_STDINT_H 1
#define HAVE__BOOL 1
#define HAVE_STDBOOL_H 1
#define RETSIGTYPE void
#define HAVE_MKDIR 1
#define HAVE_SETRESGID 1
#define HAVE_SETEGID 1
#define HAVE_STAT 1
#define DEFAULT_CONFIG_PATH "/home/guy/Downloads/angband-3.5.1/lib/"
#define DEFAULT_LIB_PATH "/home/guy/Downloads/angband-3.5.1/lib/"
#define DEFAULT_DATA_PATH "/home/guy/Downloads/angband-3.5.1/lib/"
#define USE_NCURSES 1
#define USE_GCU 1
#define HAVE_MVWADDNWSTR 1
#define HAVE_USE_DEFAULT_COLORS 1
#define HAVE_CAN_CHANGE_COLOR 1
#define USE_X11 1

configure: exit 0
__________________
It's a 1982 Honda GL 500 Silver Wing Interstate, my daily commuter. http://linuxcounter.net/cert/522398.png
Runaway1956 is offline   Reply With Quote
Old February 24, 2015, 17:38   #6
Runaway1956
Apprentice
 
Runaway1956's Avatar
 
Join Date: Feb 2015
Location: USA
Posts: 71
Runaway1956 is on a distinguished road
Ho-hum - still no joy. I found and installed the latest version of Angband from the Sid repositories. I checked carefully that all of the dependencies were satisfied, checking for version numbers as well. Everything SHOULD work, but I still get no windows. My x11-settings-prf stays the same, no matter what I do with the game settings. Alice.prf was created when I told it to save user prefs. I can't read it in an editor - or there's nothing to read.

Alice.prf
Code:
#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=# begin Dump window settings
# *Warning!*  The lines below are an automatic dump.
# Don't edit them; changes will be deleted and replaced automatically.

# Options


# *Warning!*  The lines above are an automatic dump.
# Don't edit them; changes will be deleted and replaced automatically.
#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=# end Dump window settings


x11-settings.prf

Code:
# Angband X11 settings

TERM_WINS=1

# Term 0
AT_X_0=0
AT_Y_0=0
COLS_0=127
ROWS_0=44
IBOX_0=1
IBOY_0=1
FONT_0=10x20
TILE_WIDTH_0=10
TILE_HEIGHT_0=20
I'm stumped right now . . . .
__________________
It's a 1982 Honda GL 500 Silver Wing Interstate, my daily commuter. http://linuxcounter.net/cert/522398.png
Runaway1956 is offline   Reply With Quote
Old February 24, 2015, 18:08   #7
chris
PosChengband Maintainer
 
Join Date: Jan 2008
Posts: 702
chris is on a distinguished road
OK, I'm the last guy to give linux advice. I installed 3.5.1 on Linux Mint 17.1 with the following:
Code:
>sudo apt-get install autoconf gcc libc6-dev libncurses5-dev libx11-dev

~/Src/angband-3.5.1 > ./configure --with-no-install
~/Src/angband-3.5.1 > make -j4
~/Src/angband-3.5.1 > cp src/angband .
~/Src/angband-3.5.1 > ./angband -g -- -n4
BTW, I never know what packages are needed and it would be nice if a list were included in compiling.txt. I listed the ones required for my variant which lacks sdl support.

EDIT: Graphics don't seem to work for me ... I always get ASCII?

Last edited by chris; February 24, 2015 at 18:16.
chris is offline   Reply With Quote
Old February 24, 2015, 18:21   #8
Runaway1956
Apprentice
 
Runaway1956's Avatar
 
Join Date: Feb 2015
Location: USA
Posts: 71
Runaway1956 is on a distinguished road
Interesting. I haven't attempted to enable or to use graphics - I'm just happy playing the old school way.

I'll take a look at doing things your way, and see what happens.


THANKS FOR THE REPLY!!


Quote:
Originally Posted by chris View Post
OK, I'm the last guy to give linux advice. I installed 3.5.1 on Linux Mint 17.1 with the following:
Code:
>sudo apt-get install autoconf gcc libc6-dev libncurses5-dev libx11-dev

~/Src/angband-3.5.1 > ./configure --with-no-install
~/Src/angband-3.5.1 > make -j4
~/Src/angband-3.5.1 > cp src/angband .
~/Src/angband-3.5.1 > ./angband -g -- -n4
BTW, I never know what packages are needed and it would be nice if a list were included in compiling.txt. I listed the ones required for my variant which lacks sdl support.

EDIT: Graphics don't seem to work for me ... I always get ASCII?
__________________
It's a 1982 Honda GL 500 Silver Wing Interstate, my daily commuter. http://linuxcounter.net/cert/522398.png
Runaway1956 is offline   Reply With Quote
Old February 24, 2015, 18:25   #9
Derakon
Prophet
 
Derakon's Avatar
 
Join Date: Dec 2009
Posts: 8,916
Derakon is on a distinguished road
Quote:
Originally Posted by Runaway1956 View Post
Interesting. I haven't attempted to enable or to use graphics - I'm just happy playing the old school way.
I'm also utterly unqualified to comment on Linux issues, but it's entirely possible that the different front-ends have differing levels of "supportedness".
Derakon is offline   Reply With Quote
Old February 24, 2015, 18:44   #10
Runaway1956
Apprentice
 
Runaway1956's Avatar
 
Join Date: Feb 2015
Location: USA
Posts: 71
Runaway1956 is on a distinguished road
Nice - your way works, Chris! I now have a status window, equipment window, and messages window. Sweet!

Thanks again!
__________________
It's a 1982 Honda GL 500 Silver Wing Interstate, my daily commuter. http://linuxcounter.net/cert/522398.png

Last edited by Runaway1956; February 24, 2015 at 21:37.
Runaway1956 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie question - installation help Moriwen Vanilla 3 October 30, 2012 05:58
Ubuntu installation... aaronchall Vanilla 10 July 24, 2010 19:04


All times are GMT +1. The time now is 21:27.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.