mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
- 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)
This commit is contained in:
parent
c781673bd7
commit
f2e0db4811
1 changed files with 2 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue