-
Notifications
You must be signed in to change notification settings - Fork 47
Unable to compile using USE_NVM=yes AEP_COW=yes #8
Comments
I met similar issue, when compiled with "make USE_NVM=yes" I got below errors. gcc: error: ../deps/pmdk/src/nondebug/libpmem.a: No such file or directory |
Yes these errors look same. Please post if you found a way to fix it. Thanks |
check with the clearlinux with qzheng527 machine, maybe caused by you didn't finish your compile normal first time(for example, ctrl+c break the compile) and then, the deps will not build again. Please "make distclean;make USE_NVM=yes AEP_COW=yes -j 55"; currently on the clearlinux OS, the compile passed. @adnavare , please use the command "make distclean" first and then compile again. |
gcc -c -o pmemobjfs.o -std=gnu99 -ggdb -Wall -Werror -Wmissing-prototypes -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -I../tree_map -I../map -DFUSE_USE_VERSION=28 -DUSE_CTREE -I../../../include -I. -I../../../examples pmemobjfs.c It is a error when compile the PMDK, it need to be fixed from PMDK. But so far, you can just |
Where should I look for this? I don't see this error on the console. Should I be checking any other log file? Or kubelet logs? I don't think so kubernetes node is yet aware of of Redis server running so I believe Kubelet won't tell me anything. |
I see this error at the very beginning after I run make command MAKE aofguard In that I see target pmdk failed. Is that the same error you were referring to? I have bold the error above. |
Also I see it is not using g++, will that be a problem? |
@adnavare, from your log, you need to install the pkg-config tool. See the PMDK github page, the pmdk depend on: Linux |
Yes you are right. It was failing because of missing pkg-config. I didn't check PMDK github page for the dependencies. It passed the previous pkg-config error and right now it is failing because of missing libnuma required for memkind. I will install that as well and other dependencies that are needed. I am not checking dependencies for individual packages and I think that's causing the compilation to fail due to missing libraries. |
The compilation worked. Thanks for all your inputs. The reason seems to be because of dependencies in pmdk and memkind repos not getting met. After installing those dependencies the compilation worked like charm. Also g++ needs to be installed. |
I am sorry to see that you guys already handled the same problem as I met. I fixed it from scratch, the good thing is I submit my solution in my repo. Please consider to merge my pull request to avoid same problem happens again. Appreciate it. |
@BrytonLee Could you please kindly submit a PR? |
Hi Folks,
I am trying to use pmem-redis with Kubernetes containers and upon running 'make USE_NVM=yes AEP_COW=yes' I see it failing because of dependencies not getting met. Here is the error
cc: error: ../deps/pmdk/src/nondebug/libpmem.a: No such file or directory cc: error: ../deps/memkind/jemalloc/obj/lib/libjemalloc.a: No such file or directory cc: error: ../deps/memkind/.libs/libmemkind.a: No such file or directory cc: error: ../deps/jemallocat/lib/libjemallocat.a: No such file or directory cc: error: ../deps/aofguard/lib/libaofguard.a: No such file or directory Makefile:244: recipe for target 'redis-server' failed make[1]: *** [redis-server] Error 1 make[1]: Leaving directory '/home/labuser/pmem-redis/src' Makefile:8: recipe for target 'all' failed make: *** [all] Error 2
I followed the steps in README:
OS: Ubuntu 18.04
There are two regions, each having 24 namespaces.
Please can you provide me what I am doing wrong? Thanks in advance
The text was updated successfully, but these errors were encountered: