Dear r-devel, When R has been installed in a non-standard location (or any location where Apple's version of gcc isn't going to, by default, look for frameworks specified with the -framework arg), builds of R packages fail because the linker can't find the framework. The following patch to Makefile.in enables Makefile to patch Makeconf appropriately to drop in the -F argument to the appropriate place.
Thanks for considering this, Cyrus Index: Makefile.in =================================================================== --- Makefile.in (revision 35301) +++ Makefile.in (working copy) @@ -84,7 +84,7 @@ $(INSTALL_DATA) $${f} "$(rhome)"; \ done @WANT_R_FRAMEWORK_TRUE@ $(MAKE) install-R-framework [EMAIL PROTECTED]@ @(sed 's/^LIBR =.*/LIBR = - framework R/' \ [EMAIL PROTECTED]@ @(sed 's|^LIBR =.*|LIBR = -F$ (R_FRAMEWORK_DIR)/.. -framework R|' \ @WANT_R_FRAMEWORK_TRUE@ $(top_builddir)/etc/Makeconf > "$(rhome)/etc/Makeconf") @WANT_R_FRAMEWORK_TRUE@ @(sed 's/Versions\/$(VERSION)\/ Resources/Resources/' \ @WANT_R_FRAMEWORK_TRUE@ $(R_FRAMEWORK_DIR)/Resources/ bin/R > \ ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel