loris.benn...@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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to