summaryrefslogtreecommitdiff
path: root/Build-tools/Do-compile
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2003-06-30 15:00:28 +0200
committerunknown <lenz@mysql.com>2003-06-30 15:00:28 +0200
commit4f14446753765c2e95e508f2ed1a75f435d768b3 (patch)
tree04986599a49c8e505b6f080af4e6dc8af846340f /Build-tools/Do-compile
parent41b653796a2fd17cac8296f99b57d30ac19e12b6 (diff)
downloadmariadb-git-4f14446753765c2e95e508f2ed1a75f435d768b3.tar.gz
- make sure to compile with the correct --localstatedir and --libexedir
paths for the binary distributions (this will hopefully resolve the "file /usr/local/mysql/libexec/mysqld doesn't exist" error that many people are facing)
Diffstat (limited to 'Build-tools/Do-compile')
-rwxr-xr-xBuild-tools/Do-compile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Build-tools/Do-compile b/Build-tools/Do-compile
index b83eadcac63..45037c2f3f0 100755
--- a/Build-tools/Do-compile
+++ b/Build-tools/Do-compile
@@ -248,7 +248,8 @@ if ($opt_stage <= 1)
$opt_config_options.= $opt_with_other_libc;
}
- check_system("$opt_config_env ./configure --prefix=/usr/local/mysql --with-comment=\"Official MySQL$opt_version_suffix binary\" --with-extra-charsets=complex --with-server-suffix=\"$opt_version_suffix\" --enable-thread-safe-client --enable-local-infile $opt_config_options","Thank you for choosing MySQL");
+ $prefix="/usr/local/mysql";
+ check_system("$opt_config_env ./configure --prefix=$prefix --localstatedir=$prefix/data --libexecdir=$prefix/bin --with-comment=\"Official MySQL$opt_version_suffix binary\" --with-extra-charsets=complex --with-server-suffix=\"$opt_version_suffix\" --enable-thread-safe-client --enable-local-infile $opt_config_options","Thank you for choosing MySQL");
if (-d "$pwd/$host/include-mysql")
{
safe_system("cp -r $pwd/$host/include-mysql/* $pwd/$host/$ver/include");