Commit Graph

11 Commits (arm-master)

Author SHA1 Message Date
pedro 58abcb9df0 build: Makefile: mysql: at last build it with system zlib; do not waste time for mysql-test, support-files, sql-bench and man subdirs 2 years ago
pedro 71850b61e6 mysql: update to 5.5.62
- use cmake instead of autotools
- Innodb engine must be disabled
- based on @st-ty1 work - thanks!
4 years ago
pedro e2a7771bb3 mysql: build needed host files instead of copying them as a compressed package in the mysql source folder; update patches
- thanks @st-ty1
4 years ago
pedro f7ec7b8212 patches: mysql: fix typo 4 years ago
pedro 2bacc19694 build: mysql: add patch to help compile on Artix 4 years ago
pedro ff74832bcd patches: fix mysql re-check patch 7 years ago
Michal Obrembski c5b15558b4 Fix "cannot run test program while cross compiling"
This is a workaround for build break on first build in MySQL.
We already have a patches to fix this, but they doesn't work, because
MySQL is running autoconf again after mysql/stamp-h1.
So patches applied in mysql/stamp-h1 are gone, and build fails at configure
phase.
Unfortunately i have no idea how to fix it better. In best way, we should
get rid off all patches, and run autoreconf before configure in mysql/stamp-h1.
This would stop running recheck, but it fails during compilation bison stuff.
7 years ago
pedro 74cc9052ab patches: splitting mysql patches to prevent errors during broken compilation 8 years ago
pedro f38c1f8ec6 router/Makefile: changed the way how patches are apllied/reverted 8 years ago
pedro 04d0c1294b mysql: clean 5.1.37 source, instead patches and other changes
- the mysql directory now includes a pure mysql 5.1.37 source
- 2 patches for mysql and file .host.tgz added to patches/mysql
- script mycheck moved also from mysql directory to patches dir
- updated appropriate Mafefile's

----------------------------------------------------------------------------------------
Updated info about MySQL 5.1 compilation on Tomato routers by shibby and Hyzoom (BWQ518)
----------------------------------------------------------------------------------------

Info for devs: if you have a problem with compilation then you have to prepare own .host.tgz archive under mysql dorectory.

1) copy mysql directory to other location.
2) run ./configure
3) cp mysql/include/config.h mysql/include/my_config.h
4) compile parts of mysql on the host with the host gcc (non-cross-compile):
        make -C mysql/vio
        make -C mysql/mysys
        make -C mysql/strings
        make -C mysql/dbug
        make -C mysql/regex
        make -C mysql/sql gen_lex_hash
        make -C mysql/scripts comp_sql
        make -C mysql/extra comp_err

5) copy files:
        mysql/sql/gen_lex_hash
        mysql/scripts/comp_sql
        mysql/extra/comp_err

    to mysql/host directory

6) compress host directory as .host.tgz and copy it under tomato router/mysql/ (overwrite existing file)
7) now you should be able to compile mysql
8 years ago
pedro 9324bfea76 mysql: fix compilation on bison 3.x
- From now on it's possible to use Debian 9.1.0 with latest bison from repo
8 years ago