-
Notifications
You must be signed in to change notification settings - Fork 83
Can't build xml2 with non-system-wide libxml2? #163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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. |
(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. |
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: