01-16-2020, 01:16 PM
(This post was last modified: 01-16-2020, 01:21 PM by astr0baby.
Edit Reason: update
)
(01-16-2020, 09:49 AM)Luke Wrote: @astr0baby I am encountering this issue with chocolate doom on default Debian. I assume this means that the SDL package in Debian 9 is too old? any way around this?You need to probably install the development package sdl2_net via # apt-get install libsdl2-net-dev
Code:lukasz@Debian-Desktop:~/chocolate-doom$ ./autogen.sh
checking build system type... aarch64-unknown-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
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 gcc understands -c and -o together... yes
checking for ar... ar
checking the archiver (ar) interface... ar
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking for ranlib... ranlib
checking for python... true
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for SDL... yes
checking for SDLMIXER... yes
checking for SDLNET... no
configure: error: Package requirements (SDL2_net >= 2.0.0) were not met:
No package 'SDL2_net' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables SDLNET_CFLAGS
and SDLNET_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
lukasz@Debian-Desktop:~/chocolate-doom$
(01-16-2020, 12:17 PM)tophneal Wrote: Anyone using devilutionx-git AUR package? Just installed it, and tried following the instructions given at the end of the install (with the help of astr0baby's writeup,) but it loads to a screen with a button and nothing else and crashes immediately after clicking the button. The package's completion instructions for the diabdat.mpq had me rename it to diablodat.mpq and place it at ~/.local/share/diasurgical/devilution.
Has anyone installed this from the AUR and can confirm the correct placement of diab(lo)dat.mpq?
I dug harder and found my answer: https://aur.archlinux.org/packages/devil...ent-687217
Another edit:
After several crashes, I removed the AUR devilution package and strictly followed astr0baby's build instructions. However, now I'm hitting a new wall: when running make install I get the error "make: *** No rule to make target 'install'. Stop.
Any thoughts? I know I didn't miss any steps (there's so few.)
Don't run make install

cd devillutionX/bin/
./devilutionX
(make sure you have the diablodat.mpq in your path)
I updated my blogpost - there is no rule to install devillutionX thus the make install fails ... so just run it from the build environment or copy the binary to /usr/local/bin ...