Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Variants

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old August 20, 2007, 18:01   #1
TJA
Adept
 
TJA's Avatar
 
Join Date: Aug 2007
Posts: 117
TJA is on a distinguished road
Exclamation Review: Portralis

PART I.
Compilation

Code:
mkdir PortralisSrc
cd PortralisSrc
unzip ../PortralisSrc.zip
cd src
Please note, that PortralisSrc.zip does NOT contain a top-folder - it will extract right where you are (what is a Bad Thing)!

Then, edit two files: Makefile and config.h

Enable this instead of the default-line in Makefile:
CFLAGS = -Wall -O1 -pipe -g -D"USE_GCU"
LIBS = -lncurses

Note: -ltermcap simply does NOT work - although the library is installed!
Very strange ...

Uncomment line in config.h:
#define USE_NCURSES



Lots and lots of warnings - without any end in sight!
BUT: Compiles!


Final Error:

util.o(.text+0x161): In function `path_temp':
/home/archive/RogueLike/MAINTAINED/Portralis/PortralisSrc/src/util.c:284: warning: the use of `tmpnam' is dangerous, better use `mkstemp'


Output is called "testing" :-O

Code:
make install
cd ..
mv testing portralis
./portralis
Works, but needs knowledge of what to change and is a bit dangerous because of the missing top-folder.

First opinion: It asks too much questions that cannot be answered with <Return>

Last edited by TJA; August 20, 2007 at 19:17.
TJA is offline   Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 17:49.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.