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

Loris Bennett loris.bennett at fu-berlin.de
Wed Sep 2 10:05:23 CEST 2009


Loris Bennett <loris.bennett at fu-berlin.de> writes:

I get the same problem using R version 2.9.2.

I would be very grateful if anyone could shed some light on this
issue.

Regards

Loris

> 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