Empty --prefix produces compile error

Bug #549882 reported by Ronald Bradford on 2010-03-27
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Medium
Monty Taylor
7.0
Medium
Monty Taylor
Cherry
Medium
Monty Taylor
Pandora Build
Medium
Monty Taylor

Bug Description

When specifying an empty --prefix you get a make error.

....
  CXX drizzled/drizzled.o
drizzled/drizzled.cc: In function ‘void drizzled::drizzle_init_variables()’:
drizzled/drizzled.cc:1866: error: ‘PREFIX’ was not declared in this scope
drizzled/drizzled.cc: In function ‘const char* drizzled::get_relative_path(const char*)’:
drizzled/drizzled.cc:2044: error: ‘PREFIX’ was not declared in this scope
make[2]: *** [drizzled/drizzled.o] Error 1
make[2]: Leaving directory `/home/rbradfor/bzrwork/drizzle'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rbradfor/bzrwork/drizzle'
make: *** [all] Error 2

Reproduced by following steps where I mis-specified the --prefix env variable which was un-set.

export DEPLOYDIR=${HOME}/deploy
mkdir -p ${DEPLOYDIR}
./configure --prefix=${DEPLOY}
make

Probably this should be rejected at configure stage?

Related branches

Lee Bieber (kalebral) on 2010-04-21
Changed in drizzle:
assignee: nobody → Monty Taylor (mordred)
status: New → Confirmed
importance: Undecided → Medium
Monty Taylor (mordred) on 2010-09-19
Changed in pandora-build:
status: New → Fix Released
importance: Undecided → Medium
assignee: nobody → Monty Taylor (mordred)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers