[Rd] R-devel on Solaris 8

John Chambers jmc at research.bell-labs.com
Tue Sep 9 09:50:54 MEST 2003


Jeff Gentry wrote:
> 
> I'm having difficulty building R-devel on Solaris 8 (current version),
> while trying to update from my previous version of R-devel (2003-09-02).
> 
> When building I get this error:
> ---------------
> make[4]: Leaving directory
> `/misc/homes/madman/R-devel/src/library/methods/src'
> make[4]: Entering directory
> `/misc/homes/madman/R-devel/src/library/methods'
> dumping R code in package 'methods'
> Saving namespace image ...
> initializing class and method definitions now ...done
> <environment: namespace:methods>
> 
> /bin/bash: ../../../tools/install-sh: No such file or directory
> make[4]: *** [../../../library/methods/R/all.rda] Error 127
> make[4]: Leaving directory
> `/misc/homes/madman/R-devel/src/library/methods'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory
> `/misc/homes/madman/R-devel/src/library/methods'
> make[2]: *** [R] Error 1
> make[2]: Leaving directory `/misc/homes/madman/R-devel/src/library'
> make[1]: *** [R] Error 1
> make[1]: Leaving directory `/misc/homes/madman/R-devel/src'
> make: *** [R] Error 1
> 
> -----
> 
> At first I thought perhaps a 'make clean' was in order, but it still
> persisted.  Then I tired a 'make distclean', and finally just doing a
> rsync to a completely new directory target and trying it there.  The same
> error keeps coming up.
> 
> GCC is version 3.2
> 
> I have built the same R-devel on linux (RH 7.2) wiht gcc 2.96
> 
> Not sure if this is something particular to my setup or a problem in R,
> but hopefully someone out there has some insight.

The Makefile.in for methods uses the macro INSTALL_DATA.  On linux this
is /usr/bin/install, but my guess from your error message is that it's
$(top_buildir)/tools/install-sh

For reasons that pre-date my involvement, $(top_buildir) is a relative
not an absolute path.  Hence my guess is that for solaris you need to
add a line "cd $(srcdir); \ " after line 76 in Makefile.in.  If this
works, let me know & I'll make the change generally.

John

> 
> Thanks
> -J
> 
> ______________________________________________
> R-devel at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-devel

-- 
John M. Chambers                  jmc at bell-labs.com
Bell Labs, Lucent Technologies    office: (908)582-2681
700 Mountain Avenue, Room 2C-282  fax:    (908)582-3340
Murray Hill, NJ  07974            web: http://www.cs.bell-labs.com/~jmc



More information about the R-devel mailing list