|
Post by Chryana on Mar 16, 2007 12:14:53 GMT -5
Hi. I don't know if anyone has reported this as of yet, but I searched the forum and could find no one who complained about any problems compiling Portralis. I run Kubuntu on my desktop, and I have compiled a lot of variants (V, Z, Tome, unangband, FA, + a few others). Anyways, whenever I try to compile Portralis, I get the error
make: *** No rule to make target `cmd7.c', needed by `cmd7.o'. Stop.
I tried to compile using the files Makefile, MAKEFILE.ORG and makefile.lin, and they all return that error (Makefile refuses to compile anything, while the two others will compile happily until they reach that file in the compiling process, at which point they will stop). Anyways, I was hoping you could help me to figure out what was wrong. Thank you very much!
|
|
|
Post by Variaz on Mar 16, 2007 12:42:28 GMT -5
I didn't fix all the makefiles, reason being that I don't have access to most of these systems...
To fix that though, open the makefile, and remove the cmd7.c file from the list. Also make sure to add any missing files that may not be in the list. You may want to check makefile.bcc to make sure all files are there.
|
|
|
Post by Chryana on Mar 17, 2007 0:55:12 GMT -5
I can't believe it. I actually managed to get it to compile... Took me two or three hours, but it actually seems to work. I did have to download the windows binary to get the lib folder, and it runs! I know it's not much of an accomplishment, but it's not bad for someone who's not a programmer . I'm sure the Makefile I made is totally awful, and I got some help from looking at a Tome makefile but IT RUNS!!! Anyways. Thank you for your help.
|
|
|
Post by Chryana on Mar 17, 2007 17:31:59 GMT -5
Well, it was too good to be true...
There's a few problems with the compile I made. When I enter a building, I need to carry a light to see the people inside. Else, I just hit them and get the message "no experience for killing a friend!". Also, the save file seems to have problems with it. When I close the game and restart it, my inventory is empty, and I respawn with 1 hit point - even if I committed suicide, so I have to ask the game explicitly to start a new character. I'm sure there is more, but that is what I found within 5 minutes of playing. Maybe I forgot to add a file or two to the Makefile? I have no idea. Anyways, any suggestions on what to do next are welcome.
|
|
|
Post by Variaz on Mar 17, 2007 17:43:19 GMT -5
Err... actually, the light problem is due to the fact that I didn't update the executable's source code, so the bug is still there... And for losing inventory "even if I commit suicide", well, you do lose your inventory if you commit suicide, it counts as a death! You lose all inventory if you die unless your items are eternal, so don't! It doesn't happen if you do not die, doesn't it?
|
|
|
Post by Chryana on Mar 17, 2007 18:10:36 GMT -5
Ok. So the absence of lights is normal. Good. As for the inventory problem, I see now... I did more tests, and indeed, it is kept if I save normally I was just surprised that when I die I do not go to the character creation screen... Which is what I am used to. Thank you for the information... I'll recompile as soon as the updated source is available .
|
|