[Rd] MacOS specific framework install problem

Cyrus Harmon ch-r-devel at bobobeach.com
Wed Aug 17 00:54:18 CEST 2005


Dear r-devel,

Using the latest R-devel from SVN, when doing a make install, even  
from a build directory, there is a recursive copy that attempts to  
copy the .svn file to the framework include directory. The problem is  
due to the fact that there is a reference to $srcdir in Makefile.in  
that should probably be $top_builddir. The following patch (also  
attached) fixes this:

Index: Makefile.in
===================================================================
--- Makefile.in (revision 35301)
+++ Makefile.in (working copy)
@@ -234,7 +234,7 @@
           ln -f -s -n Versions/Current/Resources Resources)
         @(cd "$(R_FRAMEWORK_DIR)/Resources/lib" && \
           install_name_tool -id "$(R_FRAMEWORK_DIR)/Versions/$ 
(VERSION)/Resources/lib/libR.dylib" ../lib/libR.dylib)
-       @(cp -R $(srcdir)/src/include $(R_FRAMEWORK_DIR)/Versions/ 
Current/PrivateHeaders)
+       @(cp -R $(top_builddir)/src/include $(R_FRAMEWORK_DIR)/ 
Versions/Current/PrivateHeaders)
         @(install_name_tool -change libR.dylib "$(R_FRAMEWORK_DIR)/ 
Versions/$(VERSION)/Resources/lib/libR.dylib" \
           $(R_FRAMEWORK_DIR)/Resources/bin/exec/R)
         @(find "$(R_FRAMEWORK_DIR)/Resources/" -name '*.so' -exec  
install_name_tool \


I would be pleased if someone who understands the build system better  
than idea would review this and check it in if it's the right thing  
to do.

Thanks,

Cyrus


-------------- next part --------------



More information about the R-devel mailing list