On Thu, 22 Nov 2001, Duncan Murdoch wrote:
> 4. Noticed this error go by in the r-devel build in Windows 95:
>
> F:/R/TOOLS/BIN/MAKE.EXE -C ./help RHOME=F:/R/R-devel
> PKGDIR=F:/R/R-devel/src/lib
> rary RLIB=F:/R/R-devel/library ziponlyhelp-base
> MAKE.EXE[2]: Entering directory `F:/R/R-devel/src/gnuwin32/help'
> zip -jqmX help/Rhelp help/* -x help/AnIndex 2> nul
> MAKE.EXE[3]: [zipup] Error 12 (ignored)
>
> My guess is that it's a problem with "2> nul". That
syntax isn't
> supported by COMMAND.COM. It didn't appear to cause any problems
> though...
COMMAND.COM should not be used. The correct shell is /bin/sh,exe, which is
ash. This fails the first time through a build (as there is notheing to
update).
>
> 5. But this one has me stopped again:
>
> gcc --shared -s -o ctest.dll ctest.def ctest.a ctest_res.o -lg2c
> EXTRADOCS> F:/R/R-devel/bin/R.dll
> gcc: EXTRADOCS=: No such file or directory
> MAKE.EXE[3]: *** [ctest.dll] Error 1
> MAKE.EXE[3]: Leaving directory `F:/R/R-devel/src/library/ctest/src'
> F:\R\TOOLS\BIN\MAKE.EXE[2]: *** [src/ctest.dll] Error 2
> F:\R\TOOLS\BIN\MAKE.EXE[2]: Leaving directory
> `F:/R/R-devel/src/library/ctest'
>
> It looks to me as though gcc thinks "EXTRADOCS=" is a filename,
but I
> don't know why. The only place I can spot this is in
> src/gnuwin32/Makefile line 184, but it might be coming from somewhere
> else, and I don't know what is causing the error.
I don't see that with my make and sh. The command run is
/cygdrive/c/R/tools/make DLLNM= FLIBS="-lg2c" EXTRADOCS= \
-C c:/R/rw1040/src/library/ctest PKG=ctest RHOME=c:/R/rw1040
RLIB=c:/R/rw1040/library \
-f c:/R/rw1040/src/gnuwin32/MakePkg
make[2]: Entering directory `/cygdrive/c/R/rw1040/src/library/ctest'
---------- Making package ctest ------------
mkdir -p c:/R/rw1040/library/ctest
cp -r ./INDEX ./TITLE c:/R/rw1040/library/ctest/
making DLL
make[3]: Entering directory `/cygdrive/c/R/rw1040/src/library/ctest/src'
windres --include-dir c:/R/rw1040/src/include -i ctest_res.rc -o ctest_res.o
------- Building ctest.dll from ctest.a ctest_res.o --------
echo LIBRARY ctest > ctest.def
echo EXPORTS >> ctest.def
nm ctest.a ctest_res.o > Defs
sed -n '/^........ [BCDRT] _/s/^........ [BCDRT] _/ /p' Defs >>
ctest.def
rm -f Defs
gcc --shared -s -o ctest.dll ctest.def ctest.a ctest_res.o -lg2c
c:/R/rw1040/bin/R.dll
make[3]: Leaving directory `/cygdrive/c/R/rw1040/src/library/ctest/src'
DLL made
....
so it looks like make is mis-behaving. On the other hand, I have not idea
what it is for (Guido?) and suggest you remove it from
src/gnuwin32/Makefile.
--
Brian D. Ripley, ripley@stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._