Fail to install with libmsr component

Issue #67 resolved
sheldon created an issue

First I installed libmsr in /home/user/libmsr .

and configured in papi-5.7.0/src/components/libmsr with the command like

./configure --with-libmsr-incdir=/home/user/libmsr/include --with-libmsr-libdir=/home/user/libmsr/lib

But it reports that error msr/msr_rapl.h not found: use configure flags to set the path

I mkdir in/home/user/libmsr/msr and copy the header files from /home/user/libmsr/include to /home/user/libmsr/msr

then

./configure --with-libmsr-incdir=/home/user/libmsr --with-libmsr-libdir=/home/user/libmsr/lib

the error of mrs_rapl.h disappeared.

But it reports error: libmsr component: libmsr.so not found: use configure flags to set the path.

The libmsr.so is just in /home/user/libmsr/lib.