1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00
Files
mariadb/plugin
Sergei Golubchik 7b527e6334 cmake: fix krb5 detection on SUSE
`zypper install krb5-devel` installs executables outside of $PATH.
It also installs /etc/profile.d/krb5.sh that is sourced by a new
shell to add the new location to the $PATH. But this doesn't affect
the current shell.

Now decent Linux distros remind the user to run `. /etc/profile`
to reload paths in such a case. SUSE doesn't and for a good reason -
it doesn't work there. Because SUSE sets PROFILEREAD=true in the
environment and /etc/profile does not do anything.

By this point, one should not really expect `unset PROFILEREAD` to help,
and it does not - PROFILEREAD is readonly, and cannot be unset.

Apparently SUSE really *really* wants you to re-login between installing
MariaDB build dependencies and actually running the rpmbuild.

Which we cannot do it buildbot. And it would look very user-un-friendly
in the Build Instructions section of the manual.

So, we work around it - by adding SUSE krb5 path to the search list.

THIS IS SUSEEEEEE!!!
2019-04-02 18:22:37 +02:00
..
2013-06-06 17:51:28 +02:00
2017-03-10 18:21:29 +01:00
2015-12-21 21:24:22 +01:00
2017-05-23 08:59:03 +03:00
2013-07-17 21:24:29 +02:00
2017-09-06 15:32:56 +03:00
2017-08-08 10:18:43 +02:00
2019-03-21 21:06:01 +02:00
2017-03-10 18:21:29 +01:00
2016-09-05 17:11:14 +02:00
2017-03-07 13:38:06 +04:00
2019-01-31 19:28:38 +01:00