Dirk Herzhauser
2009-Nov-05 10:34 UTC
installing wxruby 2.0.1. missing lwx_gtk2u_media-2.8
Hi, i tried too install wxruby-2.0.1 on opensuse 11.2 from the rake command I get the following error: ... usr/lib/gcc/i586-suse-linux/4.4/../../../../i586-suse-linux/bin/ld: cannot find -lwx_gtk2u_media-2.8 collect2: ld returned 1 exit status rake aborted! Command failed with status (1): [g++ -shared -fPIC -o -L. -rdynamic -Wl,-...] /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:995:in `sh'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1010:in `call'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1010:in `sh'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1094:in `sh'' ./rake/rakewx.rb:101 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:634:in `call'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:634:in `execute'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'' /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain'' /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 /usr/bin/rake:19:in `load'' /usr/bin/rake:19 an dirk@linuxe:~> ls -la /usr/lib/libwx_gtk2u_mmedia-2.8.so.0 lrwxrwxrwx 1 root root 31 28. Okt 11:24 /usr/lib/libwx_gtk2u_mmedia-2.8.so.0 -> libwx_gtk2u_mmedia-2.8.so.0.6.0 shows everything is there so what can I do? -- Posted via http://www.ruby-forum.com/.
Chauk-Mean Proum
2009-Nov-05 17:41 UTC
[wxruby-users] installing wxruby 2.0.1. missing lwx_gtk2u_media-2.8
Hi Dirk, 2009/11/5 Dirk Herzhauser <lists at ruby-forum.com>:> Hi, > > i tried too install wxruby-2.0.1 on opensuse 11.2 from the rake command > I get the following error: > ... > > usr/lib/gcc/i586-suse-linux/4.4/../../../../i586-suse-linux/bin/ld: > cannot find -lwx_gtk2u_media-2.8 > collect2: ld returned 1 exit status> dirk at linuxe:~> ls -la /usr/lib/libwx_gtk2u_mmedia-2.8.so.0 > lrwxrwxrwx 1 root root 31 28. Okt 11:24 > /usr/lib/libwx_gtk2u_mmedia-2.8.so.0 -> libwx_gtk2u_mmedia-2.8.so.0.6.0 > shows everything is there ?so what can I do?The missing lib is libwx_gtk2u_media-2.8 and not libwx_gtk2u_mmedia-2.8 (mmedia is an optional package). Check that you have a libwx_gtk2u_media-2.8.so accessible through your LD_LIBRARY_PATH and that points to the actual lib through symbolic links. Cheers. Chauk-Mean.
Friedrich, Axel
2009-Nov-09 07:57 UTC
[wxruby-users] installing wxruby 2.0.1. missing lwx_gtk2u_media-2.8
Hello Dirk, did you get wxruby installed on opensuse 11.2? Axel> i tried too install wxruby-2.0.1 on opensuse 11.2 from the > rake command
Dirk Herzhauser
2009-Nov-09 12:39 UTC
[wxruby-users] installing wxruby 2.0.1. missing lwx_gtk2u_media-2.8
Hi Axel, thx for you support, but unfortunatly it dosen#t work.In the meantime I started from scratch, and compiled wxWidgets 2.8-10 and wxruby again from source. for wxWidget I use the following con./configure --disable-shared --with-gtk --enable-monolithic --enable-unicode --disable-debug --enable-catch_segvs --enable-graphics_ctx--enable-mediactrl --with-opengl --with-libjpeg=builtin --with-libpng=builtin --with-libtiff=builtin --with-zlib=builtin --with-expat=builtin --enable-gui --enable-xrc --enable-mdi --enable-gif --enable-pcx --enable-iff --enable-pnm --enable-xpm --without-libmspack figure: If I now run a simple test program i get a segmentation fault: usr/lib/ruby/site_ruby/1.8/i586-linux/wxruby2.so: [BUG] Segmentation fault ruby 1.8.7 (2008-08-11 patchlevel 72) [i586-linux] Abgebrochen the ruby program looks like: # # encoding: UTF-8 require ''rubygems'' require ''wx'' include Wx class MyFrane < App def on_init Frame.new(nil,-1,"yoyo").show() end end So any help is appreciated Dirk -- Posted via http://www.ruby-forum.com/.
Friedrich, Axel
2009-Nov-09 13:08 UTC
[wxruby-users] installing wxruby 2.0.1. missing lwx_gtk2u_media-2.8
Hello Dirk,> thx for you support, but unfortunately it doesn''t work.My apologizes, but I can''t give you help. Myself, I have problems, too, installing wxruby on openSUSE (11.1). If you would have said, that you have got it running, I would have asked you, how you did it ;) . I installed wxRuby on Windows (that was _very_ easy) and did run your code (I added two lines...) require ''rubygems'' require ''wx'' include Wx class MyFrane < App def on_init Frame.new(nil,-1,"yoyo").show() end end myApp = MyFrane.new() # Fran/me ? myApp.main_loop() That run fine on Windows. BTW, my native language is German... Viele Gruesse, Axel
Dirk Herzhauser
2009-Nov-09 14:20 UTC
[wxruby-users] installing wxruby 2.0.1. missing lwx_gtk2u_media-2.8
Hi Alex, auch mit den 2 Zeilen zus?tlich hab ich das gleiche Problem> myApp = MyFrane.new() # Fran/me ? > myApp.main_loop()Unter Windows hab ich es noch nicht getestet Gr?ssle Dirk -- Posted via http://www.ruby-forum.com/.
Friedrich, Axel
2009-Nov-09 14:45 UTC
[wxruby-users] installing wxruby 2.0.1. missing lwx_gtk2u_media-2.8
Hallo Dirk, for you are getting "segfault"-error, I think, the reason is _not_ in your ruby script. And I think you realy need these additional two lines (but I''m wxruby beginner...). If you want to answer in German, maybe it is better that you write directly to my email address. Viele Gruesse, Axel
Dirk Herzhauser
2009-Nov-09 15:03 UTC
[wxruby-users] installing wxruby 2.0.1. missing lwx_gtk2u_media-2.8
Friedrich, Axel wrote:> Hallo Dirk, > > for you are getting "segfault"-error, I think, the reason is _not_ in > your ruby script. > > And I think you realy need these additional two lines (but I''m wxruby > beginner...). > > If you want to answer in German, maybe it is better that you write > directly to my email address. > > Viele Gruesse, > AxelHi Alex, I agree with you that the script should not the reason, to be honest I copied this script from some webpage for testing purpose. I found via Internet some reports about random segmentation faults but no solution yet.I experience always this segmentation fault regardless what I do, with the original libs supplied with opensuse (11.2) I got only some missing libs errors, so compiling wxWidgets was a must. I had several problems with gtk stuff in this new Version so let''s see if there is a solution is available. The language at least for my understanding doesn''t matter if its English or German. -- Posted via http://www.ruby-forum.com/.
Friedrich, Axel
2009-Nov-09 15:48 UTC
[wxruby-users] installing wxruby 2.0.1. missing lwx_gtk2u_media-2.8
> I got > only some missing libs errors, so compiling wxWidgets was a must.After compiling wxWidgets, did you compile wxRuby? If so, were you able to run "rake" in the wxRuby-Source-dir without errors? That''s where I stuck. -Axel
Dirk Herzhauser
2009-Nov-10 13:21 UTC
[wxruby-users] installing wxruby 2.0.1. missing lwx_gtk2u_media-2.8
Friedrich, Axel wrote:>> I got >> only some missing libs errors, so compiling wxWidgets was a must. > > After compiling wxWidgets, did you compile wxRuby? > If so, were you able to run "rake" in the wxRuby-Source-dir without > errors? > That''s where I stuck. > > -AxelHi Axel, the wxRUby build woked after wxWidgets irk at linuxe:~/wxruby-2.0.1> rake (in /home/dirk/wxruby-2.0.1) Enabling STATIC build Enabling RELEASE build Enabling UNICODE build The following wxWidgets features are not available and will be skipped: GCDC GraphicsBrush GraphicsContext GraphicsFont GraphicsMatrix GraphicsObject GraphicsPath GraphicsPen MediaCtrl MediaEvent PrinterDC StyledTextCtrl StyledTextEvent dirk at linuxe:~/wxruby-2.0.1> Dirk -- Posted via http://www.ruby-forum.com/.
Friedrich, Axel
2009-Nov-10 16:54 UTC
[wxruby-users] installing wxruby 2.0.1. missing lwx_gtk2u_media-2.8
Hallo Dirk, I wonder, why at your side rake run without error, while on my side rake aborts with error. I don''t think, that it''s a difference between openSuse 11.1 and 11.2. Comparing your compile-options for wxWidgets with mine, You gave the following:> for wxWidget I use the following con./configure --disable-shared > --with-gtk --enable-monolithic --enable-unicode --disable-debug > --enable-catch_segvs --enable-graphics_ctx--enable-mediactrl > --with-opengl --with-libjpeg=builtin --with-libpng=builtin > --with-libtiff=builtin --with-zlib=builtin --with-expat=builtin > --enable-gui --enable-xrc --enable-mdi --enable-gif --enable-pcx > --enable-iff --enable-pnm --enable-xpm --without-libmspackDid you realy use "--enable-graphics_ctx" and "--enable-mediactrl" _without_ a blank in between? I used the same options, but not " --without-libmspack". If I''ve enough time tomorrow, I''ll try it with this option. -Axel
Dirk Herzhauser
2009-Nov-15 10:17 UTC
[wxruby-users] installing wxruby 2.0.1. missing lwx_gtk2u_media-2.8
Hi Axel, any progress ? In the meantime I compiled ruby 1.9 and now I get several problem: (in /home/dirk/wxruby-2.0.1) Enabling STATIC build Enabling RELEASE build Enabling UNICODE build The following wxWidgets features are not available and will be skipped: GCDC GraphicsBrush GraphicsContext GraphicsFont GraphicsMatrix GraphicsObject GraphicsPath GraphicsPen MediaCtrl MediaEvent PrinterDC StyledTextCtrl StyledTextEvent dirk at linuxe:~/wxruby-2.0.1> rake (in /home/dirk/wxruby-2.0.1) Enabling STATIC build Enabling RELEASE build Enabling UNICODE build The following wxWidgets features are not available and will be skipped: GCDC GraphicsBrush GraphicsContext GraphicsFont GraphicsMatrix GraphicsObject GraphicsPath GraphicsPen MediaCtrl MediaEvent PrinterDC StyledTextCtrl StyledTextEvent g++ -c -I/usr/local/lib/wx/include/gtk2-unicode-release-static-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -DwxABI_VERSION=208010 -O2 -g -Wall -Wno-parentheses -Wno-unused-function -I. -I /usr/local/include/ruby-1.9.1 -I /usr/local/include/ruby-1.9.1/site_ruby -I /usr/local/include/ruby-1.9.1/vendor_ruby -I /usr/local/include/ruby-1.9.1/i686-linux -o obj/AboutDialogInfo.o src/AboutDialogInfo.cpp src/AboutDialogInfo.cpp:1788:20: error: rubyio.h: Datei oder Verzeichnis nicht gefunden src/AboutDialogInfo.cpp: In function ?VALUE _wrap_wxAboutDialogInfo_GetName(int, VALUE*, VALUE)?: src/AboutDialogInfo.cpp:1898: error: ?rb_utf8_encoding? was not declared in this scope src/AboutDialogInfo.cpp:1898: error: ?rb_enc_str_new? was not declared in this scope src/AboutDialogInfo.cpp: In function ?VALUE _wrap_wxAboutDialogInfo_GetVersion(int, VALUE*, VALUE)?: src/AboutDialogInfo.cpp:1971: error: ?rb_utf8_encoding? was not declared in this scope src/AboutDialogInfo.cpp:1971: error: ?rb_enc_str_new? was not declared in this scope src/AboutDialogInfo.cpp: In function ?VALUE _wrap_wxAboutDialogInfo_GetDescription(int, VALUE*, VALUE)?: src/AboutDialogInfo.cpp:2044: error: ?rb_utf8_encoding? was not declared in this scope src/AboutDialogInfo.cpp:2044: error: ?rb_enc_str_new? was not declared in this scope src/AboutDialogInfo.cpp: In function ?VALUE _wrap_wxAboutDialogInfo_GetCopyright(int, VALUE*, VALUE)?: src/AboutDialogInfo.cpp:2117: error: ?rb_utf8_encoding? was not declared in this scope src/AboutDialogInfo.cpp:2117: error: ?rb_enc_str_new? was not declared in this scope src/AboutDialogInfo.cpp: In function ?VALUE _wrap_wxAboutDialogInfo_GetLicence(int, VALUE*, VALUE)?: src/AboutDialogInfo.cpp:2215: error: ?rb_utf8_encoding? was not declared in this scope src/AboutDialogInfo.cpp:2215: error: ?rb_enc_str_new? was not declared in this scope src/AboutDialogInfo.cpp: In function ?VALUE _wrap_wxAboutDialogInfo_GetWebSiteURL(int, VALUE*, VALUE)?: src/AboutDialogInfo.cpp:2375: error: ?rb_utf8_encoding? was not declared in this scope src/AboutDialogInfo.cpp:2375: 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:2399: error: ?rb_utf8_encoding? was not declared in this scope src/AboutDialogInfo.cpp:2399: error: ?rb_enc_str_new? was not declared in this scope src/AboutDialogInfo.cpp: In function ?VALUE _wrap_wxAboutDialogInfo_GetDevelopers(int, VALUE*, VALUE)?: src/AboutDialogInfo.cpp:2520: error: ?rb_utf8_encoding? was not declared in this scope src/AboutDialogInfo.cpp:2520: error: ?rb_enc_str_new? was not declared in this scope src/AboutDialogInfo.cpp: In function ?VALUE _wrap_wxAboutDialogInfo_GetDocWriters(int, VALUE*, VALUE)?: src/AboutDialogInfo.cpp:2643: error: ?rb_utf8_encoding? was not declared in this scope src/AboutDialogInfo.cpp:2643: error: ?rb_enc_str_new? was not declared in this scope src/AboutDialogInfo.cpp: In function ?VALUE _wrap_wxAboutDialogInfo_GetArtists(int, VALUE*, VALUE)?: src/AboutDialogInfo.cpp:2766: error: ?rb_utf8_encoding? was not declared in this scope src/AboutDialogInfo.cpp:2766: error: ?rb_enc_str_new? was not declared in this scope src/AboutDialogInfo.cpp: In function ?VALUE _wrap_wxAboutDialogInfo_GetTranslators(int, VALUE*, VALUE)?: src/AboutDialogInfo.cpp:2889: error: ?rb_utf8_encoding? was not declared in this scope src/AboutDialogInfo.cpp:2889: error: ?rb_enc_str_new? was not declared in this scope rake aborted! Command failed with status (1): [g++ -c -I/usr/local/lib/wx/include/gtk2-...] -- Posted via http://www.ruby-forum.com/.
Friedrich, Axel
2009-Nov-16 08:25 UTC
[wxruby-users] installing wxruby 2.0.1. missing lwx_gtk2u_media-2.8
Hi Dirk, hmm, I compiled wxWidgets exactly with the configure-options you gave. No problem. But running rake gave me the same error message as before: ruby swig/fixmodule.rb src/dc.cpp Class: dc class wxdc ERROR! swig/fixmodule.rb Didn''t find init rake aborted! Command failed with status (1): [ruby swig/fixmodule.rb src/dc.cpp...] Which version of wxWidgets-Source did you use? I used wxWidgets 2.8.10, the "wxAll"-version, from http://prdownloads.sourceforge.net/wxwindows/ I didn''t try Ruby 1.9. I was thinking about using 1.9, because of the better threads support of 1.9, but that''s another story... Do you know, that there is a special Ruby-1.9-version of wxRuby? http://rubyforge.org/frs/?group_id=35 wxruby-ruby19-2.0.1... I''m still using: * ruby 1.8.7 (2008-08-11 patchlevel 72) [i586-linux] * wxruby: wxruby-2.0.1.tar.gz from rubyforge.org * openSuse 11.1 Axel
Dirk Herzhauser
2009-Nov-16 08:50 UTC
[wxruby-users] installing wxruby 2.0.1. missing lwx_gtk2u_media-2.8
Hi Alex, I use wxWidget 2.8.10.1.1 ON OPENsUSE 11.2 dIRK -- Posted via http://www.ruby-forum.com/.
Chauk-Mean Proum
2009-Nov-17 18:59 UTC
[wxruby-users] installing wxruby 2.0.1. missing lwx_gtk2u_media-2.8
Hi Axel, 2009/11/10 Friedrich, Axel <axel.friedrich at siemens.com>:> I wonder, why at your side rake run without error, while on my side rake aborts with error. > I don''t think, that it''s a difference between openSuse 11.1 and 11.2. >Well, I don''t use openSuse but for Ubuntu, 9.10 is really different from 9.04. The C++ compiler has changed (now g++ 4.4.1). With Ubuntu 9.04, I''ve been able to build myself wxWidgets-2.8.10. With Ubuntu 9.10, this was unsuccessful so I''m using the "official" wxWidgets package provided with Ubuntu. I''ve added the detailed steps for building wxRuby on Ubuntu-9.10 on the Wiki (http://wxruby.rubyforge.org/wiki/wiki.pl?BuildingOnTopOfLinuxDistroPackages). May be this can help. Cheers. Chauk-Mean.
Dirk Herzhauser
2009-Nov-18 17:48 UTC
[wxruby-users] installing wxruby 2.0.1. missing lwx_gtk2u_media-2.8
Hi Chauk-Mean thx for your suggestion I followed them as far as possible but unfortunately I got some problems: dirk at linuxe:~/wxruby-2.0.1> rake WXRUBY_VERSION=2.0.1 (in /home/dirk/wxruby-2.0.1) Enabling STATIC build Enabling RELEASE build Enabling UNICODE build The following wxWidgets features are not available and will be skipped: GCDC GraphicsBrush GraphicsContext GraphicsFont GraphicsMatrix GraphicsObject GraphicsPath GraphicsPen MediaCtrl MediaEvent PrinterDC StyledTextCtrl StyledTextEvent g++ -c -I/usr/local/lib/wx/include/gtk2-unicode-release-static-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -DwxABI_VERSION=208010 -O2 -g -Wall -Wno-parentheses -Wno-unused-function -I. -I /usr/local/include/ruby-1.9.1 -I /usr/local/include/ruby-1.9.1/site_ruby -I /usr/local/include/ruby-1.9.1/vendor_ruby -I /usr/local/include/ruby-1.9.1/i686-linux -o obj/AboutDialogInfo.o src/AboutDialogInfo.cpp src/AboutDialogInfo.cpp:1788:20: error: rubyio.h: Datei oder Verzeichnis nicht gefunden src/AboutDialogInfo.cpp: In function ?VALUE _wrap_wxAboutDialogInfo_GetName(int, VALUE*, VALUE)?: src/AboutDialogInfo.cpp:1898: error: ?rb_utf8_encoding? was not declared in this scope src/AboutDialogInfo.cpp:1898: error: ?rb_enc_str_new? was not declared in this scope src/AboutDialogInfo.cpp: In function ?VALUE _wrap_wxAboutDialogInfo_GetVersion(int, VALUE*, VALUE)?: src/AboutDialogInfo.cpp:1971: error: ?rb_utf8_encoding? was not declared in this scope src/AboutDialogInfo.cpp:1971: error: ?rb_enc_str_new? was not declared in this scope src/AboutDialogInfo.cpp: In function ?VALUE _wrap_wxAboutDialogInfo_GetDescription(int, VALUE*, VALUE)?: src/AboutDialogInfo.cpp:2044: error: ?rb_utf8_encoding? was not declared in this scope src/AboutDialogInfo.cpp:2044: error: ?rb_enc_str_new? was not declared in this scope src/AboutDialogInfo.cpp: In function ?VALUE _wrap_wxAboutDialogInfo_GetCopyright(int, VALUE*, VALUE)?: src/AboutDialogInfo.cpp:2117: error: ?rb_utf8_encoding? was not declared in this scope src/AboutDialogInfo.cpp:2117: error: ?rb_enc_str_new? was not declared in this scope src/AboutDialogInfo.cpp: In function ?VALUE _wrap_wxAboutDialogInfo_GetLicence(int, VALUE*, VALUE)?: src/AboutDialogInfo.cpp:2215: error: ?rb_utf8_encoding? was not declared in this scope src/AboutDialogInfo.cpp:2215: error: ?rb_enc_str_new? was not declared in this scope src/AboutDialogInfo.cpp: In function ?VALUE _wrap_wxAboutDialogInfo_GetWebSiteURL(int, VALUE*, VALUE)?: src/AboutDialogInfo.cpp:2375: error: ?rb_utf8_encoding? was not declared in this scope src/AboutDialogInfo.cpp:2375: 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:2399: error: ?rb_utf8_encoding? was not declared in this scope src/AboutDialogInfo.cpp:2399: error: ?rb_enc_str_new? was not declared in this scope src/AboutDialogInfo.cpp: In function ?VALUE _wrap_wxAboutDialogInfo_GetDevelopers(int, VALUE*, VALUE)?: src/AboutDialogInfo.cpp:2520: error: ?rb_utf8_encoding? was not declared in this scope src/AboutDialogInfo.cpp:2520: error: ?rb_enc_str_new? was not declared in this scope src/AboutDialogInfo.cpp: In function ?VALUE _wrap_wxAboutDialogInfo_GetDocWriters(int, VALUE*, VALUE)?: src/AboutDialogInfo.cpp:2643: error: ?rb_utf8_encoding? was not declared in this scope src/AboutDialogInfo.cpp:2643: error: ?rb_enc_str_new? was not declared in this scope src/AboutDialogInfo.cpp: In function ?VALUE _wrap_wxAboutDialogInfo_GetArtists(int, VALUE*, VALUE)?: src/AboutDialogInfo.cpp:2766: error: ?rb_utf8_encoding? was not declared in this scope src/AboutDialogInfo.cpp:2766: error: ?rb_enc_str_new? was not declared in this scope src/AboutDialogInfo.cpp: In function ?VALUE _wrap_wxAboutDialogInfo_GetTranslators(int, VALUE*, VALUE)?: src/AboutDialogInfo.cpp:2889: error: ?rb_utf8_encoding? was not declared in this scope src/AboutDialogInfo.cpp:2889: error: ?rb_enc_str_new? was not declared in this scope rake aborted! Command failed with status (1): [g++ -c -I/usr/local/lib/wx/include/gtk2-...] (See full trace by running task with --trace) -- Posted via http://www.ruby-forum.com/.
Alex Fenton
2009-Nov-19 16:57 UTC
[wxruby-users] installing wxruby 2.0.1. missing lwx_gtk2u_media-2.8
Hi Dirk Dirk Herzhauser wrote:> src/AboutDialogInfo.cpp:1788:20: error: rubyio.h: Datei oder Verzeichnis > nicht gefundenI haven''t followed all this thread, but it looks like you''re missing the ruby headers which are required. I''d guess there''s a package something like "ruby-1.9-dev" which you should install. alex
Friedrich, Axel
2009-Nov-30 07:57 UTC
[wxruby-users] installing wxruby 2.0.1. missing lwx_gtk2u_media-2.8
Hi, I just want to tell you the outcome. I tried using Chauk-Mean''s Ubuntu instruction on my openSUSE 11.1. But: The Linux-PC has _no_ connection to the web (isn''t allowed to). Hence, I downloaded a lot of dependencies with my Windows-PC, transfered them to the Linux-PC by flash drive and installed them manually. But because the dependencies themselves required other dependencies, I gave up at some point. :/ Because Dirk Herzhauser had some more success with openSUSE 11.2, I installed openSUSE 11.2. and tried compiling wxWidgets from source, which worked without problems on openSUSE 11.1. But this time I got an error: ... In file included from ../src/gtk/gsockgtk.cpp:21: ../include/wx/gsocket.h:40: error: using typedef-name ''GSocket'' after ''class'' /usr/include/glib-2.0/gio/giotypes.h:120: error: ''GSocket'' has a previous declaration here ... That''s the condensed description. I give up for now. Axel