Coder Social home page Coder Social logo

Compile Fail In Fedora 31 about pmem-redis HOT 3 CLOSED

pmem avatar pmem commented on August 31, 2024
Compile Fail In Fedora 31

from pmem-redis.

Comments (3)

jrgruher avatar jrgruher commented on August 31, 2024

redis-pmem-build-fail-fedora31.txt

from pmem-redis.

jrgruher avatar jrgruher commented on August 31, 2024

By the way I believe I do have all necessary packages installed:

[root@jrgruher-nc1-f31 pmem-redis]# dnf install vim make gcc gcc-c++ git cmake kernel-devel kernel-headers tcl autoconf automake pkg-config pcre-devel zlib-devel libmemcached-devel libevent libevent-devel numactl numactl-devel libtool ndctl ndctl-libs ndctl-devel daxctl daxctl-libs daxctl-devel ipmctl libipmctl libipmctl-devel
Last metadata expiration check: 0:31:38 ago on Sat 18 Apr 2020 02:45:10 PM PDT.
Package vim-enhanced-2:8.2.525-1.fc31.x86_64 is already installed.
Package make-1:4.2.1-15.fc31.x86_64 is already installed.
Package gcc-9.3.1-2.fc31.x86_64 is already installed.
Package gcc-c++-9.3.1-2.fc31.x86_64 is already installed.
Package git-2.25.3-1.fc31.x86_64 is already installed.
Package cmake-3.17.1-1.fc31.x86_64 is already installed.
Package kernel-devel-5.3.11-100.fc29.x86_64 is already installed.
Package kernel-devel-5.4.15-200.fc31.x86_64 is already installed.
Package kernel-devel-5.5.17-200.fc31.x86_64 is already installed.
Package kernel-headers-5.5.17-200.fc31.x86_64 is already installed.
Package tcl-1:8.6.8-2.fc31.x86_64 is already installed.
Package autoconf-2.69-31.fc31.noarch is already installed.
Package automake-1.16.1-13.fc31.noarch is already installed.
Package pkgconf-pkg-config-1.6.3-2.fc31.x86_64 is already installed.
Package pcre-devel-8.44-1.fc31.x86_64 is already installed.
Package zlib-devel-1.2.11-20.fc31.x86_64 is already installed.
Package libmemcached-devel-1.0.18-16.fc31.x86_64 is already installed.
Package libevent-2.1.8-7.fc31.x86_64 is already installed.
Package libevent-devel-2.1.8-7.fc31.x86_64 is already installed.
Package numactl-2.0.12-3.fc31.x86_64 is already installed.
Package numactl-devel-2.0.12-3.fc31.x86_64 is already installed.
Package libtool-2.4.6-31.fc31.x86_64 is already installed.
Package ndctl-68-1.fc31.x86_64 is already installed.
Package ndctl-libs-68-1.fc31.x86_64 is already installed.
Package ndctl-devel-68-1.fc31.x86_64 is already installed.
Package daxctl-68-1.fc31.x86_64 is already installed.
Package daxctl-libs-68-1.fc31.x86_64 is already installed.
Package daxctl-devel-68-1.fc31.x86_64 is already installed.
Package ipmctl-01.00.00.3474-1.fc31.x86_64 is already installed.
Package libipmctl-01.00.00.3474-1.fc31.x86_64 is already installed.
Package libipmctl-devel-01.00.00.3474-1.fc31.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

from pmem-redis.

jrgruher avatar jrgruher commented on August 31, 2024

Trying

make USE_NVM=yes EXTRA_CFLAGS="-Wno-error"

Succeeds however!

make USE_NVM=yes AEP_COW=yes SUPPORT_PBA=yes USE_AOFGUARD=yes EXTRA_CFLAGS="-Wno-error"

Also succeeds!

Then ran:

make install USE_NVM=yes AEP_COW=yes SUPPORT_PBA=yes USE_AOFGUARD=yes EXTRA_CFLAGS="-Wno-error"
sed -i s/pointer-based-aof yes/#pointer-based-aof yes/g tests/assets/default.conf
make test USE_NVM=yes AEP_COW=yes SUPPORT_PBA=yes USE_AOFGUARD=yes EXTRA_CFLAGS="-Wno-error

Server starts manually as well:

[root@jrgruher-nc1-f31 pmem-redis]# redis-server --nvm-maxcapacity 1000 --nvm-dir /mnt/pmem0
380188:C 18 Apr 16:04:22.663 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
380188:C 18 Apr 16:04:22.663 # Redis version=4.0.0, bits=64, commit=cc54b551, modified=1, pid=380188, just started
380188:C 18 Apr 16:04:22.663 # Configuration loaded
380188:M 18 Apr 16:04:22.665 * Increased maximum number of open files to 10032 (it was originally set to 1024).
                _._
           _.-``__ ''-._
      _.-``    `.  `_.  ''-._           Redis 4.0.0 (cc54b551/1) 64 bit
  .-`` .-```.  ```\/    _.,_ ''-._
 (    '      ,       .-`  | `,    )     Running in standalone mode
 |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379
 |    `-._   `._    /     _.-'    |     PID: 380188
  `-._    `-._  `-./  _.-'    _.-'
 |`-._`-._    `-.__.-'    _.-'_.-'|
 |    `-._`-._        _.-'_.-'    |           http://redis.io
  `-._    `-._`-.__.-'_.-'    _.-'
 |`-._`-._    `-.__.-'    _.-'_.-'|
 |    `-._`-._        _.-'_.-'    |
  `-._    `-._`-.__.-'_.-'    _.-'
      `-._    `-.__.-'    _.-'
          `-._        _.-'
              `-.__.-'

380188:M 18 Apr 16:04:22.808 # Server initialized
380188:M 18 Apr 16:04:22.808 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
380188:M 18 Apr 16:04:22.808 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
380188:M 18 Apr 16:04:22.808 * DB loaded from disk: 0.000 seconds
380188:M 18 Apr 16:04:22.808 * Ready to accept connections

from pmem-redis.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.