Can one of you Linux wizards help me? I don't know what that error is at all.karl@karl-laptop2:~/mangband/src$ make
gcc -Wall -g -pipe -DUSE_GCU -o mangband common/z-util.o common/z-virt.o common/z-form.o common/z-rand.o common/net-unix.o common/net-win.o common/sockbuf.o server/variable.o server/control.o server/party.o server/tables.o server/util.o server/cave.o server/object1.o server/object2.o server/obj-info.o server/monster1.o server/monster2.o server/xtra1.o server/xtra2.o server/spells1.o server/spells2.o server/x-spell.o server/melee1.o server/melee2.o server/save.o server/files.o server/cmd1.o server/cmd2.o server/cmd3.o server/cmd4.o server/cmd5.o server/cmd6.o server/store.o server/birth.o server/load2.o server/sched.o server/sched-win.o server/generate.o server/wilderness.o server/dungeon.o server/init1.o server/init2.o server/netserver.o server/main.o common/md5.o -lncurses
/usr/bin/ld: cannot open output file mangband: Is a directory
collect2: ld returned 1 exit status
make: *** [mangband] Error 1
karl@karl-laptop2:~/mangband/src$
Compiling on Kubuntu
Compiling on Kubuntu
I've been trying to compile MAngband on Kubuntu, and when I try make, I get this:
Re: Compiling on Kubuntu
Which source are you trying to compile? Where and how did you get them? Is there are directory named "mangband" in the src directory? Have you run ./configure?
Do you have all the required dependencies? You can install some of them with:
The entire process of downloading and compiling is simply this (you can copy/paste)
Do you have all the required dependencies? You can install some of them with:
Code: Select all
sudo apt-get install build-essential libncurses5-dev libx11-dev
Code: Select all
sudo apt-get install build-essential libncurses5-dev libx11-dev wget
wget http://mangband.org/download/mangband-1.1.0.tar.gz
tar xzvf mangband-1.1.0.tar.gz
cd mangband-1_1_0/src
./configure && make
Re: Compiling on Kubuntu
Thanks, that seems to have worked.
Re: Compiling on Kubuntu
Huh. Now that it's running, I'm still having a problem; If I want to move in-game, I have to use the numbers. Not the num pad, but the actual bar of numbers near the top of my keyboard.
Before I try and figure out what's going on, has anybody had this problem? I think it's probably got something to do with my computer in general and not some strange MAngband configuration. So, does anyone have any idea of what's going on?
Before I try and figure out what's going on, has anybody had this problem? I think it's probably got something to do with my computer in general and not some strange MAngband configuration. So, does anyone have any idea of what's going on?
Re: Compiling on Kubuntu
Toggle numlock
Re: Compiling on Kubuntu
I don't know what I'm gonna say after this works.
Re: Compiling on Kubuntu
Huh, it didn't work. Oh well.
Re: Compiling on Kubuntu
It's possible the terminal emulation you're using by default has different raw data for some of the keys. Try generating a macro for the num-pad and see what gets saved to the pref file. You may need to generate a pref file that matches your setup, instead of using one of the pre-configured ones.nubnub wrote:Huh. Now that it's running, I'm still having a problem; If I want to move in-game, I have to use the numbers. Not the num pad, but the actual bar of numbers near the top of my keyboard.
Mangband Project Team Member
Re: Compiling on Kubuntu
I set up macros for the movement keys, but now I have yet another problem. I can't run, and toggling numlock doesn't help.
Also, the one windowed display seems to work fine, but the non SDL one just has a main window that displays the game and three other black, function-less windows.
Do you guys know what's up with the running thing? That's the main problem I have (for now).
Also, the one windowed display seems to work fine, but the non SDL one just has a main window that displays the game and three other black, function-less windows.
Do you guys know what's up with the running thing? That's the main problem I have (for now).
Re: Compiling on Kubuntu
Are you just typing ./mangclient after the "./configure && make" ?
You should not run the client from the "src" directory (even though you can if you compile it yourself - it won't work properly). You should ensure you are in the "mangband-1_1_0" directory not "mangband-1_1_0/src" when running ./mangclient
If that's not the problem then it's possible you were missing some dependency and have only compiled the GCU version of the client. If you're running under X windows, you need to compile the X windows client.
You should not run the client from the "src" directory (even though you can if you compile it yourself - it won't work properly). You should ensure you are in the "mangband-1_1_0" directory not "mangband-1_1_0/src" when running ./mangclient
If that's not the problem then it's possible you were missing some dependency and have only compiled the GCU version of the client. If you're running under X windows, you need to compile the X windows client.
Re: Compiling on Kubuntu
Yeah, I was just going in the src directory. And now I feel oblivious. ._.
Thanks for the help.
Thanks for the help.