From cstrato at aon.at  Fri Dec  5 21:23:37 2008
From: cstrato at aon.at (cstrato)
Date: Fri, 05 Dec 2008 21:23:37 +0100
Subject: [Rd] Error in R CMD INSTALL on Windows XP using Rtools28
In-Reply-To: <alpine.LFD.2.00.0812052000240.4333@gannet.stats.ox.ac.uk>
References: <493985DF.7090303@aon.at>
	<alpine.LFD.2.00.0812052000240.4333@gannet.stats.ox.ac.uk>
Message-ID: <49398DC9.20600@aon.at>

Dear all

Thank you all for you fast reply.

As I said, everything on my laptop and Mac is identical, here are my 
user defined environment variables:

HOME: c:\home\Rabbitus
INCLUDE: C:\Programme\Microsoft Visual Studio 
9.0\VC\include;C:\Programme\Microsoft SDKs\Windows\v6.0A\Include
LIB: C:\Programme\Microsoft Visual Studio 
9.0\VC\lib;C:\Programme\Microsoft SDKs\Windows\v6.0A\Lib;C:\root\lib
PATH: 
C:\Rtools\bin;C:\Rtools\perl\bin;C:\Rtools\MinGW\bin;C:\Programme\HTML 
Help Workshop;C:\Programme\R\R-2.8.0\bin;C:\root\bin;
MSVSPATH: C:\Programme\Microsoft Visual Studio 9.0\VC\bin
ROOTSYS: c:\root
R_LIBS: cd "C:\home\Rabbitus\CRAN"
TMPDIR: c:\home\Rabbitus\temp

I have just checked again, all variables are identical on both systems.

Could there be another reason?
What about the registry setting mentioned by Gabor Grothendieck?

Best regaards
Christian


Prof Brian Ripley wrote:
> This is a PATH error: you must have Rtools/bin before Windows system 
> directories in your path.  As the R-admin manual tells you explicitly 
> ....
>
> fortune("WTFM") applies.
>
> On Fri, 5 Dec 2008, cstrato 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
cstrato