User Tools

Site Tools


how_to_rebuild_mariadb_against_readline_in_debian

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
how_to_rebuild_mariadb_against_readline_in_debian [2023/11/18 09:27] abeverleyhow_to_rebuild_mariadb_against_readline_in_debian [2024/05/20 21:33] (current) abeverley
Line 13: Line 13:
   apt source mariadb-client-core-10.5   apt source mariadb-client-core-10.5
   cd mariadb-10.5-10.5.19/   cd mariadb-10.5-10.5.19/
 +
 +For Bookworm:
 +
 +  apt install build-essential devscripts libreadline-dev
 +  apt build-dep mariadb
 +  apt build-dep readline
 +  su <unpriv user>
 +  apt source mariadb
 +  cd mariadb-10.11.6/
      
 Edit ''debian/changelog'' and add new line at top. Version number should be incremented by adding a letter on the end. E.g. Edit ''debian/changelog'' and add new line at top. Version number should be incremented by adding a letter on the end. E.g.
Line 33: Line 42:
  
 Edit ''debian/rules'' and add ''-DNOT_FOR_DISTRIBUTION=1'' below ''-DWITH_INNODB_SNAPPY=ON''. Then run: Edit ''debian/rules'' and add ''-DNOT_FOR_DISTRIBUTION=1'' below ''-DWITH_INNODB_SNAPPY=ON''. Then run:
 +
 +For Bookworm edit ''cmake/aws_sdk.cmake'' and change ''NOT_FOR_DISTRIBUTION'' to ''NOT_FOR_DISTRIBUTION1'' (this is to stop the AWS SDK from being included which causes the build to fail.
  
   debuild -uc -us -b   debuild -uc -us -b
  
how_to_rebuild_mariadb_against_readline_in_debian.1700299624.txt.gz · Last modified: 2023/11/18 09:27 by abeverley