[R] Unable to compile & install rggobi
Prof Brian Ripley
ripley at stats.ox.ac.uk
Sat Apr 28 07:03:25 CEST 2012
On 28/04/2012 04:33, Michael Lawrence wrote:
> GGobi needs a 64 bit binary before we can get rggobi available on Windows
> again.
Only true for 64-bit R on Windows, which is nowadays the primary Windows
version. But that does not apply to the on-extended-support Windows XP
which is 32-bit only.
It does build on 32-bit Windows, and my advice was accurate and complete.
>
> On Fri, Apr 27, 2012 at 6:27 PM, Indrajit Sengupta
> <indra_calisto at yahoo.com>wrote:
>
>> I came across this web site:
>>
>> http://cran.r-project.org/bin/windows/contrib/2.15/check/
>>
>> Where I checked the file: rggobi-check.log
>>
>> The contents of this file is giving the same kind of error that I am
>> facing. Does that mean, this package does not work with R 2.15 yet? Is it a
>> bug?
>>
>> Regards,
>> Indrajit
>>
>>
>>
>> ________________________________
>> From: Prof Brian Ripley<ripley at stats.ox.ac.uk>
>>
>> Cc: R Help<r-help at r-project.org>
>> Sent: Friday, April 27, 2012 2:21 PM
>> Subject: Re: [R] Unable to compile& install rggobi
>>
>> On 27/04/2012 08:56, Indrajit Sengupta wrote:
>>> I am currently using R 2.15.0 with R Tools 2.15 (in Windows XP). I
>> downloaded the source for RGgobi and extracted it to a folder.
>>>
>>> Then I tried compiling and installing with the following command and got
>> an error message:
>>>
>> ------------------------------------------------------------------------------------------------------------------
>>> D:\Work\tmp>R CMD INSTALL --build "D:\\DPF\\Rggobi\\rggobi"
>>> * installing to library 'C:/Program Files/R/R-2.15.0/library'
>>> * installing *source* package 'rggobi' ...
>>> ** libs
>>> cygwin warning:
>>> MS-DOS style path detected: C:/PROGRA~1/R/R-215~1.0/etc/i386/Makeconf
>>> Preferred POSIX equivalent is:
>> /cygdrive/c/PROGRA~1/R/R-215~1.0/etc/i386/Makeconf
>>> CYGWIN environment variable option "nodosfilewarning" turns off this
>> warning.
>>> Consult the user's guide for more details about POSIX paths:
>>> http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
>>> gcc -I"C:/PROGRA~1/R/R-215~1.0/include" -DNDEBUG -D_R_=1 -DUSE_R=1
>> -mms-bitfields -I/include/gtk-2.0 -I/include/gdk-pixbuf-2.0
>> -I/../lib/gtk-2.0/include -
>>> I/include/atk-1.0 -I/include/cairo -I/include/pango-1.0
>> -I/include/glib-2.0 -I/../lib/glib-2.0/include -I/include/libxml2
>> -I/include -I/include/ggobi -IC:/
>>> PROGRA~1/R/R-215~1.0/include -I/include/libxml -O3 -Wall
>> -std=gnu99 -mtune=core2 -c RSEval.c -o RSEval.o
>>> In file included from RSEval.c:6:0:
>>> RSGGobi.h:5:22: fatal error: GGobiAPI.h: No such file or directory
>>> compilation terminated.
>>> make: *** [RSEval.o] Error 1
>>> ERROR: compilation failed for package 'rggobi'
>>> * removing 'C:/Program Files/R/R-2.15.0/library/rggobi'
>>>
>> ------------------------------------------------------------------------------------------------------------------
>>>
>>> Can anybody help in figuring out what is the problem? I have installed
>> GGobi& RGtk2 previously.
>>
>> You need to set some environment variables: study the rggobi sources for
>> what. E.g. I bet GGobi is not installed in the root, so -I/include/ggobi
>> will not work.
>>
>>> Regards,
>>> Indrajit
>>> [[alternative HTML version deleted]]
>>>
>>>
>>>
>>>
>>> ______________________________________________
>>> R-help at r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>>> and provide commented, minimal, self-contained, reproducible code.
>>
>> Please do as you were asked: no HTML, programming questions to R-devel,
>> questions about packages to the maintainer ....
>>
>> --
>> Brian D. Ripley, ripley at 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 272866 (PA)
>> Oxford OX1 3TG, UK Fax: +44 1865 272595
>> [[alternative HTML version deleted]]
>>
>>
>> ______________________________________________
>> R-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
Brian D. Ripley, ripley at 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 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list