[R] making Rmath.dll

Thomas Stockton stockton at neptuneandco.com
Tue Apr 10 23:15:55 CEST 2001


R folk,

Win2k
gcc-2.95.2
perl 5.6.0
R 1.2.2

I am trying to make Rmath.dll using the instructions in README in
/R/src/nmath/standalone and get the following error:

bash-2.04$ make -f Makefile.win
cp -p ../*.c .
d:/gcc-2.95.2/bin/make.exe -f Makefile.win cpy
make.exe[1]: Entering directory `d:/R/src/nmath/standalone'
cp -p ../*.c .
make.exe[1]: Leaving directory `d:/R/src/nmath/standalone'
d:/gcc-2.95.2/bin/make.exe -f Makefile.win makeMakedeps
make.exe[1]: Entering directory `d:/R/src/nmath/standalone'
making mlutils.d from mlutils.c
mlutils.c:21: config.h: No such file or directory
make.exe[1]: *** [mlutils.d] Error 1
make.exe[1]: Leaving directory `d:/R/src/nmath/standalone'
d:\gcc-2.95.2\bin\make.exe: *** [all] Error 2

I see in mlutils.c the code causing the problem:

#ifdef HAVE_CONFIG_H
# include "config.h"
#endif

and in Makefile.win where HAVE_CONFIG_H is set:

CFLAGS=$(OPTFLAGS) -I../include -DHAVE_CONFIG_H

It would appear that I need a config.h. I see a shell script in
/R/src/gnuwin32/include/config.h.in which looks like a potential solution. I
must be missing a step but in reviewing R docs and help archives I can figure
out what it is.

Any help is greatly appreciated.

Tom


___________________________________________________________
Tom Stockton, PhD              voice: (505) 662-0707 ext 17
Neptune and Company                    cell: (505) 660-8591
1505 15th St.  Suite B                  fax: (505) 662-0500
Los Alamos, NM  87544-3063        stockton at neptuneandco.com
                  www.neptuneandco.com


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list