[MacPorts] #66332: R @4.2.2_1: error when trying to install.packages possibly due to port/rpath configuration

MacPorts noreply at macports.org
Wed Nov 23 13:25:55 UTC 2022


#66332: R @4.2.2_1: error when trying to install.packages possibly due to
port/rpath configuration
---------------------------+--------------------
  Reporter:  MarcKaufmann  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:  R             |
---------------------------+--------------------

Comment (by kencu):

 now why you are missing the comma I am not currently sure about, but it
 appears to be in this file:
 {{{
 $ cat /opt/local/lib/pkgconfig/libR.pc
 rhome=/opt/local/Library/Frameworks/R.framework/Versions/4.2/Resources
 rlibdir=${rhome}/lib
 rincludedir=/opt/local/Library/Frameworks/R.framework/Versions/4.2/Resources/include

 Name: libR
 Description: R as a library
 Version: 4.2.2
 Libs: -fopenmp  -L/opt/local/lib -Wl,-headerpad_max_install_names
 -Wl,-rpath,/opt/local/lib/libgcc -arch x86_64 -L${rlibdir} -lR
 Cflags: -I${rincludedir} -I${rincludedir}
 Libs.private:
 }}}

 so for a "right now" solution you might add it back there, if yours is
 missing it, while someone sorts out where it went.

-- 
Ticket URL: <https://trac.macports.org/ticket/66332#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list