Opened 13 years ago

Closed 13 years ago

#335 closed bug (fixed (in master))

SDL port can't find font files when installed globally

Reported by: ekolis Owned by:
Milestone: 3.1.0 Keywords: waiting


When I install recent svn builds globally (using --with-setgid=games) and try to run the SDL port, I get this error:

angband: Cannot find required file:

The file is definitely there, and I do have read permissions to it, so I don't really know what's going on... I am running Xubuntu, if that makes any difference - I recall somebody mentioning having some sort of trouble with the installers on Ubuntu a while back but I thought that got fixed.

BTW, this error does not occur with the X11 port, even though IIRC it uses the same font files...

Change History (6)

comment:1 Changed 13 years ago by takkaria

The X11 port doesn't use the font files at all. :) This is an odd bug, though -- I'm not sure whether anything with SDL should be installed setgid, though. I'll have to look into that.

comment:2 Changed 13 years ago by takkaria

I can't see anything in the code that would make this happen. Are you still having this issue?

comment:3 Changed 13 years ago by takkaria

  • Keywords waiting added

comment:4 Changed 13 years ago by takkaria

  • Milestone changed from 3.2.0 to 3.1.0

comment:5 Changed 13 years ago by anonymous

In 3.0.9, it was searching for the font files by attempting to open them in write-only mode.

Of course, when installed globally angband doesn't have write access to the font files, so it fails.

The 'check for font files' code appears to have already been modified in svn, so this is probably already fixed as a result.

The same thing was happening with the graphics tiles - 3.0.9 checks for the presence of the tilesets by attempting to open the files in write-only mode, and fails.

comment:6 Changed 13 years ago by takkaria

  • Resolution set to fixed
  • Status changed from new to closed

Thanks for that. Closing.

Note: See TracTickets for help on using tickets.