Problems to install BfW 1.11.19 and 1.12.0 under Windows 7

Having trouble with the game? Report issues and get help here. Read this first!

Moderator: Forum Moderators

Forum rules
Before reporting issues in this section, you must read the following topic:
User avatar
iceiceice
Posts: 1056
Joined: August 23rd, 2013, 2:10 am

Re: Problems to install BfW 1.11.19 and 1.12.0 under Windows

Post by iceiceice »

Some things you could try:

1. chmod +x .../autorevision
2. Use scons instead (no particular reason it should fix but in my experience something like 80% of problems can be solved by not using cmake).
Anonymissimus
Inactive Developer
Posts: 2461
Joined: August 15th, 2008, 8:46 pm
Location: Germany

Re: Problems to install BfW 1.11.19 and 1.12.0 under Windows

Post by Anonymissimus »

This is a very wild guess...I had something like that when not auto-mounting the (NTFS) partition I have my wesnoth source on. I added it to some file (probably in /etc/, I'm sure someone knows) so that the system mounts that partition automatically when booting, that fixed it.
What is your /mnt/data/data/ ?
projects (BfW 1.12):
A Simple Campaign: campaign draft for wml startersPlan Your Advancements: mp mod
The Earth's Gut: sp campaignSettlers of Wesnoth: mp scenarioWesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
User avatar
Iris
Site Administrator
Posts: 6798
Joined: November 14th, 2006, 5:54 pm
Location: Chile
Contact:

Re: Problems to install BfW 1.11.19 and 1.12.0 under Windows

Post by Iris »

@energyman76c

It might be that your clone is on a mount point that ignores the executable bit on files, resulting in utils/autorevision not being executable. Moving it to a mount point that does allow executable files (or changing your mount options to include the exec flag instead of noexec) should help.
Author of the unofficial UtBS sequels Invasion from the Unknown and After the Storm.
energyman76c
Posts: 199
Joined: May 26th, 2004, 9:38 pm

Re: Problems to install BfW 1.11.19 and 1.12.0 under Windows

Post by energyman76c »

shadowm wrote:@energyman76c

It might be that your clone is on a mount point that ignores the executable bit on files, resulting in utils/autorevision not being executable. Moving it to a mount point that does allow executable files (or changing your mount options to include the exec flag instead of noexec) should help.

way ahead of you ;) Just to make sure everything is nice, crisp and clean I am currently doing a new git clone. Albeit very slowly.
energyman76c
Posts: 199
Joined: May 26th, 2004, 9:38 pm

Re: Problems to install BfW 1.11.19 and 1.12.0 under Windows

Post by energyman76c »

btw, before I started the new clone, I tried scons... not.. good:

Checking for C library vorbisfile... yes
sh: build/sconf_temp/conftest_28: Keine Berechtigung
Checking for Ogg Vorbis support in SDL... no
sh: build/sconf_temp/conftest_29: Keine Berechtigung
Checking for PNG support in SDL... no
WARN: Client prerequisites are not met. wesnoth, cutter and exploder cannot be built
WARN: Unit tests are disabled because their prerequisites are not met
If any config checks fail, look in build/config.log for details
If a check fails spuriously due to caching, use --config=force to force its rerun
---[applying configuration]---
/bin/sh: utils/autorevision: Permission denied
scons: done reading SConscript files.
scons: Building targets ...
error_action(["wesnoth"], [])
scons: *** [wesnoth] Target disabled because its prerequisites are not met
scons: building terminated because of errors.

oh and autorevision:
ls -lh utils
insgesamt 319K
drwxr-xr-x 2 energyman users 8 10. Dez 18:49 ai_test
-rwxr-xr-x 1 energyman users 17K 10. Dez 18:49 autorevision

and the filesystem itself looks good too:

zfstank atime off local
zfstank devices on default
zfstank exec on default
zfstank setuid on default
zfstank readonly off default
User avatar
iceiceice
Posts: 1056
Joined: August 23rd, 2013, 2:10 am

Re: Problems to install BfW 1.11.19 and 1.12.0 under Windows

Post by iceiceice »

Thoughts:
  • Try just cloning in your main home directory and building there and not using this mount point, so we can be sure that that is the issue?
  • If scons checks fail but cmake doesn't regarding SDL... that is quite strange. It might be that cmake just doesn't test dependencies as rigorously but even in that case those configuration tests should pass or I think you will have problems with cmake also.
    • You could run `scons --config=force` and then post the contents of build/config.log,
    • you could also post the results of g++ -print-search-dirs when it is run in your mount point.
    You might want to reinstall SDL image, SDL mixer, to be sure that you are indeed compiling with png and vorbis support.
energyman76c
Posts: 199
Joined: May 26th, 2004, 9:38 pm

Re: Problems to install BfW 1.11.19 and 1.12.0 under Windows

Post by energyman76c »

iceiceice wrote:Thoughts:
  • Try just cloning in your main home directory and building there and not using this mount point, so we can be sure that that is the issue?
  • If scons checks fail but cmake doesn't regarding SDL... that is quite strange. It might be that cmake just doesn't test dependencies as rigorously but even in that case those configuration tests should pass or I think you will have problems with cmake also.
    • You could run `scons --config=force` and then post the contents of build/config.log,
    • you could also post the results of g++ -print-search-dirs when it is run in your mount point.
    You might want to reinstall SDL image, SDL mixer, to be sure that you are indeed compiling with png and vorbis support.
1.12.0 build fine, without scons or cmake complaining. I think those checks failed for the same reason autorevision failed.

git is still running.. crawling...
gfgtdf
Developer
Posts: 1432
Joined: February 10th, 2013, 2:25 pm

Re: Problems to install BfW 1.11.19 and 1.12.0 under Windows

Post by gfgtdf »

I wanted to apply those commits to 1.12 anyway, if testing those on 1.12 is easier i can do so now.
Scenario with Robots SP scenario (1.11/1.12), allows you to build your units with components, PYR No preperation turn 1.12 mp-mod that allows you to select your units immideately after the game begins.
energyman76c
Posts: 199
Joined: May 26th, 2004, 9:38 pm

Re: Problems to install BfW 1.11.19 and 1.12.0 under Windows

Post by energyman76c »

it builds (used scons) and starts:

wesnoth
Battle for Wesnoth v1.13.0-dev (6dfb9d1-Clean)
Started on Wed Dec 10 23:49:36 2014


Data directory: /usr/local/share/wesnoth
User configuration directory: /home/energyman/.config/wesnoth
User data directory: /home/energyman/.local/share/wesnoth/1.13
Cache directory: /home/energyman/.cache/wesnoth
20141210 23:49:37 error general: Failed to update locale due to conversion error, locale is now: name='de_DE@euro' country='DE' language='de' encoding='us-ascii' variant='euro'
20141210 23:49:37 error general: Failed to update locale due to conversion error, locale is now: name='de_DE@euro' country='DE' language='de' encoding='us-ascii' variant='euro'
20141210 23:49:37 error general: Failed to update locale due to conversion error, locale is now: name='de_DE@euro' country='DE' language='de' encoding='us-ascii' variant='euro'
20141210 23:49:37 error general: Failed to update locale due to conversion error, locale is now: name='de_DE@euro' country='DE' language='de' encoding='us-ascii' variant='euro'
Checking video mode: 1280x960x32...
setting mode to 1280x960x32
20141210 23:49:37 error general: Failed to update locale due to conversion error, locale is now: name='de_DE@euro' country='DE' language='de' encoding='us-ascii' variant='euro'
20141210 23:49:37 error general: Failed to update locale due to conversion error, locale is now: name='de_DE@euro' country='DE' language='de' encoding='us-ascii' variant='euro'
20141210 23:49:37 error general: Failed to update locale due to conversion error, locale is now: name='de_DE@euro' country='DE' language='de' encoding='us-ascii' variant='euro'
20141210 23:49:37 error general: Failed to update locale due to conversion error, locale is now: name='de_DE@euro' country='DE' language='de' encoding='us-ascii' variant='euro'
20141210 23:49:37 error general: Failed to update locale due to conversion error, locale is now: name='de_DE@euro' country='DE' language='de' encoding='us-ascii' variant='euro'
20141210 23:49:37 error general: Failed to update locale due to conversion error, locale is now: name='de_DE@euro' country='DE' language='de' encoding='us-ascii' variant='euro'
20141210 23:49:37 error general: Failed to update locale due to conversion error, locale is now: name='de_DE@euro' country='DE' language='de' encoding='us-ascii' variant='euro'
20141210 23:49:37 error general: Failed to update locale due to conversion error, locale is now: name='de_DE@euro' country='DE' language='de' encoding='us-ascii' variant='euro'
20141210 23:49:37 error general: Failed to update locale due to conversion error, locale is now: name='de_DE@euro' country='DE' language='de' encoding='us-ascii' variant='euro'
20141210 23:49:37 error general: Failed to update locale due to conversion error, locale is now: name='de_DE@euro' country='DE' language='de' encoding='us-ascii' variant='euro'
20141210 23:49:37 error general: Failed to update locale due to conversion error, locale is now: name='de_DE@euro' country='DE' language='de' encoding='us-ascii' variant='euro'
20141210 23:49:37 error general: Failed to update locale due to conversion error, locale is now: name='de_DE@euro' country='DE' language='de' encoding='us-ascii' variant='euro'
20141210 23:49:37 error general: Failed to update locale due to conversion error, locale is now: name='de_DE@euro' country='DE' language='de' encoding='us-ascii' variant='euro'
20141210 23:49:37 error general: Failed to update locale due to conversion error, locale is now: name='de_DE@euro' country='DE' language='de' encoding='us-ascii' variant='euro'
20141210 23:49:37 error general: Failed to update locale due to conversion error, locale is now: name='de_DE@euro' country='DE' language='de' encoding='us-ascii' variant='euro'
20141210 23:49:37 error general: Failed to update locale due to conversion error, locale is now: name='de_DE@euro' country='DE' language='de' encoding='us-ascii' variant='euro'
20141210 23:49:37 error general: Failed to update locale due to conversion error, locale is now: name='de_DE@euro' country='DE' language='de' encoding='us-ascii' variant='euro'
20141210 23:49:37 error general: Failed to update locale due to conversion error, locale is now: name='de_DE@euro' country='DE' language='de' encoding='us-ascii' variant='euro'
20141210 23:49:37 error general: Failed to update locale due to conversion error, locale is now: name='de_DE@euro' country='DE' language='de' encoding='us-ascii' variant='euro'
20141210 23:49:37 error general: Failed to update locale due to conversion error, locale is now: name='de_DE@euro' country='DE' language='de' encoding='us-ascii' variant='euro'
20141210 23:49:37 error general: Failed to update locale due to conversion error, locale is now: name='de_DE@euro' country='DE' language='de' encoding='us-ascii' variant='euro'
20141210 23:49:37 error general: Failed to update locale due to conversion error, locale is now: name='de_DE@euro' country='DE' language='de' encoding='us-ascii' variant='euro'
20141210 23:49:37 error general: Failed to update locale due to conversion error, locale is now: name='de_DE@euro' country='DE' language='de' encoding='us-ascii' variant='euro'
20141210 23:49:37 error general: Failed to update locale due to conversion error, locale is now: name='de_DE@euro' country='DE' language='de' encoding='us-ascii' variant='euro'
gfgtdf
Developer
Posts: 1432
Joined: February 10th, 2013, 2:25 pm

Re: Problems to install BfW 1.11.19 and 1.12.0 under Windows

Post by gfgtdf »

ok the problem seems to be that wesnoth for some reason tries to read the translation files with
encoding='us-ascii'
coudl you please also show a logfile with --log-debug=all (or --log-debug=general) and post everything up to the first "error general: Failed to update locale due to conversion error" ?

as a temporary workaround you coudl select teh language explicitly to german in teh language pererences (instead of system default language)
Scenario with Robots SP scenario (1.11/1.12), allows you to build your units with components, PYR No preperation turn 1.12 mp-mod that allows you to select your units immideately after the game begins.
energyman76c
Posts: 199
Joined: May 26th, 2004, 9:38 pm

Re: Problems to install BfW 1.11.19 and 1.12.0 under Windows

Post by energyman76c »

language is set to German in prefs.

Battle for Wesnoth v1.13.0-dev (6dfb9d1-Clean)
Started on Thu Dec 11 20:08:40 2014

20141211 20:08:40 info font: Initialized true type fonts
20141211 20:08:40 info font: Compiled with Cairo version: 1.12.16
Running with Cairo version: 1.12.16
Compiled with Pango version: 1.36.3
Running with Pango version: 1.36.3

20141211 20:08:40 debug filesystem: creating recursive directory: /home/energyman/.config/wesnoth
20141211 20:08:40 info filesystem: Streaming /home/energyman/.config/wesnoth/preferences for reading.

20141211 20:08:40 debug filesystem: creating recursive directory: /home/energyman/.cache/wesnoth
20141211 20:08:40 debug filesystem: creating recursive directory: /home/energyman/.local/share/wesnoth/1.13
20141211 20:08:40 debug filesystem: directory /home/energyman/.local/share/wesnoth/1.13/editor exists, not creating
20141211 20:08:40 debug filesystem: directory /home/energyman/.local/share/wesnoth/1.13/editor/maps exists, not creating
20141211 20:08:40 debug filesystem: directory /home/energyman/.local/share/wesnoth/1.13/editor/scenarios exists, not creating
20141211 20:08:40 debug filesystem: directory /home/energyman/.local/share/wesnoth/1.13/data exists, not creating
20141211 20:08:40 debug filesystem: directory /home/energyman/.local/share/wesnoth/1.13/data/add-ons exists, not creating
20141211 20:08:40 debug filesystem: directory /home/energyman/.local/share/wesnoth/1.13/saves exists, not creating
20141211 20:08:40 debug filesystem: directory /home/energyman/.local/share/wesnoth/1.13/persist exists, not creating
Data directory: /usr/local/share/wesnoth
User configuration directory: /home/energyman/.config/wesnoth
User data directory: /home/energyman/.local/share/wesnoth/1.13
Cache directory: /home/energyman/.cache/wesnoth
20141211 20:08:40 info audio: Initializing audio...
20141211 20:08:40 info audio: Audio initialized.
20141211 20:08:40 debug audio: Channel layout: 32 channels (12 reserved)
0 - bell
1 - timer
2..9 - sound sources
10..11 - UI
12..31 - sound effects
20141211 20:08:40 debug filesystem: Looking for 'lua/ilua.lua'.
20141211 20:08:40 debug filesystem: found: '/usr/local/share/wesnoth/data/lua/ilua.lua'
20141211 20:08:40 info filesystem: Streaming /usr/local/share/wesnoth/data/lua/ilua.lua for reading.
20141211 20:08:40 info scripting/lua: starting to read from /usr/local/share/wesnoth/data/lua/ilua.lua
20141211 20:08:40 info general: adding textdomain 'wesnoth' in directory '/usr/local/share/wesnoth/translations'
20141211 20:08:40 info general: Found boost locale backend: 'icu'
20141211 20:08:40 info general: Found boost locale backend: 'posix'
20141211 20:08:40 info general: Found boost locale backend: 'std'
20141211 20:08:40 info general: attemptng to generate locale by name ''
20141211 20:08:41 info general: updated locale to '' locale is now '*' ( name='de_DE@euro' country='DE' language='de' encoding='us-ascii' variant='euro')
20141211 20:08:41 info general: attemptng to generate locale by name ''
20141211 20:08:41 error general: Failed to update locale due to conversion error, locale is now: name='de_DE@euro' country='DE' language='de' encoding='us-ascii' variant='euro'
20141211 20:08:41 info general: adding textdomain 'wesnoth-lib' in directory '/usr/local/share/wesnoth/translations'
gfgtdf
Developer
Posts: 1432
Joined: February 10th, 2013, 2:25 pm

Re: Problems to install BfW 1.11.19 and 1.12.0 under Windows

Post by gfgtdf »

energyman76c wrote:language is set to German in prefs.
Then you get translated messages?
energyman76c wrote: Battle for Wesnoth v1.13.0-dev (6dfb9d1-Clean)
Started on Thu Dec 11 20:08:40 2014

20141211 20:08:40 info font: Initialized true type fonts
20141211 20:08:40 info font: Compiled with Cairo version: 1.12.16
...
ok ty.
Scenario with Robots SP scenario (1.11/1.12), allows you to build your units with components, PYR No preperation turn 1.12 mp-mod that allows you to select your units immideately after the game begins.
energyman76c
Posts: 199
Joined: May 26th, 2004, 9:38 pm

Re: Problems to install BfW 1.11.19 and 1.12.0 under Windows

Post by energyman76c »

well, at least the menu screen and the hints are in German, haven't tried to play.
Post Reply