[R] Problems compiling R-0.63.0

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Mon Nov 23 11:56:07 CET 1998


beimfohr at Statistik.Uni-Dortmund.DE (Frank Beimfohr) writes:

> When I try to compile R v0.63.0 on my SUN (Solaris 2.5.1 using g77) I get the 
> error message 
> 
> make: Fatal error: Don't know how to make target 
> `/sw/sun4_55/R-0.63.0/src/*/*.[chfy]'
> 
> I seems that one source file can't be compiled. Does anybody know what I can do?

Use GNU make. Not 3.77 unfortunately, it has a bug. 

The problem is that Sun's make doesn't allow wildcards in
dependencies. Or rather, it has a different syntax than most other
makes. An alternative would be to fixup all wildcard refs with
something like

ALLSRC:sh = echo ....src/*/*.[chfy])

... : $(ALLSRC)


Of course, this doesn't work with any *other* version of "make". 

These Makefile incompatibilities are a major pain! Anyone happen to
know if there's a document giving an overview of which features are
present on which version of which OS's?


-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list