Grokbase Groups R r-devel May 2006
FAQ
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

Search Discussions

  • Peter Dalgaard at May 10, 2006 at 9:44 pm

    Darin Perusich <[email protected]> writes:

    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.
    It only happens if your bash is old enough. I get the

    rubin:~/> for f in ; do echo $f ; done
    bash: syntax error near unexpected token `;'
    rubin:~/>help
    GNU bash, version 2.05.0(1)-release (sparc-sun-solaris2.9)
    for f in ; do echo $f ; done

    but not on Linux boxes with bash 3.x. However, I don't think we assume
    bash 3.x (or bash as such for that matter and sh has same issue on
    Solaris 9), so it is indeed a bug.

    --
    O__ ---- Peter Dalgaard ?ster Farimagsgade 5, Entr.B
    c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K
    (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
    ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
  • Prof Brian Ripley at May 11, 2006 at 7:50 am
    This is already changed in R-patched: please use that.
    On Wed, 10 May 2006, Peter Dalgaard wrote:

    Darin Perusich <[email protected]> writes:
    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.
    It only happens if your bash is old enough. I get the

    rubin:~/> for f in ; do echo $f ; done
    bash: syntax error near unexpected token `;'
    rubin:~/>help
    GNU bash, version 2.05.0(1)-release (sparc-sun-solaris2.9)
    for f in ; do echo $f ; done

    but not on Linux boxes with bash 3.x. However, I don't think we assume
    bash 3.x (or bash as such for that matter and sh has same issue on
    Solaris 9), so it is indeed a bug.
    --
    Brian D. Ripley, ripley at stats.ox.ac.uk
    Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
    University of Oxford, Tel: +44 1865 272861 (self)
    1 South Parks Road, +44 1865 272866 (PA)
    Oxford OX1 3TG, UK Fax: +44 1865 272595

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupr-devel @
categoriesr
postedMay 10, '06 at 8:32p
activeMay 11, '06 at 7:50a
posts3
users3
websiter-project.org
irc#r

People

Translate

site design / logo © 2023 Grokbase