Can't build xml2 with non-system-wide libxml2? #163
Closed
Comments
Also can you say what version of libxml2 is on your system? We should be able to add support for earlier versions as well. |
jimhester
added a commit
that referenced
this issue
Jan 11, 2017
(Sorry for copying my comment I added to that commit but we have rather strict policies and can't use packages directly from github for work projects)... |
I can submit a point release soon, but I would like to verify this issue is fixed before doing so. @alexvorobiev Can you verify the current master fixes the installation issue? |
@jimhester Yes, I was able to install from master with no issues. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Building this on a system where I don't have root access (so I have libxml and other libraries in a custom path, not
/usr
). I get the following error:which I think might be because it's compiling with the system libxml, which might be too old?
g++ -I/home/jronen/R-3.3.1/lib64/R/include -DNDEBUG -I../inst/include -I/usr/include/libxml2 -I/usr/local/include -I"/home/jronen/R-3.3.1/lib64/R/library/Rcpp/include" -I"/home/jronen/R-3.3.1/lib64/R/library/BH/include" -fpic -g -O2 -c xml2_output.cpp -o xml2_output.o
Do you know how I can pass other flags to the compiler when installing this to tell it where to find the correct libxml, or if this is a different error?
Thx!!
The text was updated successfully, but these errors were encountered: