R: libR.pc doesn't include path to all includes
graphviz @2.26.3_1+java+macosx+perl+php+python26+r+rsvg+tcl to be precise ☺, but it’s +r that it fails on. It fails during the build phase trying to find Rconfig.h (log attached):
:info:build In file included from /opt/local/lib/R/include/Rdefines.h:26,
:info:build from gv_R.cpp:743:
:info:build /opt/local/lib/R/include/R_ext/RS.h:27:54: error: Rconfig.h: No such file or directory
It looks like the R includes are not being set up correctly. Out of the box it sets R_CFLAGS to “-I/opt/local/lib/R/include”, but Rconfig.h is in /opt/local/lib/R/include/x86_64. I manually ./configured with R_CFLAGS set to “-I/opt/local/lib/R/include -I/opt/local/lib/R/include/x86_64” and it appears to build correctly.
Change History (7)
Owner: |
changed from macports-tickets@… to ryandesign@…
|
Port: |
graphviz-devel added
|
Status: |
new →
assigned
|
Summary: |
Graphviz @2.26.3_2 +r fails to build →
graphviz, graphviz-devel: +r variant: Rconfig.h: No such file or directory
|
Port: |
R added; graphviz graphviz-devel removed
|
Resolution: |
→ fixed
|
Status: |
assigned →
closed
|
Summary: |
graphviz, graphviz-devel: +r variant: Rconfig.h: No such file or directory →
R: libR.pc doesn't include path to all includes
|
Please remember to cc the maintainer.