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 [2024/05/13 15:11] abeverleyhow_to_rebuild_mariadb_against_readline_in_debian [2026/07/12 12:48] (current) abeverley
Line 4: Line 4:
  
 As I understand it, Debian is no longer able to distribute MariaDB built against readline as the former is GPL2 and the latter GPL3, and apparently the 2 are incompatible for distribution. As I understand it, Debian is no longer able to distribute MariaDB built against readline as the former is GPL2 and the latter GPL3, and apparently the 2 are incompatible for distribution.
- 
-The following instructions build a new Debian packages against readline: 
- 
-  apt install build-essential devscripts libreadline-dev 
-  apt build-dep mariadb-client-core-10.5 
-  apt build-dep libreadline-dev 
-  su <unpriv user> 
-  apt source mariadb-client-core-10.5 
-  cd mariadb-10.5-10.5.19/ 
  
 For Bookworm: For Bookworm:
Line 42: Line 33:
  
 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 and later, 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.1715613085.txt.gz · Last modified: by abeverley