Installation of Redis error problem under Linux.

Source: Internet
Author: User

1. Use TAR-XZVF redis-2.4.5.tar.gz to unzip the installation package

2. Use the make command to compile Redis if an error occurs to see if GCC gcc-c++ is missing

Zmalloc.h:50:31:error:jemalloc/jemalloc.h:no such file or directory

Zmalloc.h:55:2: Error: #error "Newer version of Jemalloc required"

MAKE[1]: * * * [ADLIST.O] Error 1

MAKE[1]: Leaving directory '/DATA0/SRC/REDIS-2.6.2/SRC '

Make: * * * [ALL] Error 2

The solution is:

Make MALLOC=LIBC

3.make Install

The above is the Linux installation of Redis procedures and the introduction of common problems, if you are in the process of installing a lack of GCC gcc-c++ errors, you can try the method described above to resolve.

Installation of Redis error problem under Linux.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.