Closed hedonnn closed 2 years ago
Someone told me to install libx11-dev which I did, but now I have other problems:
kronos@Talisman:~/Desktop/sil-q-1.5.0/src$ make -f Makefile.std install
gcc -Wall -O2 -fno-strength-reduce -pipe -g -D"USE_XAW" -c -o maid-x11.o maid-x11.c
gcc -Wall -O2 -fno-strength-reduce -pipe -g -D"USE_XAW" -c -o main-gtk.o main-gtk.c
gcc -Wall -O2 -fno-strength-reduce -pipe -g -D"USE_XAW" -c -o main.o main.c
gcc -Wall -O2 -fno-strength-reduce -pipe -g -D"USE_XAW" -o sil z-util.o z-virt.o z-form.o z-rand.o z-term.o variable.o tables.o util.o cave.o object1.o object2.o monster1.o monster2.o xtra1.o xtra2.o spells1.o spells2.o melee1.o melee2.o save.o files.o cmd1.o cmd2.o cmd3.o cmd4.o cmd5.o cmd6.o birth.o load.o squelch.o wizard1.o wizard2.o obj-info.o generate.o dungeon.o init1.o init2.o randart.o use-obj.o main-cap.o main-gcu.o main-x11.o maid-x11.o main-gtk.o main.o -L/usr/X11R6/lib -lXaw -lXext -lSM -lICE -lXmu -lXt -lX11
/usr/bin/ld: cannot find -lXaw
/usr/bin/ld: cannot find -lXext
/usr/bin/ld: cannot find -lSM
/usr/bin/ld: cannot find -lICE
/usr/bin/ld: cannot find -lXmu
/usr/bin/ld: cannot find -lXt
collect2: error: ld returned 1 exit status
make: *** [Makefile.std:266: sil] Error 1
It looks like you are missing a number of common packages. In general you will likely be able to install them with something like:
sudo apt-get install libfoo-dev
where foo is the missing library i.e. you would replace foo with Xmu, Xt, etc as appropriate.
https://community.linuxmint.com/software/view/libsm-dev, https://community.linuxmint.com/software/view/libice-dev, https://community.linuxmint.com/software/view/libxext-dev etc suggest these should all be available on Mint.
I'm on Linux Mint. I made sure to comment default variation and uncommented that:
Result: