From ggrothendieck at gmail.com  Fri Dec  5 21:10:24 2008
From: ggrothendieck at gmail.com (Gabor Grothendieck)
Date: Fri, 5 Dec 2008 15:10:24 -0500
Subject: [Rd] Error in R CMD INSTALL on Windows XP using Rtools28
In-Reply-To: <493985DF.7090303@aon.at>
References: <493985DF.7090303@aon.at>
Message-ID: <971536df0812051210u6caa7e23g9f9aa0943555f93@mail.gmail.com>

One difference between rtools27.exe and rtools28.exe is that the latter
sets a value in the registry to where rtools is located whereas the former
does not.

On Fri, Dec 5, 2008 at 2:49 PM, cstrato <cstrato at aon.at> wrote:
> Dear all
>
> When trying to install my package on Windows XP on my Mac, I get the
> following error:
>
> ---------- Making package xps ------------
> ...
> ...
> xpsDict.cxx
> "C:\Programme\Microsoft Visual Studio 9.0\VC\bin/link" /dll /def:xps.def
> /out:xps.dll fp10.obj  -opt:noref  -nologo -include:_G__cpp_setupG__Hist
> -include:_G__cpp_setupG__Graf1 -include:_G__cpp_setupG__G3D
> -include:_G__cpp_setupG__GPad -include:_G__cpp_setupG__Tree
> -include:_G__cpp_setupG__Rint -include:_G__cpp_setupG__PostScript
> -include:_G__cpp_setupG__Matrix -include:_G__cpp_setupG__Physics
> -include:_G__cpp_setupG__Ged  "C:\root/lib/libCore.lib"
> "C:\root/lib/libCint.lib" "C:\root/lib/libHist.lib"
> "C:\root/lib/libGraf.lib" "C:\root/lib/libGraf3d.lib"
> "C:\root/lib/libGpad.lib" "C:\root/lib/libTree.lib"
> "C:\root/lib/libRint.lib" "C:\root/lib/libPostscript.lib"
> "C:\root/lib/libMatrix.lib" "C:\root/lib/libPhysics.lib"
> "C:\root/lib/libNet.lib" "C:\root/lib/libRIO.lib"
> "C:\root/lib/libMathCore.lib" "C:\root/lib/libGui.lib"
> "C:\root/lib/libGraf.lib" "C:\root/lib/libGpad.lib" "C:\root/lib/libGed.lib"
> "C:\root/lib/libTreePlayer.lib" "C:\root/lib/libTreeViewer.lib" *.obj
>  Creating library xps.lib and object xps.exp
>  ... done
>  installing DLL
>  installing R files
>  installing inst files
> FIND: Parameterformat falsch
> make[2]: *** [C:/home/Rabbitus/CRAN/xps.Rcheck/xps/inst] Error 2
> make[1]: *** [all] Error 2
> make: *** [pkg-xps] Error 2
> *** Installation of xps failed ***
>
>
> However, when I install my package on my Windows XP laptop, everything is
> ok:
>
> ---------- Making package xps ------------
> ...
> ...
> xpsDict.cxx
> "C:\Programme\Microsoft Visual Studio 9.0\VC\bin/link" /dll /def:xps.def
> /out:xps.dll fp10.obj  -opt:noref  -nologo -include:_G__cpp_setupG__Hist
> -include:_G__cpp_setupG__Graf1 -include:_G__cpp_setupG__G3D
> -include:_G__cpp_setupG__GPad -include:_G__cpp_setupG__Tree
> -include:_G__cpp_setupG__Rint -include:_G__cpp_setupG__PostScript
> -include:_G__cpp_setupG__Matrix -include:_G__cpp_setupG__Physics
> -include:_G__cpp_setupG__Ged  "C:\root/lib/libCore.lib"
> "C:\root/lib/libCint.lib" "C:\root/lib/libHist.lib"
> "C:\root/lib/libGraf.lib" "C:\root/lib/libGraf3d.lib"
> "C:\root/lib/libGpad.lib" "C:\root/lib/libTree.lib"
> "C:\root/lib/libRint.lib" "C:\root/lib/libPostscript.lib"
> "C:\root/lib/libMatrix.lib" "C:\root/lib/libPhysics.lib"
> "C:\root/lib/libNet.lib" "C:\root/lib/libRIO.lib"
> "C:\root/lib/libMathCore.lib" "C:\root/lib/libGui.lib"
> "C:\root/lib/libGraf.lib" "C:\root/lib/libGpad.lib" "C:\root/lib/libGed.lib"
> "C:\root/lib/libTreePlayer.lib" "C:\root/lib/libTreeViewer.lib" *.obj
>  Creating library xps.lib and object xps.exp
>  ... done
>  installing DLL
>  installing R files
>  installing inst files
>  preparing package xps for lazy loading
>  installing man source files
>  installing indices
> Warning messages:
> 1: In file.create(f.tg) :
>  kann Datei 'c:/Programme/R/R-2.8.0/doc/html/packages.html' nicht erzeugen.
> Grund 'Permission denied'
> 2: In tools:::win.packages.html(.Library) :
>  kann HTML Paketindex nicht aktualisieren
>  installing help
>>>> Building/Updating help pages for package 'xps'
> ...
>
> To my knowledge I have only made one difference when installing everything
> necessary to build my package:
> On my laptop I have installed Rtools27.exe, while on WinXP on my Mac I have
> installed Rtools28.exe.
>
> Do you know what the reason for the error might be?
>
> Thank you in advance.
> Best regards
> Christian
> _._._._._._._._._._._._._._._._._._
> C.h.r.i.s.t.i.a.n   S.t.r.a.t.o.w.a
> V.i.e.n.n.a           A.u.s.t.r.i.a
> e.m.a.i.l:        cstrato at aon.at
> _._._._._._._._._._._._._._._._._._
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



[Rd] Error in R CMD INSTALL on Windows XP using Rtools28
Gabor Grothendieck