From jmc at research.bell-labs.com  Tue Sep  9 09:50:54 2003
From: jmc at research.bell-labs.com (John Chambers)
Date: Tue Sep  9 14:51:47 2003
Subject: [Rd] R-devel on Solaris 8
References: <Pine.SOL.4.20.0309081609170.6125-100000@santiam.dfci.harvard.edu>
Message-ID: <3F5DCCAE.27B94AFC@research.bell-labs.com>

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@stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-devel

-- 
John M. Chambers                  jmc@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


[Rd] R-devel on Solaris 8
John Chambers