We have tried to build rattle on Solaris 10 X86 platform, and the results
are :
1. Package XML and pmml can be built.
2. Package RGtk2 can be built but can’t be installed because the
installer can’t find GTK on Solaris, but it seems GTK has been preinstalled
on Solaris 10, but I don’t know how to configure it.
3. There are errors when building the cairoDevice package , the error
message is
-bash-3.00$ R CMD INSTALL cairoDevice
* installing to library '/opt/R/R2-11-1/lib/R/library'
* installing *source* package 'cairoDevice' ...
checking for pkg-config... pkg-config
configure: creating ./config.status
config.status: creating src/Makevars
** libs
/opt/sunstudio12.1/bin/cc -xc99=all -I/opt/R/R2-11-1/lib/R/include
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/openwin/include -I/usr/sfw/include
-I/usr/sfw/include/freetype2 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -g -I/opt/R/R2-11-1/include -I/usr/sfw/include
-I/opt/sfw/include -I/usr/openwin/share/include -KPIC -xO3 -c
cairoDevice.c -o cairoDevice.o
"cairoDevice.h", line 3: cannot find include file: <cairo.h>
"cairoDevice.h", line 6: unexpected "("
"cairoDevice.h", line 7: cannot find include file: <cairo-pdf.h>
"cairoDevice.h", line 8: cannot find include file: <cairo-ps.h>
"cairoDevice.h", line 9: cannot find include file: <cairo-svg.h>
"cairoDevice.h", line 38: syntax error before or at: cairo_t
"cairoDevice.c", line 71: improper member use: pixmap
"cairoDevice.c", line 72: improper member use: pixmap
"cairoDevice.c", line 74: improper member use: drawing
"cairoDevice.c", line 75: improper member use: drawing
"cairoDevice.c", line 77: improper member use: window
"cairoDevice.c", line 78: improper member use: window
"cairoDevice.c", line 80: undefined struct/union member: cr
"cairoDevice.c", line 81: undefined struct/union member: cr_custom
"cairoDevice.c", line 82: warning: implicit function declaration:
cairo_show_page
"cairoDevice.c", line 82: improper member use: cr
"cairoDevice.c", line 83: warning: implicit function declaration:
cairo_restore
"cairoDevice.c", line 83: improper member use: cr
"cairoDevice.c", line 84: warning: implicit function declaration:
cairo_destroy
"cairoDevice.c", line 84: improper member use: cr
"cairoDevice.c", line 90: undefined struct/union member: surface
"cairoDevice.c", line 91: warning: implicit function declaration:
cairo_surface_destroy
"cairoDevice.c", line 91: improper member use: surface
"cairoDevice.c", line 100: improper member use: drawing
"cairoDevice.c", line 100: improper member use: drawing
"cairoDevice.c", line 100: improper member use: pixmap
"cairoDevice.c", line 114: improper member use: drawing
"cairoDevice.c", line 115: improper member use: drawing
"cairoDevice.c", line 146: improper member use: drawing
"cairoDevice.c", line 148: improper member use: drawing
"cairoDevice.c", line 152: undefined struct/union member: cr
"cairoDevice.c", line 153: undefined struct/union member: cr_custom
"cairoDevice.c", line 154: improper member use: cr
"cairoDevice.c", line 155: improper member use: cr
"cairoDevice.c", line 156: improper member use: cr
"cairoDevice.c", line 158: improper member use: pixmap
"cairoDevice.c", line 158: improper member use: drawing
"cairoDevice.c", line 159: improper member use: pixmap
"cairoDevice.c", line 163: improper member use: drawing
"cairoDevice.c", line 164: improper member use: pixmap
"cairoDevice.c", line 164: improper member use: drawing
"cairoDevice.c", line 168: undefined struct/union member: surface
"cairoDevice.c", line 169: undefined struct/union member: cr
"cairoDevice.c", line 169: warning: implicit function declaration:
cairo_create
"cairoDevice.c", line 169: improper member use: surface
"cairoDevice.c", line 171: undefined struct/union member: cr_custom
"cairoDevice.c", line 172: undefined struct/union member: cr
"cairoDevice.c", line 172: improper member use: cr_custom
"cairoDevice.c", line 174: undefined struct/union member: cr
"cairoDevice.c", line 174: warning: implicit function declaration:
gdk_cairo_create
"cairoDevice.c", line 174: improper member use: pixmap
"cairoDevice.c", line 183: warning: implicit function declaration:
cairo_scale
"cairoDevice.c", line 183: undefined struct/union member: cr
"cairoDevice.c", line 185: warning: implicit function declaration:
cairo_save
"cairoDevice.c", line 185: improper member use: cr
"cairoDevice.c", line 217: improper member use: drawing
"cairoDevice.c", line 219: improper member use: drawing
"cairoDevice.c", line 220: improper member use: drawing
"cairoDevice.c", line 226: improper member use: pixmap
"cairoDevice.c", line 227: improper member use: drawing
"cairoDevice.c", line 227: improper member use: drawing
"cairoDevice.c", line 228: improper member use: pixmap
"cairoDevice.c", line 385: improper member use: drawing
"cairoDevice.c", line 412: improper member use: drawing
"cairoDevice.c", line 426: improper member use: pixmap
"cairoDevice.c", line 427: improper member use: pixmap
"cairoDevice.c", line 434: syntax error before or at: cairo_t
"cairoDevice.c", line 434: warning: undefined or missing type for:
cairo_t
"cairoDevice.c", line 437: undefined struct/union member: cr_custom
"cairoDevice.c", line 437: warning: implicit function declaration:
cairo_reference
"cairoDevice.c", line 437: undefined symbol: cr
"cairoDevice.c", line 451: undefined symbol: cairo_surface_t
"cairoDevice.c", line 451: undefined symbol: surface
"cairoDevice.c", line 456: warning: implicit function declaration:
cairo_image_surface_create
"cairoDevice.c", line 456: undefined symbol: CAIRO_FORMAT_ARGB32
"cairoDevice.c", line 485: undefined struct/union member: surface
"cairoDevice.c", line 492: improper member use: window
"cairoDevice.c", line 493: improper member use: window
"cairoDevice.c", line 494: improper member use: window
"cairoDevice.c", line 499: improper member use: drawing
"cairoDevice.c", line 502: improper member use: drawing
"cairoDevice.c", line 506: improper member use: window
"cairoDevice.c", line 506: improper member use: drawing
"cairoDevice.c", line 509: improper member use: drawing
"cairoDevice.c", line 510: improper member use: window
"cairoDevice.c", line 512: improper member use: window
"cairoDevice.c", line 515: improper member use: window
"cairoDevice.c", line 557: warning: implicit function declaration:
pango_cairo_create_layout
"cairoDevice.c", line 557: undefined struct/union member: cr
"cairoDevice.c", line 557: warning: improper pointer/integer
combination: op
"="
"cairoDevice.c", line 618: syntax error before or at: *
"cairoDevice.c", line 618: warning: undefined or missing type for: int
"cairoDevice.c", line 620: warning: implicit function declaration:
cairo_set_source_rgba
"cairoDevice.c", line 620: undefined symbol: cr
"cairoDevice.c", line 620: undefined symbol: color
"cairoDevice.c", line 625: syntax error before or at: *
"cairoDevice.c", line 625: warning: undefined or missing type for:
const
"cairoDevice.c", line 627: undefined symbol: cairo_line_cap_t
"cairoDevice.c", line 627: syntax error before or at: cap
"cairoDevice.c", line 628: undefined symbol: cairo_line_join_t
"cairoDevice.c", line 632: undefined symbol: gc
"cairoDevice.c", line 632: left operand of "->" must be
pointer to
struct/union
"cairoDevice.c", line 633: left operand of "->" must be
pointer to
struct/union
"cairoDevice.c", line 635: warning: implicit function declaration:
cairo_set_line_width
"cairoDevice.c", line 635: undefined symbol: cr
"cairoDevice.c", line 635: undefined symbol: gc
"cairoDevice.c", line 635: left operand of "->" must be
pointer to
struct/union
"cairoDevice.c", line 637: left operand of "->" must be
pointer to
struct/union
"cairoDevice.c", line 639: undefined symbol: cap
"cairoDevice.c", line 639: undefined symbol: CAIRO_LINE_CAP_ROUND
"cairoDevice.c", line 642: undefined symbol: CAIRO_LINE_CAP_BUTT
"cairoDevice.c", line 645: undefined symbol: CAIRO_LINE_CAP_SQUARE
"cairoDevice.c", line 648: warning: implicit function declaration:
cairo_set_line_cap
"cairoDevice.c", line 648: undefined symbol: cap
"cairoDevice.c", line 650: left operand of "->" must be
pointer to
struct/union
"cairoDevice.c", line 652: undefined symbol: join
"cairoDevice.c", line 652: undefined symbol: CAIRO_LINE_JOIN_ROUND
"cairoDevice.c", line 655: undefined symbol: CAIRO_LINE_JOIN_MITER
"cairoDevice.c", line 656: warning: implicit function declaration:
cairo_set_miter_limit
"cairoDevice.c", line 656: left operand of "->" must be
pointer to
struct/union
"cairoDevice.c", line 659: undefined symbol: CAIRO_LINE_JOIN_BEVEL
"cairoDevice.c", line 662: warning: implicit function declaration:
cairo_set_line_join
"cairoDevice.c", line 662: undefined symbol: join
"cairoDevice.c", line 664: left operand of "->" must be
pointer to
struct/union
"cairoDevice.c", line 665: left operand of "->" must be
pointer to
struct/union
"cairoDevice.c", line 666: left operand of "->" must be
pointer to
struct/union
"cairoDevice.c", line 666: left operand of "->" must be
pointer to
struct/union
"cairoDevice.c", line 670: warning: implicit function declaration:
cairo_set_dash
"cairoDevice.c", line 673: syntax error before or at: *
"cairoDevice.c", line 673: warning: undefined or missing type for:
const
"cairoDevice.c", line 675: undefined symbol: gc
"cairoDevice.c", line 675: non-unique member requires struct/union
pointer:
fill
"cairoDevice.c", line 675: left operand of "->" must be
pointer to
struct/union
"cairoDevice.c", line 676: undefined symbol: cr
"cairoDevice.c", line 676: non-unique member requires struct/union
pointer:
fill
"cairoDevice.c", line 676: left operand of "->" must be
pointer to
struct/union
"cairoDevice.c", line 677: warning: implicit function declaration:
cairo_fill_preserve
"cairoDevice.c", line 679: undefined symbol: gc
"cairoDevice.c", line 679: left operand of "->" must be
pointer to
struct/union
"cairoDevice.c", line 680: undefined symbol: cr
"cairoDevice.c", line 680: left operand of "->" must be
pointer to
struct/union
"cairoDevice.c", line 682: warning: implicit function declaration:
cairo_stroke
"cairoDevice.c", line 686: syntax error before or at: *
"cairoDevice.c", line 686: warning: undefined or missing type for:
double
"cairoDevice.c", line 686: warning: undefined or missing type for:
double
"cairoDevice.c", line 686: warning: undefined or missing type for:
double
"cairoDevice.c", line 686: warning: undefined or missing type for:
double
"cairoDevice.c", line 687: warning: undefined or missing type for:
const
"cairoDevice.c", line 689: warning: implicit function declaration:
cairo_rectangle
"cairoDevice.c", line 689: undefined symbol: cr
"cairoDevice.c", line 689: undefined symbol: x0
"cairoDevice.c", line 689: undefined symbol: x1
"cairoDevice.c", line 689: warning: pointer to void or function used
in
arithmetic
"cairoDevice.c", line 690: undefined symbol: gc
"cairoDevice.c", line 749: undefined struct/union member: cr
"cairoDevice.c", line 750: improper member use: cr
"cairoDevice.c", line 751: improper member use: cr
"cairoDevice.c", line 752: warning: implicit function declaration:
cairo_clip
"cairoDevice.c", line 752: improper member use: cr
"cairoDevice.c", line 765: improper member use: drawing
"cairoDevice.c", line 766: improper member use: drawing
"cairoDevice.c", line 767: improper member use: drawing
"cairoDevice.c", line 768: improper member use: drawing
"cairoDevice.c", line 772: improper member use: pixmap
"cairoDevice.c", line 773: improper member use: pixmap
"cairoDevice.c", line 788: undefined symbol: cairo_t
"cairoDevice.c", line 788: undefined symbol: cr
"cairoDevice.c", line 792: undefined struct/union member: cr
"cairoDevice.c", line 795: warning: implicit function declaration:
cairo_set_source_rgb
"cairoDevice.c", line 798: warning: implicit function declaration:
cairo_new_path
"cairoDevice.c", line 799: warning: implicit function declaration:
cairo_paint
"cairoDevice.c", line 801: improper member use: drawing
"cairoDevice.c", line 802: improper member use: drawing
"cairoDevice.c", line 813: warning: implicit function declaration:
cairo_surface_write_to_png
"cairoDevice.c", line 813: undefined struct/union member: surface
"cairoDevice.c", line 830: improper member use: window
"cairoDevice.c", line 839: improper member use: window
"cairoDevice.c", line 860: undefined struct/union member: cr
"cairoDevice.c", line 862: undefined struct/union member: cr
"cairoDevice.c", line 863: improper member use: cr
"cairoDevice.c", line 864: improper member use: cr
"cairoDevice.c", line 867: syntax error before or at: *
"cairoDevice.c", line 867: warning: undefined or missing type for:
double
"cairoDevice.c", line 867: warning: undefined or missing type for:
double
"cairoDevice.c", line 867: warning: undefined or missing type for:
double
"cairoDevice.c", line 867: warning: undefined or missing type for:
const
"cairoDevice.c", line 869: warning: implicit function declaration:
cairo_move_to
"cairoDevice.c", line 869: undefined symbol: cr
"cairoDevice.c", line 869: undefined symbol: x
"cairoDevice.c", line 869: undefined symbol: r
"cairoDevice.c", line 869: undefined symbol: y
"cairoDevice.c", line 870: warning: implicit function declaration:
cairo_translate
"cairoDevice.c", line 871: warning: implicit function declaration:
cairo_arc
"cairoDevice.c", line 873: undefined symbol: gc
"cairoDevice.c", line 882: undefined struct/union member: cr
"cairoDevice.c", line 884: undefined struct/union member: cr
"cairoDevice.c", line 885: improper member use: cr
"cairoDevice.c", line 886: improper member use: cr
"cairoDevice.c", line 889: syntax error before or at: *
"cairoDevice.c", line 889: warning: undefined or missing type for:
double
"cairoDevice.c", line 889: warning: undefined or missing type for:
double
"cairoDevice.c", line 889: warning: undefined or missing type for:
double
"cairoDevice.c", line 889: warning: undefined or missing type for:
double
"cairoDevice.c", line 890: warning: undefined or missing type for:
const
"cairoDevice.c", line 892: undefined symbol: cr
"cairoDevice.c", line 892: undefined symbol: x1
"cairoDevice.c", line 893: warning: implicit function declaration:
cairo_line_to
"cairoDevice.c", line 893: undefined symbol: x2
"cairoDevice.c", line 893: undefined symbol: y2
"cairoDevice.c", line 895: undefined symbol: gc
"cairoDevice.c", line 895: left operand of "->" must be
pointer to
struct/union
"cairoDevice.c", line 906: undefined struct/union member: cr
"cairoDevice.c", line 908: undefined struct/union member: cr
"cairoDevice.c", line 909: improper member use: cr
"cairoDevice.c", line 910: improper member use: cr
"cairoDevice.c", line 913: syntax error before or at: *
"cairoDevice.c", line 913: warning: undefined or missing type for: int
"cairoDevice.c", line 913: warning: undefined or missing type for:
double
"cairoDevice.c", line 913: warning: undefined or missing type for:
double
"cairoDevice.c", line 916: undefined symbol: n
"cairoDevice.c", line 917: undefined symbol: cr
"cairoDevice.c", line 917: undefined symbol: x
"cairoDevice.c", line 917: cannot dereference non-pointer type
"cairoDevice.c", line 917: undefined symbol: y
"cairoDevice.c", line 917: cannot dereference non-pointer type
"cairoDevice.c", line 918: undefined symbol: n
"cairoDevice.c", line 919: cannot dereference non-pointer type
"cairoDevice.c", line 919: cannot dereference non-pointer type
"cairoDevice.c", line 922: syntax error before or at: *
"cairoDevice.c", line 922: warning: undefined or missing type for: int
"cairoDevice.c", line 922: warning: undefined or missing type for:
double
"cairoDevice.c", line 922: warning: undefined or missing type for:
double
"cairoDevice.c", line 922: warning: undefined or missing type for:
const
"cairoDevice.c", line 924: undefined symbol: cr
"cairoDevice.c", line 924: undefined symbol: n
"cairoDevice.c", line 924: undefined symbol: x
"cairoDevice.c", line 924: undefined symbol: y
"cairoDevice.c", line 925: undefined symbol: gc
"cairoDevice.c", line 925: left operand of "->" must be
pointer to
struct/union
"cairoDevice.c", line 936: undefined struct/union member: cr
"cairoDevice.c", line 938: undefined struct/union member: cr
"cairoDevice.c", line 939: improper member use: cr
"cairoDevice.c", line 940: improper member use: cr
"cairoDevice.c", line 943: syntax error before or at: *
"cairoDevice.c", line 943: warning: undefined or missing type for: int
"cairoDevice.c", line 943: warning: undefined or missing type for:
double
"cairoDevice.c", line 943: warning: undefined or missing type for:
double
"cairoDevice.c", line 943: warning: undefined or missing type for:
const
"cairoDevice.c", line 945: undefined symbol: cr
"cairoDevice.c", line 945: undefined symbol: n
"cairoDevice.c", line 945: undefined symbol: x
"cairoDevice.c", line 945: undefined symbol: y
"cairoDevice.c", line 946: warning: implicit function declaration:
cairo_close_path
"cairoDevice.c", line 947: undefined symbol: gc
"cairoDevice.c", line 956: undefined struct/union member: cr
"cairoDevice.c", line 958: undefined struct/union member: cr
"cairoDevice.c", line 959: improper member use: cr
"cairoDevice.c", line 960: improper member use: cr
"cairoDevice.c", line 973: undefined symbol: cairo_surface_t
"cairoDevice.c", line 973: undefined symbol: image
"cairoDevice.c", line 994: warning: implicit function declaration:
cairo_image_surface_create_for_data
"cairoDevice.c", line 995: undefined symbol: CAIRO_FORMAT_ARGB32
"cairoDevice.c", line 999: undefined struct/union member: cr
"cairoDevice.c", line 1001: improper member use: cr
"cairoDevice.c", line 1002: warning: implicit function declaration:
cairo_rotate
"cairoDevice.c", line 1002: improper member use: cr
"cairoDevice.c", line 1003: improper member use: cr
"cairoDevice.c", line 1005: improper member use: cr
"cairoDevice.c", line 1006: improper member use: cr
"cairoDevice.c", line 1007: improper member use: cr
"cairoDevice.c", line 1009: warning: implicit function declaration:
cairo_set_source_surface
"cairoDevice.c", line 1009: improper member use: cr
"cairoDevice.c", line 1016: warning: implicit function declaration:
cairo_pattern_set_filter
"cairoDevice.c", line 1016: warning: implicit function declaration:
cairo_get_source
"cairoDevice.c", line 1016: improper member use: cr
"cairoDevice.c", line 1017: undefined symbol: CAIRO_FILTER_NEAREST
"cairoDevice.c", line 1020: improper member use: cr
"cairoDevice.c", line 1022: improper member use: cr
"cairoDevice.c", line 1037: improper member use: pixmap
"cairoDevice.c", line 1041: improper member use: pixmap
"cairoDevice.c", line 1064: warning: integer overflow detected: op
"<<"
"cairoDevice.c", line 1082: undefined symbol: cairo_t
"cairoDevice.c", line 1082: undefined symbol: cr
"cairoDevice.c", line 1082: syntax error before or at:
"cairoDevice.c", line 1092: warning: implicit function declaration:
cairo_rel_move_to
"cairoDevice.c", line 1095: warning: implicit function declaration:
pango_cairo_show_layout
"cairoDevice.c", line 1109: undefined struct/union member: cr
"cairoDevice.c", line 1111: improper member use: cr
"cairoDevice.c", line 1118: improper member use: drawing
"cairoDevice.c", line 1151: improper member use: drawing
"cairoDevice.c", line 1157: improper member use: drawing
"cairoDevice.c", line 1158: improper member use: drawing
"cairoDevice.c", line 1166: improper member use: drawing
"cairoDevice.c", line 1194: improper member use: drawing
"cairoDevice.c", line 1195: improper member use: drawing
"cairoDevice.c", line 1196: improper member use: drawing
"cairoDevice.c", line 1288: improper member use: drawing
"cairoDevice.c", line 1292: improper member use: window
"cairoDevice.c", line 1330: undefined symbol: cairo_t
"cairoDevice.c", line 1330: syntax error before or at: )
"cairoDevice.c", line 1367: improper member use: drawing
"cairoDevice.c", line 1367: improper member use: drawing
cc: acomp failed for cairoDevice.c
*** Error code 1
make: Fatal error: Command failed for target `cairoDevice.o'
ERROR: compilation failed for package 'cairoDevice'
* removing '/opt/R/R2-11-1/lib/R/library/cairoDevice'
4. The vcd and colorspace package seem dependent on each other.
Do you have any idear bout this.
Xiaobo.Gu
[[alternative HTML version deleted]]