Looks like rggobi can't find GGobi. Make sure that PKG_CONFIG_PATH contains
the path to your ggobi.pc file. For example:

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

I would have assumed, however, that the ggobi package would have installed
to the /usr prefix, in which case pkg-config should have no problem finding
GGobi.

On 7/8/07, Kenneth Cabrera <[EMAIL PROTECTED]> wrote:
>
> Hi R users.
>
> I am experimenting with ubuntu 7.04 Feisty.
>
> I install the ggobi package with apt-get.
>
> I got almost all the packages, but
> when I try to obtain rggobi, I got
> this message:
>
>
> -------------------------------------------------------------------------------------------------
> install.packages("rggobi")
> Aviso en install.packages("rggobi") : argument 'lib' is missing: using
> '/usr/local/lib/R/site-library'
> --- Please select a CRAN mirror for use in this session ---
> Loading Tcl/Tk interface ... done
> probando la URL
> 'http://cran.at.r-project.org/src/contrib/rggobi_2.1.4-4.tar.gz'
> Content type 'application/x-gzip' length 401451 bytes
> URL abierta
> ==================================================
> downloaded 392Kb
>
> * Installing *source* package 'rggobi' ...
> checking for pkg-config... /usr/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking for GGOBI... configure: creating ./config.status
> config.status: creating src/Makevars
> ** libs
> gcc -std=gnu99 -I/usr/share/R/include -I/usr/share/R/include -g
> -DUSE_EXT_PTR=1 -D_R_=1      -fpic  -g -O2 -c brush.c -o brush.o
> En el fichero incluído de brush.c:1:
> RSGGobi.h:5:22: error: GGobiAPI.h: No existe el fichero ó directorio
> In file included from RSGGobi.h:6,
>                   from brush.c:1:
> conversion.h:174: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘asCLogical’
> conversion.h:176: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘asCRaw’
>
> --- snip ---
>
> brush.c:124: error: ‘t’ no se declaró aquí (primer uso en esta
> función)
> brush.c:124: error: ‘s’ no se declaró aquí (primer uso en esta
> función)
> brush.c:124: error: el objeto ‘GGOBI(<erroneous-expression>)’ llamado
> no es una función
> brush.c: En el nivel principal:
> brush.c:135: error: expected ‘)’ before ‘cid’
> make: *** [brush.o] Error 1
> chmod: no se puede acceder a
> `/usr/local/lib/R/site-library/rggobi/libs/*': No existe el fichero ó
> directorio
> ERROR: compilation failed for package 'rggobi'
> ** Removing '/usr/local/lib/R/site-library/rggobi'
>
> The downloaded packages are in
>          /tmp/RtmpVCacJd/downloaded_packages
> Warning message:
> installation of package 'rggobi' had non-zero exit status in:
> install.packages("rggobi")
>
> -------------------------------------------------------------------------------------------------------------------
>
> What am I doing wrong?
>
> Thank you for your help.
> --
> Kenneth Roy Cabrera Torres
> Cel 315 504 9339
>
> ______________________________________________
> R-help@stat.math.ethz.ch 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@stat.math.ethz.ch 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.

Reply via email to