[MDEV-20328] Config files do not honour CMAKE_INSTALL_PREFIX Created: 2019-08-12 Updated: 2019-08-12 Resolved: 2019-08-12 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Compiling |
| Affects Version/s: | 10.4.7 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Andrew Hutchings (Inactive) | Assignee: | Sergei Golubchik |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Description |
|
INSTALL_SYSCONFDIR appears not to use CMAKE_INSTALL_PREFIX, instead trying to install in /etc. I recommend also creating a "make distcheck" so things like this can be found easily. |
| Comments |
| Comment by Sergei Golubchik [ 2019-08-12 ] |
|
This is intentional. ${INSTALL_SYSCONFDIF} is used for installing my.cnf. And my.cnf location is not relocatable, mysqld will only look in /etc/my.cnf not in some other /path/prefix/etc/my.cnf. This is why ${INSTALL_SYSCONFDIF} is only used for RPM/DEB packages, as they're typically installed system-wide using well known absolute paths. Binary tarballs do not use ${INSTALL_SYSCONFDIF} as binary tarballs can be unpacked anywhere. |