View Single Post
Old November 7, 2021, 13:11   #22
lea2501
Apprentice
 
Join Date: Dec 2019
Posts: 60
lea2501 is on a distinguished road
Quote:
Originally Posted by backwardsEric View Post
The problem likely isn't with the savefile or the savefile directory but with getting stuck in an infinite loop in the random number generator (at least that's what happens when I follow your steps on a x86_64 system). Doing this (so compiling doesn't assume that long is a 32-bit type) for configuration seems to solve the infinite loop problem:

Code:
env CFLAGS=-DL64 ./configure --with-no-install
make clean
make
(the "make clean" step there is just to ensure that it's not using the previously compiled object files).
It worked! (but not with those commands)

what i did was the following:

I edited src/Makefile.std and uncommented these lines (129 and 130):
Code:
## Variation -- Only support "main-gcu.c" (not "main-x11.c")
##
CFLAGS = -Wall -O1 -pipe -g -D"USE_GCU" -DL64
LIBS = -lcurses -ltermcap
Then i run these commands:
Code:
$ export CFLAGS=-DL64
$ ./configure --with-no-install
$ make clean
$ make
and now it works! thank you all! i will try to play 2.9.3 and then check if i can compile even more ancient builds, just to take a look at them, my initial point was to play the angband version that frogcomposband, and in fact zangband derived!
lea2501 is offline   Reply With Quote