maria-discuss team mailing list archive
Mailing list archive
Re: how to build MariaDB from source
On Jul 03, Reindl Harald wrote:
> Am 03.07.2017 um 11:45 schrieb Sergei Golubchik:
> > Hi, Reindl!
> > On Jul 02, Reindl Harald wrote:
> >> i get tired - "-DPLUGIN_INNODB=YES" leads to failures at configure time
> >> - each time the same dance when the version changes
> > Sorry for this. I know, this shouldn't happen. On the other hand, you
> > use a rather detailed non-standard build configuration, there's a good
> > chance that you're the only man on the Earth who uses exactly this
> > combination of flags. So, sometimes you his something that nobody else
> > sees.
> MariaDB needs a minimal build target where just MyISAM, CSV (as it is
> used internally) and Aria are built and anything above can be added with
> configure options, in that case the buildbots could test it automated
Good idea. https://jira.mariadb.org/browse/MDEV-13234
> >> [ 53%] Linking CXX static library libmyisammrg.a
> >> *why* at all when i say "-DPLUGIN_MYISAMMRG=NO" but remove it does still
> >> make no difference
> > Because myisammrg plugin is declared MANDATORY in its CMakeLists.txt,
> > mandatory plugins cannot be disabled.
> since WHEN is that the case given that i have 10.1 procution machines
> where it is not builtin
It was always the case. Since we've first introduced the concept of
plugins in MySQL.
> >> cmake . \
> >> -DFEATURE_SET="large" \
> > ...
> >> -DCOMPILATION_COMMENT="thelounge"
> >> [ 52%] Built target myisam
> >> make: Leaving directory '/home/builduser/rpmbuild/BUILD/mariadb-10.2.6'
> >> Makefile:162: recipe for target 'all' failed
> >> make: *** [all] Error 2
> >> Fehler: Fehler-Status beim Beenden von /var/tmp/rpm-tmp.Qwgvnq (%build)
> > Interesting, so make isn't localized, but rpmbuild is? :)
> likely a implementation detail of rpmbuild to not trigger random
> buildbugs because of a never by upstream used locale at build time
Ah, right. Makes sense.
Chief Architect MariaDB