|
![]() |
#1 |
Knight
Join Date: Jan 2009
Posts: 657
![]() |
Wanted: Linux user to compile pre-alpha
I've had a report that the Angband variant I'm working on won't run under Linux. I don't have Linux (and I didn't think I'd changed anything that would have broken it ...). So basically I'd be grateful if somebody could download the SVN and check whether it runs or not.
If you could fix it as well I'd be REALLY grateful. ![]() See http://sourceforge.jp/projects/angband65/ It's code altered from the latest Vanilla Angband SVN so it should be quite familiar to Angband developers.
__________________
Currently turning (Angband) Japanese. |
![]() |
![]() |
![]() |
#2 |
Angband Devteam member
|
I don't understand - what's stopping you getting Linux? It's not like saying "I don't have MacOS" or "I don't have RISCOS". You can download Linux and test the compilation yourself in less than an hour.
?? |
![]() |
![]() |
![]() |
#3 | |
Knight
Join Date: Jan 2009
Posts: 657
![]() |
Quote:
For a second I know nothing worth mentioning about Linux so it would take me a lot longer than an hour to get up to speed. Seriously though, even if it's 'just' an hour it should be more like five minutes to someone who already knows Linux and has experience compiling Angband variants. [EDIT] Oh yes, I also have no writeable CDs, no CD writer attached to my computer and the last time I tried to install Linux on a computer it worked for about a fortnight then mysteriously stopped booting on the Linux partition which never worked again.
__________________
Currently turning (Angband) Japanese. |
|
![]() |
![]() |
![]() |
#4 |
Angband Devteam member
|
Ok, well I commiserate you on your experience so far. Linux is well worth persevering with - once you master it, you'll never look back. If you do give it another try, let me know.
In the meantime, I'll have a go at compiling your variant. Watch this space. |
![]() |
![]() |
![]() |
#5 | |
Knight
Join Date: Jan 2009
Posts: 657
![]() |
Quote:
src/autoconf.h.in was said to be missing, but that is supposed to be autogenerated (according to what I read in rephial).
__________________
Currently turning (Angband) Japanese. |
|
![]() |
![]() |
![]() |
#6 |
Knight
Join Date: Jan 2009
Posts: 657
![]() |
It looks like a number of files had gone missing (or not been copied in the first place) that relate to compiling in Linux. I have fixed everything I could find of them.
__________________
Currently turning (Angband) Japanese. |
![]() |
![]() |
![]() |
#7 |
Angband Devteam member
|
It compiles on i386 Linux, but only after I manually set autogen.sh to be executable! I did configure --with-noinstall, so it compiled with X11 and curses support but not SDL. It compiled with the following warnings:
object/obj-info.c: In function 'describe_slays': object/obj-info.c:402: warning: unused variable 'descs' object/randart.c: In function 'parse_frequencies': object/randart.c:1450: warning: suggest parentheses around && within || object/randart.c: In function 'add_ability': object/randart.c:3136: warning: suggest parentheses around && within || object/randart.c: At top level: object/randart.c:796: warning: 'do_p2val' defined but not used store.c: In function 'store_maint': store.c:1443: warning: 'return' with no value, in function returning non-void store.c:1449: warning: 'return' with no value, in function returning non-void store.c:1519: warning: control reaches end of non-void function I don't have time to play-test it, but now I've checked it out I'm happy to update and recompile periodically to confirm that it still builds under Linux. Btw, you really want to keep your trunk free of all the configure-related stuff. That's the whole point of using autogen.sh |
![]() |
![]() |
![]() |
#8 | |||||
Knight
Join Date: Jan 2009
Posts: 657
![]() |
Quote:
Quote:
Quote:
Quote:
Quote:
__________________
Currently turning (Angband) Japanese. |
|||||
![]() |
![]() |
![]() |
#9 |
Prophet
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,768
Donated: $40
![]() |
@paul-
looks like you need a new (or at least different) compiler. Some of those warnings are almost certain bugs, like the messed-up return values. And the missing parentheses are also risky practice. If you mean (A || (B && C)), it's wise to write it that way, because sometimes you might have really meant ((A || B) && C). logical precedence rules are sometimes nonintuitive. Install MINGW/gcc and run it occasionally for compiler warnings, even if you are using DevCC for editing. |
![]() |
![]() |
![]() |
#10 |
Knight
Join Date: Jan 2009
Posts: 657
![]() |
Probably. Getting used to a new compiler is a pain though. I've been through BCC32 and LCC32 before Dev-C++. I'm trying to get Open Watcom to work for me at the moment.
__________________
Currently turning (Angband) Japanese. |
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Announcing Angband/65 (pre-alpha) | PaulBlay | Development | 10 | April 1, 2009 21:36 |
How to compile Angband page | PaulBlay | Oook! | 2 | February 20, 2009 12:51 |
Getting Visual C++ 2008 Express Edition to compile Angband 3.0.9 | Orillian | Vanilla | 5 | February 10, 2008 09:23 |
Compile failure for 3.0.9 on Mac OS X 10.4.10 | TreeFrog | Vanilla | 4 | November 8, 2007 14:58 |
[Z] 2.7.5 Pre I | Irashtar | Variants | 4 | October 21, 2007 07:54 |