Hi @Sev, thanks for posting your question here. The answers will help others who may run into the same problem.
First of all, it looks like you don’t have g++ installed, which is a C++ compiler. You need to install a C++ 11 compatible compiler on your system. I recommend GCC 4.8 or higher.
Also for error num 2. It looks like HAVE_STRERROR is not getting defined
so that in pcretest.c a strerror function is getting defined, Thus causing duplicate declaration error. Is there something I need to set to have this correctly defined.
The make and gmake are one and the same on our system
acnvm010 274:ls /bin/make
-rwxr-xr-x. 1 root root 182736 Jan 26 2014 /bin/make
acnvm010 275:ls /bin/gmake
lrwxrwxrwx. 1 root root 4 Mar 24 2016 /bin/gmake -> make
So make is used to build
and from output I do see cmake is getting used for configuration
I don’t know, I thought that cmake was running that check. Honestly I’m not all that familiar with C++ build systems.
Here’s another idea… the error is caused by compilation of Capnproto, which you might try installing yourself manually. I’ve done this before on OS X and it worked for me. See instructions at https://capnproto.org/
Yes cmake does.
Ok. I can try that.
But Let me ask you about error #2 also
as it may relate
Any idea why HAVE_STRERROR is not getting defined.
If I look at code it indicates this should only happen of some old Sun systems.
There arent any env variables/flags I need to set are there ?
So I downloaded built and installed capnproto ok
How do I now prevent the nupic from doing the same ?
It still seems to go do all the same things as before
I’m sorry @sev, I don’t know the answer to your question. I don’t have time to spin up a VM with Red Hat right now, and I’ve run out of ideas. Give it a few days and maybe someone else will help you out.
Hi I was able to fix our problem. In case it helps others this is a summary.
The compiler test failed, when looking further it indicated it could not find libstdc++
even though this is present on our system. Looking further the link specification
was calling out a static version of this library i.e.: -static-libstdc++
I am not sure why in this case they would call out for a static version, anyhow this is not part of the standard install. Once this was installed I was able to compile.