From Darin.Perusich at cognigencorp.com  Wed May 10 22:32:19 2006
From: Darin.Perusich at cognigencorp.com (Darin Perusich)
Date: Wed, 10 May 2006 16:32:19 -0400
Subject: [Rd] 2.3.0 make install fails on solaris
Message-ID: <44624DD3.4080502@cognigencorp.com>

hello r development team,

i'm building R 2.3.0 on solaris and when i run the 'make install' i'm 
getting a syntax error during the "installing etc ..." which causes the 
installation to fail. i get this error whether i use gnu-make of 
sun-make, see the error and reasons below.

gmake[1]: Entering directory `/export/medusa/darin/build/R-2.3.0/etc'
installing etc ...
/bin/bash: -c: line 1: syntax error near unexpected token `;'
/bin/bash: -c: line 1: `for f in ; do  /opt/csw/bin/ginstall -c -m 644 
${f} "/export/home/darin/build/R-2.3.0/cswstage/opt/csw/lib/R/etc";  done'
gmake[1]: *** [install] Error 2
gmake[1]: Leaving directory `/export/medusa/darin/build/R-2.3.0/etc'
gmake: *** [install] Error 1

in etc/Makefile if i comment lines 60-62 make install continues without 
incident, here are those lines.

         @for f in $(EXPORTFILES); do \
           $(INSTALL_DATA) $${f} "$(rhome)/$(subdir)"; \
         done

this has changed from R-2.2.1.

diff etc/Makefile ../R-2.2.1/etc/Makefile"

60c52
<       @for f in $(EXPORTFILES); do \
---
 >       @for f in $(OBJECTS) $(EXPORTFILES); do \

should i open a bug for this issue? i'm also curious as to if this has 
come up on other platforms.

-- 
Darin Perusich
Unix Systems Administrator
Cognigen Corporation
395 Youngs Rd.
Williamsville, NY 14221
darinper at cognigencorp.com



[Rd] 2.3.0 make install fails on solaris
Darin Perusich