I decided to shift the game to a different computer/OS. My desktop runs Ubuntu 9.10; download the source, unzip, run the 3 commands, bingo! Game runs. Copy over my save file to the right spot (took a bit to find that)...rename it...it loads! Cool.
OK, so now step 2. Let's do this on my netbook, which is where I'd really prefer it. The netbook runs the current Ubuntu netbook remix.
Copy the zip file.
Unzip.
Run ./configure -- OK.
Run make. All the components compile fine, until....
main.c:38: warning: ISO C forbids empty initializer braces
main.c:37: error: zero or negative size array ‘modules’
make[3]: *** [main.o] Error 1
make[2]: *** [all] Error 1
make[1]: *** [subdirs] Error 1
make: *** [all] Error 1
Oops...
Can't upload my full config.log; it's too big. But here's what's being written into confdefs.h:
#define PACKAGE_NAME "Angband"
#define PACKAGE_TARNAME "angband"
#define PACKAGE_VERSION "3.1.2v2"
#define PACKAGE_STRING "Angband 3.1.2v2"
#define PACKAGE_BUGREPORT "bugs@rephial.org"
#define PACKAGE "angband"
#define VERSION "3.1.2v2"
#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 USE_PRIVATE_PATHS 1
#define DEFAULT_CONFIG_PATH "/usr/local/etc/angband/"
#define DEFAULT_LIB_PATH "/usr/local/share/angband/"
#define DEFAULT_DATA_PATH "/usr/local/var/games/angband/"
#define X_DISPLAY_MISSING 1
One big difference in the desktop's config log: it has USE_X11 1. The netbook doesn't run XWin, to remain small. The problem appears to be that NONE of the #ifdef's are being satisfied, thus creating the empty module.
So what now?
OK, so now step 2. Let's do this on my netbook, which is where I'd really prefer it. The netbook runs the current Ubuntu netbook remix.
Copy the zip file.
Unzip.
Run ./configure -- OK.
Run make. All the components compile fine, until....
main.c:38: warning: ISO C forbids empty initializer braces
main.c:37: error: zero or negative size array ‘modules’
make[3]: *** [main.o] Error 1
make[2]: *** [all] Error 1
make[1]: *** [subdirs] Error 1
make: *** [all] Error 1
Oops...
Can't upload my full config.log; it's too big. But here's what's being written into confdefs.h:
#define PACKAGE_NAME "Angband"
#define PACKAGE_TARNAME "angband"
#define PACKAGE_VERSION "3.1.2v2"
#define PACKAGE_STRING "Angband 3.1.2v2"
#define PACKAGE_BUGREPORT "bugs@rephial.org"
#define PACKAGE "angband"
#define VERSION "3.1.2v2"
#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 USE_PRIVATE_PATHS 1
#define DEFAULT_CONFIG_PATH "/usr/local/etc/angband/"
#define DEFAULT_LIB_PATH "/usr/local/share/angband/"
#define DEFAULT_DATA_PATH "/usr/local/var/games/angband/"
#define X_DISPLAY_MISSING 1
One big difference in the desktop's config log: it has USE_X11 1. The netbook doesn't run XWin, to remain small. The problem appears to be that NONE of the #ifdef's are being satisfied, thus creating the empty module.
So what now?
Comment