Bug #13511 "make install" installs in "/"
Submitted: 27 Sep 2005 1:31 Modified: 28 Sep 2005 17:34
Reporter: Patrick Galbraith Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Installing Severity:S3 (Non-critical)
Version:5.0.x OS:Any (all)
Assigned to: Bugs System CPU Architecture:Any

[27 Sep 2005 1:31] Patrick Galbraith
Description:
When running "make install", the server ends up being installed in system root!

How to repeat:
use any of the build scripts in mysql-version.x/BUILD to build the server, make install.

Suggested fix:
BUILD/SETUP.sh:         1.46 1.47 patg 05/09/26 17:35:40 (modified, needs delta)

@@ -10,7 +10,7 @@
 just_print=
 just_configure=
 full_debug=
-if test -n $MYSQL_BUILD_PREFIX
+if test ! -z $MYSQL_BUILD_PREFIX
 then
   prefix_configs="--prefix=$MYSQL_BUILD_PREFIX"
 fi
[27 Sep 2005 1:52] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/internals/30357
[27 Sep 2005 17:41] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/internals/30400
[28 Sep 2005 15:05] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/internals/30448