Skip to content
Prev 362127 / 398506 Next

Antwort: Re: Antwort: Re: Installing from source on Windows 7: tibble [SOLVED]

Hi Duncan,

indeed, I did not see the other part of your message.

I did

BINPREF ?= C:/R-Project/Rtools/mingw_32/bin/
COMPILED_BY = g++ # instead of gcc-4.9.3

in "C:\R-Project\R-3.3.0\etc\i386\Makeconf"

and

BINPREF ?= C:/R-Project/Rtools/mingw_64/bin/
COMPILED_BY = g++ # instead of gcc-4.9.3

in "C:\R-Project\R-3.3.0\etc\x64\Makeconf"

Now I could compile the package with no futher errors.

Messages are

-- cut --
* installing *source* package 'tibble' ...
** Paket 'tibble' erfolgreich entpackt und MD5 Summen ?berpr?ft
** libs

*** arch - i386
C:/R-Project/Rtools/mingw_32/bin/g++  -I"C:/R-PROJ~1/R-33~1.0/include" 
-DNDEBUG    -I"C:/R-Project/R-3.3.0/library/Rcpp/include" 
-I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c 
RcppExports.cpp -o RcppExports.o
C:/R-Project/Rtools/mingw_32/bin/g++  -I"C:/R-PROJ~1/R-33~1.0/include" 
-DNDEBUG    -I"C:/R-Project/R-3.3.0/library/Rcpp/include" 
-I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c 
matrixToDataFrame.cpp -o matrixToDataFrame.o
C:/R-Project/Rtools/mingw_32/bin/g++ -shared -s -static-libgcc -o 
tibble.dll tmp.def RcppExports.o matrixToDataFrame.o 
-Ld:/Compiler/gcc-4.9.3/local330/lib/i386 
-Ld:/Compiler/gcc-4.9.3/local330/lib -LC:/R-PROJ~1/R-33~1.0/bin/i386 -lR
installing to C:/R-Project/R-3.3.0/library/tibble/libs/i386

*** arch - x64
C:/R-Project/Rtools/mingw_64/bin/g++  -I"C:/R-PROJ~1/R-33~1.0/include" 
-DNDEBUG    -I"C:/R-Project/R-3.3.0/library/Rcpp/include" 
-I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c 
RcppExports.cpp -o RcppExports.o
C:/R-Project/Rtools/mingw_64/bin/g++  -I"C:/R-PROJ~1/R-33~1.0/include" 
-DNDEBUG    -I"C:/R-Project/R-3.3.0/library/Rcpp/include" 
-I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c 
matrixToDataFrame.cpp -o matrixToDataFrame.o
C:/R-Project/Rtools/mingw_64/bin/g++ -shared -s -static-libgcc -o 
tibble.dll tmp.def RcppExports.o matrixToDataFrame.o 
-Ld:/Compiler/gcc-4.9.3/local330/lib/x64 
-Ld:/Compiler/gcc-4.9.3/local330/lib -LC:/R-PROJ~1/R-33~1.0/bin/x64 -lR
installing to C:/R-Project/R-3.3.0/library/tibble/libs/x64
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
*** arch - i386
*** arch - x64
* DONE (tibble)
-- cut --

So - complete success.

Many thanks for your help.

One last questions: Why did Rtools.exe not create a directory named 
"gcc-4.9.3" in "C:\R-Project\Rtools" and putting "
C:\R-Project\Rtools\mingw_32" and "C:\R-Project\Rtools\mingw_64" directly 
in "C:\R-Project\Rtools\"? gcc-4.6.3 was installed that way.

Kind regards

Georg





Von:    Duncan Murdoch <murdoch.duncan at gmail.com>
An:     G.Maubach at weinwolf.de, 
Kopie:  r-help at r-project.org
Datum:  29.06.2016 16:21
Betreff:        Re: Antwort: Re: [R] Installing from source on Windows 7: 
tibble
On 29/06/2016 10:17 AM, G.Maubach at weinwolf.de wrote:
about
-c
C:\Users\MAUBAC~1.WEI\AppData\Local\Temp\RtmpGqOlOW/downloaded_packages/tibble_1.0.tar.gz'
You seem to have missed the second part of my advice, describing what to 
do with the two Makeconf files.

Duncan Murdoch
C:\R-Project\Rtools\mingw_32\bin;C:\R-Project\Rtools\mingw_64\bin;C:\R-Project\Rtools\bin;C:\R-Project\Rtools\gcc-4.6.3\bin;C:\Program
'https://cran.uni-muenster.de/src/contrib/tibble_1.0.tar.gz'
C:\Users\MAUBAC~1.WEI\AppData\Local\Temp\Rtmp23SQxM/downloaded_packages/tibble_1.0.tar.gz'
need
to