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 [2026/07/12 12:48] – abeverleyhow_to_rebuild_mariadb_against_readline_in_debian [2026/10/17 08:43] (current) – abeverley
Line 7: Line 7:
 For Bookworm: For Bookworm:
  
 +  # Ensure that latest source packages are pulled:
 +  apt-get update
 +  # Install build dependencies
   apt install build-essential devscripts libreadline-dev   apt install build-essential devscripts libreadline-dev
   apt build-dep mariadb   apt build-dep mariadb
   apt build-dep readline   apt build-dep readline
   su <unpriv user>   su <unpriv user>
 +  # Get sources
   apt source mariadb   apt source mariadb
-  cd mariadb-10.11.6/+  cd mariadb-10.11.19/
      
 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.
  
-  mariadb-10.5 (1:10.5.19-0+deb11u2c) bullseye; urgency=medium+  mariadb (1:10.11.19-0+deb12u1a) bookworm-security; urgency=medium
      
     * Build against readline instead of libedit     * Build against readline instead of libedit
      
-   -- Andy Beverley <andy@andybev.com>  Tue, 22 Aug 2023 14:08:00 +0100+   -- Andy Beverley <andy@andybev.com>  Sat, 17 Oct 2026 09:44:00 +0100
  
 Edit ''debian/control'' and change: Edit ''debian/control'' and change:
Line 34: Line 38:
 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.+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.1783860496.txt.gz · Last modified: by abeverley