I have been trying to install R under Windows from the source by
following the instructions in R Installation and Adminstration.
Met with a list of problems along the way.

1) Recommended packages: 

I tried to do 

> make lnik-recommended

and 

> make rsync-recommended
 
In both cases, I got the message "no rule to make target"

Have I gotten the make directory wrongly?

2) Building core files:

After I did

> make all recommended 

in R_HOME/src/gnuwin32, the process ends with the following error
message:

> make --no-print-directory -C ../modules \
>   OPTFLAGS='-O3 -Wall -pedantic -std=gnu99' FOPTFLAGS='-O3 -Wall' -f 
> Makefile.wi n gcc  -shared -s  -o lapack.dll lapack.def Lapack.o 
> dllversion.o -L../../../bin - lRlapack -lRblas -lR
> c:\minGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe:
> cannot fin
> d -lRlapack
> collect2: ld returned 1 exit status
> make[5]: *** [lapack.dll] Error 1
> make[4]: *** [all] Error 2
> make[3]: *** [all] Error 1
> make[2]: *** [rmodules] Error 2
> make[1]: *** [rbuild] Error 2
> make: *** [all] Error 2

What should I be doing here?

3) Building manuals

After I did

> make manuals

in R_HOME/src/gnuwin32, the process ends with the error message

! LaTeX Error: File `datasets-pkg.tex' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: tex)

Enter file name:
! Emergency stop.
<read *>

l.77 \input{datasets-pkg.tex}

!  ==> Fatal error occurred, the output PDF file is not finished!
Transcript written on refman.log.
make[1]: *** [refman.pdf] Error 1
make: *** [manuals] Error 2

What should I be doing here?



Can anyone help?

Thanks.

Rgds
Chong Hui



	[[alternative HTML version deleted]]

