[R-sig-Debian] "Graphics history" in UNIX

Liviu Andronic landronimirc at gmail.com
Thu Jun 24 01:36:15 CEST 2010


Hello

On Wed, Jun 23, 2010 at 9:39 PM, Scotti Roberto
<roberto.scotti at gmail.com> wrote:
> Thanks for caring. With this last fix playwith() could be an optimal
> substitution of the Windows "register" graphics tool.
> Unfortunately the practical side is quite hard and, up now, unsuccessful.
> It takes hours to understand that 'pkg-config' is a system library, not an
> R-package,
> that installed GTK components are insufficient, you have to guess which one
> of the 33 to-be-installed libgtk2 libraries are required
> and then finally compilation an linkage start progressing when you discover
> that 'cairoDevice()', this time an R component (??), has to be installed by
> its self but ... here I am stuck, see error below:  two members of DevDesc
> appear as missing!!
> Do you have any suggestion on how to proceed?
>
To build from source you need to have development files installed. On
Debian-based distros, you will mostly look for *-dev packages. For
example, you will probably need to install r-base-dev. For playwith, I
expect that you will need at least libgtk2.0-dev. As for cairoDevice
[1], you will need libcairo2-dev, I think. Then follow the error
messages for potential missing development files.

Regards
Liviu

[1] http://cran.at.r-project.org/web/packages/cairoDevice/index.html



> Tanks again, Roberto
>
> * installing *source* package ‘cairoDevice’ ...
> checking for pkg-config... pkg-config
> configure: creating ./config.status
> config.status: creating src/Makevars
> ** libs
> gcc -std=gnu99 -I/usr/share/R/include -pthread -D_REENTRANT
> -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
> -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1
> -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12
> -g     -fpic  -g -O2 -c cairoDevice.c -o cairoDevice.o
> cairoDevice.c: In function ‘configureCairoDevice’:
> cairoDevice.c:1227: error: ‘DevDesc’ has no member named ‘raster’
> cairoDevice.c:1228: error: ‘DevDesc’ has no member named ‘cap’
> make: *** [cairoDevice.o] Errore 1
> ERROR: compilation failed for package ‘cairoDevice’
> * removing ‘/home/rs/R/x86_64-pc-linux-gnu-library/2.10/cairoDevice’
>
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail



More information about the R-SIG-Debian mailing list