FS#15377 - [wxgtk] missing various modules that are essential for rubygems components to work. wxruby
Attached to Project:
Arch Linux
Opened by morgan (yossarianuk) - Sunday, 05 July 2009, 11:08 GMT
Last edited by Eric Belanger (Snowman) - Wednesday, 21 October 2009, 00:19 GMT
Opened by morgan (yossarianuk) - Sunday, 05 July 2009, 11:08 GMT
Last edited by Eric Belanger (Snowman) - Wednesday, 21 October 2009, 00:19 GMT
|
Details
Description:
Wxgtk - is missing various modules that are essential for rubygems components to work. i.e wxruby i.e : libwx_gtk2u_media-2.8.so.0 There are others also. If I compile my own version from source there are always there, the arch linux package they are missing. Additional info: * package version(s) 2.8.10.1 * config and/or log files etc. This is an example error:- [morgan@arch64 iplayer-dl]$ ruby -rubygems -Ilib bin/iplayer-dl-gui /usr/lib/ruby/gems/1.8/gems/wxruby-2.0.0-x86_64-linux/lib/wxruby2.so: libwx_gtk2u_media-2.8.so.0: cannot open shared object file: No such file or directory - /usr/lib/ruby/gems/1.8/gems/wxruby-2.0.0-x86_64-linux/lib/wxruby2.so (LoadError) from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from /usr/lib/ruby/gems/1.8/gems/wxruby-2.0.0-x86_64-linux/lib/wx.rb:12 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require' from ./lib/iplayer/gui/app.rb:1 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from bin/iplayer-dl-gui:11 - The files are not there (on the drive at all) Steps to reproduce: Try and use various rubygems features. |
This task depends upon
Closed by Eric Belanger (Snowman)
Wednesday, 21 October 2009, 00:19 GMT
Reason for closing: Implemented
Additional comments about closing: wxgtk-2.8.10.1-5
Wednesday, 21 October 2009, 00:19 GMT
Reason for closing: Implemented
Additional comments about closing: wxgtk-2.8.10.1-5
Not 100% sure what you mean. Do you want me to type a command ?
If i compile wxgtk from source from the homepage it is fine (using exact same compile options)
I have noticed that the PKGBUILD has (at least on amd64) the normal wtgtk source package is commented out (this is in original PKGBUILD)
#source=(http://downloads.sourceforge.net/wxwindows/wxGTK-${pkgver}.tar.bz2)
source=(http://downloads.sourceforge.net/wxpython/wxPython-src-${pkgver}.tar.bz2)
morgan: if you rebuild wxgtk from ABS, does the file gets included? If yes, run namcap on the package and post the output here. It'll help me to find the missing (make)depends.
Building directly from the source .tar.gz file does though??
“Curiouser and curiouser"
Paste the output in a file and attach it here.
And use http://downloads.sourceforge.net/wxpython/wxPython-src-${pkgver}.tar.bz2 for the source. The wxpython source tarball also contains the source for wxgtk. It is more up-to-date than the source on the wxgtk home page and it is needed sometime to build/run the latest wxpython.
I'm getting the same problem and I suspect that it is due to not using --enable-mediactrl (which is fixed in wxgtk-media on AUR). Couldn't this version be oficially supported?
FS#11756). There seem to be some interest in this (FS#14254) though so I might reconsider. Personally, I don't mind enabling mediactrl but some users might. It looks like gconf won't be a depends anymore so I might do it.it seems I have to build wxgtk from source to use wxruby from rubygems :(
I'm not sure if the "media-ctrl" feature should be introduced the "wxgtk" library, but I fixed the problem by compiling the wxgtk source with --enable-mediactrl and copy libwx_gtk2u_media-2.8.so (linked to libwx_gtk2u_media-2.8.so.0.6.0 finally) to /usr/lib (I installed wxgtk with pacman before that).
On the other hand, maybe you should take this into account:
http://bbs.archlinux.org/viewtopic.php?id=60196
(the last post specially, since that user tells that it gets the expected behavior only by using the standard wxgtk sources (not wxPython's))
xhh: --enable-shared is the default. Adding it explicitely should't change anything.
Status: When building outside my chroot, in addition to the libwx_gtk2u_media-2.8.so library, a libwx_gtk2u_mmedia-2.8.so (note the double m) is also created. I'm not sure if it's needed here but I'm trying to find the required makedepends so I can include it as well.
To build, you'll need the patch I'm attaching.
FTR, the wxgtk-media PKGBUILD in AUR is missing a gconf makedepends.