Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old May 8, 2013, 20:20   #1
bron
Swordsman
 
Join Date: May 2008
Location: Saratoga, California (in the midst of Silicon Valley)
Posts: 483
bron is on a distinguished road
Minor versioning issue with 3.5-dev

I recently posted a dump to the competition ladder, but the line at the top of the dump that should have said "[Angband 3.5-dev Character Dump]" instead said only "[Angband Character Dump]". This is only an issue because that meant that the competition ladder software had trouble digesting the dump. I am building from source on a gentoo linux box.

I looked into this, and the problem seems to be that src/Makefile includes
Code:
  CFLAGS += -DBUILD_ID=${VERSION}  ...
Which in turn forces buildid.c / buildid.h to use the VERSION from the command-line. However, VERSION doesn't seem to have a value.

I'm using just the simple commands recommended in the "compliing.txt" file, e.g.:
Code:
    ./autogen.sh
    ./configure --with-no-install --disable-x11 --prefix=`pwd`
    make
I was able to fix my problem by removing the -DBUILD_ID from CFLAGS, so the buildid.c/buildid.h will just use the defaults. I don't know the "right" way to deal with this (admittedly very minor) issue, or even if it is worth anybody's time to do anything about it.
bron is offline   Reply With Quote
Old May 9, 2013, 09:57   #2
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,836
Donated: $60
Nick will become famous soon enough
Yeah, that whole process is a bit intricate, and clearly incomplete. It should be fixed at some point.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Reply


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
[3.4-dev] Minor bugs with Win client PowerWyrm Development 0 April 18, 2012 14:17
[3.4-dev] Minor bug with summoning PowerWyrm Development 2 March 3, 2012 00:31
Minor issue saving '\' in keymap in nightlies Max Stats Development 4 June 7, 2011 10:21
Minor squelch issue (3.1.2 v2)? piwakawaka Vanilla 2 March 12, 2010 08:16
Z+ known issue Mangojuice Variants 0 November 19, 2008 22:26


All times are GMT +1. The time now is 13:53.


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