-
-
Notifications
You must be signed in to change notification settings - Fork 206
Install of igraph 1.6.0 fails under R 4.2.1 #992
Copy link
Copy link
Closed
Description
What happens?
When try to compile/install igraph 1.6.0 under R 4.2.1, I receive a compile error
* installing *source* package 'igraph' ...
** package 'igraph' successfully unpacked and MD5 sums checked
** using staged installation
** libs
gcc -I"C:/PROGRA~1/R/R-42~1.1/include" -DNDEBUG -IC:/Program Files/rtools42/x86_64-w64-mingw32.static.posix/include/libxml2 -IC:/Program Files/rtools42/x86_64-w64-mingw32.static.posix/include -DLIBXML_STATIC -DUSING_R -DHAVE_FMEMOPEN=0 -DHAVE_OPEN_MEMSTREAM=0 -DHAVE_RINTF -DHAVE_STRCASECMP -DWin32 -DHAVE_LIBXML=1 -DHAVE_UNISTD_H -Wall -DHAVE_FMIN=1 -DHAVE_LOG2=1 -DHAVE_GFORTRAN -DINTERNAL_ARPACK -IC:/Program Files/rtools42/x86_64-w64-mingw32.static.posix/include -DHAVE_GLPK=1 -DIGRAPH_THREAD_LOCAL= -DPRPACK_IGRAPH_SUPPORT -I. -Icore -Iinclude -Ivendor -DNDEBUG -DNTIMER -DNPRINT -IC:/Program Files/rtools42/x86_64-w64-mingw32.static.posix/include -I'C:/Users/SAshton/AppData/Local/R/win-library/4.2.1/cpp11/include' -I"C:/Program Files/rtools42/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c core/centrality/betweenness.c -o core/centrality/betweenness.o
gcc.exe: error: Files/rtools42/x86_64-w64-mingw32.static.posix/include/libxml2: No such file or directory
gcc.exe: error: Files/rtools42/x86_64-w64-mingw32.static.posix/include: No such file or directory
gcc.exe: error: Files/rtools42/x86_64-w64-mingw32.static.posix/include: No such file or directory
gcc.exe: error: Files/rtools42/x86_64-w64-mingw32.static.posix/include: No such file or directory
make: *** [C:/PROGRA~1/R/R-42~1.1/etc/x64/Makeconf:253: core/centrality/betweenness.o] Error 1
ERROR: compilation failed for package 'igraph'
* removing 'C:/Users/SAshton/AppData/Local/R/win-library/4.2.1/igraph'
* restoring previous 'C:/Users/SAshton/AppData/Local/R/win-library/4.2.1/igraph'If you need any additional information, please let me know.
To Reproduce
install.packages("igraph")
#> Installing package into 'C:/Users/SAshton/AppData/Local/R/win-library/4.2.1'
#> (as 'lib' is unspecified)
#>
#> There is a binary version available but the source version is later:
#> binary source needs_compilation
#> igraph 1.5.1 1.6.0 TRUE
#> installing the source package 'igraph'
#> Warning in install.packages("igraph"): installation of package 'igraph' had
#> non-zero exit statusCreated on 2023-12-11 with reprex v2.0.2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels