[R] R 2.9.1: Error building target 'front'

Loris Bennett loris.bennett at fu-berlin.de
Fri Jul 31 09:21:04 CEST 2009


loris.bennett at fu-berlin.de (Loris Bennett) writes:

> Hi,
>
> I am getting the following error
>
>        # (R-2.9.1/src/library/methods): gmake front
>
>        /bin/sh: 0403-057 Syntax error at line 1 : `;' is not expected.
>        gmake: *** [front] Error 2
>
> However, I am not sure what script sh is trying to execute at this
> point. I am building on AIX 5.3.
>

Here is some more information on this problem. Running

        gmake -n front

produces

        for f in ; do \
          if test -f ./${f}; then \
            /usr/local/bin/install -c -m 644 ./${f} \
              ../../../library/methods; \
          fi; \
        done

This seems to come from the following line in share/make/basepkg.mk

        @for f in $(FRONTFILES); do \

Grepping for FRONTFILES yields

        library/stats/Makefile.in:FRONTFILES = COPYRIGHTS.modreg SOURCES.ts
        library/stats/Makefile.win:FRONTFILES = COPYRIGHTS.modreg SOURCES.ts
        library/stats/Makefile:FRONTFILES = COPYRIGHTS.modreg SOURCES.ts

Is something similar missing from the makefiles in src/library/methods?

Loris

-- 
Dr. Loris Bennett
Computer Centre
Freie Universität Berlin
Berlin, Germany




More information about the R-help mailing list