noreply at rubyforge.org
2008-Nov-11 10:28 UTC
[wxruby-development] [ wxruby-Bugs-22745 ] Can''t build with ruby 1.9.1
Bugs item #22745, was opened at 2008-11-11 10:28 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=22745&group_id=35 Category: Compile/build Group: None Status: Open Resolution: None Priority: 4 Submitted By: Alex Fenton (brokentoy) Assigned to: Alex Fenton (brokentoy) Summary: Can''t build with ruby 1.9.1 Initial Comment:>From http://rubyforge.org/pipermail/wxruby-development/2008-November/001434.htmlI wanted to have a look at wxRuby on a recent version of ruby 1.9 (ruby-1.9.1-preview1) on Ubuntu 8.10 x86. Here is the result : chauk-mean at MyUbuntu:~/wxruby2$ ruby19 -v ruby 1.9.1 (2008-10-28 revision 19983) [i686-linux] chauk-mean at MyUbuntu:~/wxruby2$ rake19 WXRUBY_VERSION=1.9.9 gem (in /home/chauk-mean/wxruby2) Enabling DYNAMIC build Enabling RELEASE build Enabling UNICODE build The following wxWidgets features are not available and will be skipped: PrinterDC src/AboutDialogInfo.cpp:1776:20: error: rubyio.h: No such file or directory src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_SetName(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:1856: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_GetName(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:1882: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp:1886: error: ''rb_utf8_encoding'' was not declared in this scope src/AboutDialogInfo.cpp:1886: error: ''rb_enc_str_new'' was not declared in this scope src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_SetVersion(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:1905: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_HasVersion(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:1931: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_GetVersion(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:1955: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp:1959: error: ''rb_utf8_encoding'' was not declared in this scope src/AboutDialogInfo.cpp:1959: error: ''rb_enc_str_new'' was not declared in this scope src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_SetDescription(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:1978: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_HasDescription(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:2004: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_GetDescription(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:2028: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp:2032: error: ''rb_utf8_encoding'' was not declared in this scope src/AboutDialogInfo.cpp:2032: error: ''rb_enc_str_new'' was not declared in this scope src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_SetCopyright(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:2051: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_HasCopyright(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:2077: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_GetCopyright(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:2101: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp:2105: error: ''rb_utf8_encoding'' was not declared in this scope src/AboutDialogInfo.cpp:2105: error: ''rb_enc_str_new'' was not declared in this scope src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_SetLicence(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:2124: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_SetLicense(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:2149: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_HasLicence(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:2175: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_GetLicence(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:2199: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp:2203: error: ''rb_utf8_encoding'' was not declared in this scope src/AboutDialogInfo.cpp:2203: error: ''rb_enc_str_new'' was not declared in this scope src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_SetIcon(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:2224: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp:2229: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp:2232: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_HasIcon(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:2255: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_GetIcon(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:2279: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_SetWebSite(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:2304: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_HasWebSite(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:2335: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_GetWebSiteURL(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:2359: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp:2363: error: ''rb_utf8_encoding'' was not declared in this scope src/AboutDialogInfo.cpp:2363: error: ''rb_enc_str_new'' was not declared in this scope src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_GetWebSiteDescription(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:2383: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp:2387: error: ''rb_utf8_encoding'' was not declared in this scope src/AboutDialogInfo.cpp:2387: error: ''rb_enc_str_new'' was not declared in this scope src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_SetDevelopers(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:2407: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp:2417: error: ''struct RArray'' has no member named ''len'' src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_AddDeveloper(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:2447: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_HasDevelopers(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:2473: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_GetDevelopers(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:2497: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_SetDocWriters(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:2530: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp:2540: error: ''struct RArray'' has no member named ''len'' src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_AddDocWriter(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:2570: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_HasDocWriters(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:2596: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_GetDocWriters(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:2620: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_SetArtists(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:2653: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp:2663: error: ''struct RArray'' has no member named ''len'' src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_AddArtist(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:2693: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_HasArtists(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:2719: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_GetArtists(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:2743: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_SetTranslators(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:2776: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp:2786: error: ''struct RArray'' has no member named ''len'' src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_AddTranslator(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:2816: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_HasTranslators(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:2842: warning: format not a string literal and no format arguments src/AboutDialogInfo.cpp: In function ''VALUE _wrap_wxAboutDialogInfo_GetTranslators(int, VALUE*, VALUE)'': src/AboutDialogInfo.cpp:2866: warning: format not a string literal and no format arguments rake aborted! Command failed with status (1): [g++ -c -I/opt/lib/wx/include/gtk2-unicod...] (See full trace by running task with --trace) chauk-mean at MyUbuntu:~/wxruby2$ I have buillt successfully wxRuby with ruby-1.8.7p72 and ruby-1.9.0-4. So this seems to be a problem with this more recent version of ruby 1.9. I found that rubyio.h is located in a ''backward'' folder inside the ruby 1.9 include. ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=22745&group_id=35