Closed aoramos closed 12 months ago
Hello, I'm having the same problem! Have you found any workarounds or fixes?
Hi, I have done the following (see Error during installation of xml2 #418 ): "Until the fix gets merged, you can install with pak::pak("KNnut/xml2@fix-build") in R cmdline" and it worked!
Fixed by #417
Brief description of the problem Installing xml2 package results in following error:
~~~~In file included from xml2_init.cpp:8: /usr/include/libxml2/libxml/xmlerror.h:898:57: note: initializing argument 2 of ‘void xmlSetStructuredErrorFunc(void*, xmlStructuredErrorFunc)’ 898 | xmlStructuredErrorFunc handler); |
~~~~~^~~~~ make: *** [/usr/lib64/R/etc/Makeconf:200: xml2_init.o] Error 1 ERROR: compilation failed for package ‘xml2’The downloaded source packages are in ‘/tmp/Rtmpj1A2Pb/downloaded_packages’
libxml2 version 2.12.0-1 OS: Arch Linux x86_64 Kernel: 6.1.63-1-lts R version: 4.3.2 Rstudio 2023.09.1 Build 494