Opened 13 years ago

Closed 13 years ago

#235 closed bug (fixed (in master))

DEFAULT_PATH does not get expanded by ./configure

Reported by: pav@… Owned by: takkaria
Milestone: 3.0.9 Keywords: autoconf

Description (last modified by takkaria)

After ./configure script is run, src/autoconf.h contains

#define DEFAULT_PATH "${prefix}/share/angband/"

This gets ${prefix} literally compiled into the executable, it should be expanded to ${prefix} value! With this, the game fails to run (can't find file.txt, the first file accessed).

Change History (4)

comment:1 Changed 13 years ago by ajps

  • Keywords autoconf added

comment:2 Changed 13 years ago by takkaria

  • Owner set to takkaria
  • Status changed from new to assigned

comment:3 Changed 13 years ago by takkaria

Pav: It will be something along the lines

SHELL=/bin/sh CONFIG_SHELL=/bin/sh MAKE=gmake
lt_cv_sys_max_cmd_len=262144 ./configure --with-setgid=games --with-x
--prefix=/usr/local --mandir=/usr/local/man amd64-portbld-freebsd6.2

comment:4 Changed 13 years ago by takkaria

  • Description modified (diff)
  • Resolution set to fixed
  • Status changed from assigned to closed

see [372] merged in [5dfe994] (SVN r399)

Note: See TracTickets for help on using tickets.