I am having trouble installing lpsymphony 1.7.1 on Ubuntu 14.04 with R 3.4.3. I've tried several things, but always end up with the following error. The CoinPragma.hpp file is definitely in the tar.gz, but the following compile statement is not finding it.
Any suggestions would be welcome.
/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I`echo .` -I/tmp/RtmpieV581/Rbuilda0d5d37ceda/lpsymphony/src/SYMPHONY/include/coin -w -g -O2 -DOSI_BUILD -c -o OsiAuxInfo.lo OsiAuxInfo.cpp g++ -DHAVE_CONFIG_H -I. -I. -I/tmp/RtmpieV581/Rbuilda0d5d37ceda/lpsymphony/src/SYMPHONY/include/coin -w -g -O2 -DOSI_BUILD -c OsiAuxInfo.cpp -fPIC -DPIC -o OsiAuxInfo.o OsiAuxInfo.cpp:10:26: fatal error: CoinPragma.hpp: No such file or directory #include "CoinPragma.hpp" ^
I have more information about this problem that may help identify a solution. After repeatedly attempting to install lpsymphony and watching the install log, I have noticed that a different /tmp/Rtmp... path is used for every installation attempt. But, the line above during installation ALWAYS uses /tmp/RtmpieV581. I also watched the content of /tmp during the install and noticed that all necessary include files are created under the dynamically created /tmp/Rtmp... path, and /tmp/RtmpieV581 NEVER exists.
What could explain this behavior?
Note that I am running R in a Docker container on AWS. Could this have an impact?