KeyDB icon indicating copy to clipboard operation
KeyDB copied to clipboard

Provide packages for Ubuntu 22.04

Open ssesik opened this issue 3 years ago • 10 comments

Currently KeyDB doesn't provide packages for Ubuntu 22.04 (jammy) and it would be nice if packages for jammy can be provided.

ssesik avatar May 20 '22 17:05 ssesik

yes, would be great!

nhaberl avatar Jun 20 '22 08:06 nhaberl

Would be nice!

dup2 avatar Jul 18 '22 15:07 dup2

Anything?

HDVinnie avatar Aug 05 '22 02:08 HDVinnie

Adding to the request for Jammy support.

Serpent6877 avatar Sep 06 '22 14:09 Serpent6877

Would be nice to have it on 22.04!

syedrizwansrs avatar Nov 07 '22 13:11 syedrizwansrs

The support for a jammy package will be included in our next point release and onwards. We are targeting a point release prior to EOY

benschermel avatar Nov 07 '22 14:11 benschermel

Any progress on this? It is a real blocker for a lot of users..

dup2 avatar Nov 30 '22 12:11 dup2

For everyone who wants to build KeyDB self on Ubuntu 22 - use the following commands (as root):

apt update
apt install autogen autoconf libtool libssl-dev build-essential nasm autotools-dev libjemalloc-dev tcl tcl-dev uuid-dev libcurl4-openssl-dev git
git clone https://github.com/EQ-Alpha/KeyDB.git
cd KeyDB
make
make install

Find keydb-server and keydb-cli in KeyDB/src/ afterwards.

cklm avatar Dec 05 '22 10:12 cklm

I'm looking to deploy on Jammy/ubuntu 22.04. Please consider this

shleeable avatar Dec 11 '22 14:12 shleeable

For everyone who wants to build KeyDB self on Ubuntu 22 - use the following commands (as root):

apt update
apt install autogen autoconf libtool libssl-dev build-essential nasm autotools-dev libjemalloc-dev tcl tcl-dev uuid-dev libcurl4-openssl-dev git
git clone https://github.com/EQ-Alpha/KeyDB.git
cd KeyDB
make
make install

Find keydb-server and keydb-cli in KeyDB/src/ afterwards.

I got an error while trying to build on Ubuntu 22.04

    CC server.o
In file included from server.h:89,
                 from server.cpp:31:
server.cpp: In function ‘int clientsCronTrackExpansiveClients(client*, int)’:
zmalloc.h:58:25: error: ‘je_malloc_usable_size’ was not declared in this scope; did you mean ‘malloc_usable_size’?
   58 | #define zmalloc_size(p) je_malloc_usable_size(p)
      |                         ^~~~~~~~~~~~~~~~~~~~~
server.cpp:1911:34: note: in expansion of macro ‘zmalloc_size’
 1911 |                       (c->argv ? zmalloc_size(c->argv) : 0);
      |                                  ^~~~~~~~~~~~
server.cpp: In function ‘int clientsCronTrackClientsMemUsage(client*)’:
zmalloc.h:58:25: error: ‘je_malloc_usable_size’ was not declared in this scope; did you mean ‘malloc_usable_size’?
   58 | #define zmalloc_size(p) je_malloc_usable_size(p)
      |                         ^~~~~~~~~~~~~~~~~~~~~
server.cpp:1931:12: note: in expansion of macro ‘zmalloc_size’
 1931 |     mem += zmalloc_size(c);
      |            ^~~~~~~~~~~~
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-atomic-alignment’ may have been intended to silence earlier diagnostics
make[1]: *** [Makefile:482: server.o] Error 1
make[1]: Leaving directory '/home/ubuntu/KeyDB/src'
make: *** [Makefile:6: all] Error 2

Please help.

eskies avatar Jan 01 '23 08:01 eskies

Thanks everyone for your patience on this ;)

Packages are now provided for Ubuntu 22.04 (Jammy) as of v6.3.2 and can be downloaded via our PPA following these instructions: https://docs.keydb.dev/docs/ppa-deb

@Eskies regarding your build inquiry, try using all deps as described in README: sudo apt install build-essential nasm autotools-dev autoconf libjemalloc-dev tcl tcl-dev uuid-dev libcurl4-openssl-dev libbz2-dev libzstd-dev liblz4-dev libsnappy-dev libssl-dev. If you still have an issue building please open a new issue. Closing this issue as Jammy packages are now provided.

benschermel avatar Jan 23 '23 15:01 benschermel

is possible to get version of 6.2 for ubuntu jammy? because of this bug https://github.com/Snapchat/KeyDB/issues/453 it is impossible to use on production version 6.3

          Sorry 6.3 isn't working well for you.  6.2.x will continue to be maintained until we meet expectations.

Originally posted by @JohnSully in https://github.com/Snapchat/KeyDB/issues/472#issuecomment-1194352668

padinko avatar Jan 23 '23 15:01 padinko