Skip Menu |
 

This queue is for tickets about the Wx CPAN distribution.

Report information
The Basics
Id: 25649
Status: open
Priority: 0/
Queue: Wx

People
Owner: mbarbon [...] users.sourceforge.net
Requestors: Marek.Rouchal [...] gmx.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.70
Fixed in: (no value)



Subject: Wx::Media missing?
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Type: text/plain; charset="utf8"
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 1798
Download (untitled) / with headers
text/plain 1.7k
I have perl-5.8.8 (built with gcc-4.0.3 on Solaris 8 and RedHat Enterprise Linux 3.0), wx-2.8.2 and Wx-0.70. On both of these UNIX platforms I get this error on the first test: $ perl -Mblib t/01_load.t 1..4 ok 1 - use Wx; Can't locate Wx/Media.pm in @INC (@INC contains: /home/hwadm/.cpan/build/Wx- 0.70/blib/arch /home/hwadm/.cpan/build/Wx- 0.70/blib/lib /opt/perl_5.8.8/lib .) at (eval 20) line 1. BEGIN failed--compilation aborted at (eval 20) line 1. BEGIN failed--compilation aborted at t/01_load.t line 14. # Looks like you planned 4 tests but only ran 1. # Looks like your test died just after 1. Here is the list of installed Wx libs (Linux): /opt/perl_5.8.8/ext/lib/libwx_base-2.8.so.0.1.0 /opt/perl_5.8.8/ext/lib/libwx_base_net-2.8.so.0.1.0 /opt/perl_5.8.8/ext/lib/libwx_base_xml-2.8.so.0.1.0 /opt/perl_5.8.8/ext/lib/libwx_gtk2_adv-2.8.so.0.1.0 /opt/perl_5.8.8/ext/lib/libwx_gtk2_aui-2.8.so.0.1.0 /opt/perl_5.8.8/ext/lib/libwx_gtk2_core-2.8.so.0.1.0 /opt/perl_5.8.8/ext/lib/libwx_gtk2_fl-2.8.so.0.1.0 /opt/perl_5.8.8/ext/lib/libwx_gtk2_gizmos-2.8.so.0.1.0 /opt/perl_5.8.8/ext/lib/libwx_gtk2_gizmos_xrc-2.8.so.0.1.0 /opt/perl_5.8.8/ext/lib/libwx_gtk2_gl-2.8.so.0.1.0 /opt/perl_5.8.8/ext/lib/libwx_gtk2_html-2.8.so.0.1.0 /opt/perl_5.8.8/ext/lib/libwx_gtk2_mmedia-2.8.so.0.1.0 /opt/perl_5.8.8/ext/lib/libwx_gtk2_ogl-2.8.so.0.1.0 /opt/perl_5.8.8/ext/lib/libwx_gtk2_plot-2.8.so.0.1.0 /opt/perl_5.8.8/ext/lib/libwx_gtk2_qa-2.8.so.0.1.0 /opt/perl_5.8.8/ext/lib/libwx_gtk2_richtext-2.8.so.0.1.0 /opt/perl_5.8.8/ext/lib/libwx_gtk2_stc-2.8.so.0.1.0 /opt/perl_5.8.8/ext/lib/libwx_gtk2_svg-2.8.so.0.1.0 /opt/perl_5.8.8/ext/lib/libwx_gtk2_xrc-2.8.so.0.1.0 I think I remember that there was a libwx_media_* as well, but it does not seem to be in wx-2.8.2 any more. Any idea? Cheers, Marek
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Message-Id: <rt-3.6.HEAD-19775-1175351456-1251.25649-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 162
Download (untitled) / with headers
text/plain 162b
For me, under Linux, a missing media library is handled gracefully for both GTK2 and Motif. I really have no idea what might be wrong in your case :-( Mattia
X-Originalarrivaltime: 02 Apr 2007 10:13:20.0439 (UTC) FILETIME=[8A0C9C70:01C7750F]
MIME-Version: 1.0
X-Spam-Status: No, hits=-1.6 required=8.0 tests=BAYES_00,DK_POLICY_SIGNSOME,NO_REAL_NAME,SPF_PASS
In-Reply-To: <rt-3.6.HEAD-19775-1175351456-1251.25649-6-0 [...] rt.cpan.org>
Content-Class: urn:content-classes:message
Received-SPF: pass (x1.develooper.com: domain of marek.rouchal [...] infineon.com designates 217.10.60.22 as permitted sender)
Content-Type: text/plain; charset="utf-8"
X-MS-Tnef-Correlator:
X-RT-Original-Encoding: us-ascii
Received: from la.mx.develooper.com (unknown [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id 989C84D8117 for <bug-Wx [...] rt.cpan.org>; Mon, 2 Apr 2007 06:23:31 -0400 (EDT)
Received: (qmail 24450 invoked by alias); 2 Apr 2007 10:13:36 -0000
Received: from smtp1.infineon.com (HELO smtp1.infineon.com) (217.10.60.22) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Mon, 02 Apr 2007 03:13:25 -0700
Received: from unknown (HELO mucse312.eu.infineon.com) ([172.23.30.12]) by smtp1.infineon.com with ESMTP; 02 Apr 2007 12:13:20 +0200
Received: from mucse304.eu.infineon.com ([172.23.30.4]) by mucse312.eu.infineon.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Mon, 2 Apr 2007 12:13:20 +0200
Delivered-To: cpan-bug+wx [...] diesel.bestpractical.com
Subject: RE: [rt.cpan.org #25649] Wx::Media missing?
Return-Path: <marek.rouchal [...] infineon.com>
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: bug-Wx [...] rt.cpan.org
Thread-Index: AcdzoV+sc+CJVuZXRAKmkhwphbn2SABbeSJQ
X-SBRS: None
Date: Mon, 2 Apr 2007 12:13:19 +0200
X-MS-Has-Attach:
Thread-Topic: [rt.cpan.org #25649] Wx::Media missing?
Message-Id: <5A2C73EEAC2539458E55C514A51DCC5D5EC253 [...] mucse304.eu.infineon.com>
X-Mimeole: Produced By Microsoft Exchange V6.5
To: <bug-Wx [...] rt.cpan.org>
Content-Transfer-Encoding: quoted-printable
From: <marek.rouchal [...] infineon.com>
X-RT-Original-Encoding: utf-8
RT-Message-ID: <rt-3.6.HEAD-16497-1175509559-1709.25649-0-0 [...] rt.cpan.org>
Content-Length: 695
Download (untitled) / with headers
text/plain 695b
Hmmm - what makes me wonder is that wx-2.8.* does not seem to Include a "media" library any more - it contain "mmedia" Though, but I have no idea whether this is the same or Something completely different... And I see the same test Failure both on Solaris (motif) and Linux (gtk2) here. -Marek Show quoted text
-----Original Message----- From: via RT [mailto:bug-Wx@rt.cpan.org] Sent: Saturday, March 31, 2007 4:31 PM To: MAREKR@cpan.org Subject: [rt.cpan.org #25649] Wx::Media missing? <URL: http://rt.cpan.org/Ticket/Display.html?id=25649 > For me, under Linux, a missing media library is handled gracefully for both GTK2 and Motif. I really have no idea what might be wrong in your case :-( Mattia
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Message-Id: <rt-3.6.HEAD-13487-1177055989-779.25649-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 2857
Download (untitled) / with headers
text/plain 2.7k
I dived again into this once again, and this is what I found: On Solaris (8, Sparc), when I build wx-2.8.3 (with standard options), I get the following libs: /opt/perl_5.8.8/ext/lib/libwx_base-2.8.so@ /opt/perl_5.8.8/ext/lib/libwx_base_net-2.8.so@ /opt/perl_5.8.8/ext/lib/libwx_base_xml-2.8.so@ /opt/perl_5.8.8/ext/lib/libwx_motif_adv-2.8.so@ /opt/perl_5.8.8/ext/lib/libwx_motif_aui-2.8.so@ /opt/perl_5.8.8/ext/lib/libwx_motif_core-2.8.so@ /opt/perl_5.8.8/ext/lib/libwx_motif_fl-2.8.so@ /opt/perl_5.8.8/ext/lib/libwx_motif_gizmos-2.8.so@ /opt/perl_5.8.8/ext/lib/libwx_motif_gizmos_xrc-2.8.so@ /opt/perl_5.8.8/ext/lib/libwx_motif_gl-2.8.so@ /opt/perl_5.8.8/ext/lib/libwx_motif_html-2.8.so@ /opt/perl_5.8.8/ext/lib/libwx_motif_media-2.8.so@ /opt/perl_5.8.8/ext/lib/libwx_motif_ogl-2.8.so@ /opt/perl_5.8.8/ext/lib/libwx_motif_plot-2.8.so@ /opt/perl_5.8.8/ext/lib/libwx_motif_qa-2.8.so@ /opt/perl_5.8.8/ext/lib/libwx_motif_richtext-2.8.so@ /opt/perl_5.8.8/ext/lib/libwx_motif_stc-2.8.so@ /opt/perl_5.8.8/ext/lib/libwx_motif_svg-2.8.so@ /opt/perl_5.8.8/ext/lib/libwx_motif_xrc-2.8.so@ As you can see, there is a "libwx_motif_media-2.8.so". However, in Wx- 0.73/ext/media/Makefile.PL, there is: NO_WX_PLATFORMS => [ 'motif' ] When I remove 'motif' from the array, all build and test of Wx-0.73 on Solaris 8 Sparc runs OK. Is there a specific way to test that the "media" interface is OK? On RedHat Enterprise Linux 3.0, however, when building wx-2.8.3, I get the following libs: /opt/perl_5.8.8/ext/lib/libwx_base-2.8.so@ /opt/perl_5.8.8/ext/lib/libwx_base_net-2.8.so@ /opt/perl_5.8.8/ext/lib/libwx_base_xml-2.8.so@ /opt/perl_5.8.8/ext/lib/libwx_gtk2_adv-2.8.so@ /opt/perl_5.8.8/ext/lib/libwx_gtk2_aui-2.8.so@ /opt/perl_5.8.8/ext/lib/libwx_gtk2_core-2.8.so@ /opt/perl_5.8.8/ext/lib/libwx_gtk2_fl-2.8.so@ /opt/perl_5.8.8/ext/lib/libwx_gtk2_gizmos-2.8.so@ /opt/perl_5.8.8/ext/lib/libwx_gtk2_gizmos_xrc-2.8.so@ /opt/perl_5.8.8/ext/lib/libwx_gtk2_gl-2.8.so@ /opt/perl_5.8.8/ext/lib/libwx_gtk2_html-2.8.so@ /opt/perl_5.8.8/ext/lib/libwx_gtk2_mmedia-2.8.so@ /opt/perl_5.8.8/ext/lib/libwx_gtk2_ogl-2.8.so@ /opt/perl_5.8.8/ext/lib/libwx_gtk2_plot-2.8.so@ /opt/perl_5.8.8/ext/lib/libwx_gtk2_qa-2.8.so@ /opt/perl_5.8.8/ext/lib/libwx_gtk2_richtext-2.8.so@ /opt/perl_5.8.8/ext/lib/libwx_gtk2_stc-2.8.so@ /opt/perl_5.8.8/ext/lib/libwx_gtk2_svg-2.8.so@ /opt/perl_5.8.8/ext/lib/libwx_gtk2_xrc-2.8.so@ Obviously, the wx is now based on gtk2, not motif; but there is no "media" library - instead there is a "mmedia" library - I am confused - is this the same, but under a different name? Well, I checked with "nm" and found that in mmedia there is almost only some "Sound" stuff in, while in "media" there "MediaCtrl" in - but why is that not built by wx-2.8.3 on Linux/gtk2? Puzzled, Marek
X-Sensitivity: 3
MIME-Version: 1.0
X-Spam-Status: No, hits=-2.6 required=8.0 tests=BAYES_00,DK_POLICY_SIGNSOME
X-Scanned: with antispam and antivirus automated system at libero.it
X-Xam3-Api-Version: 4.3 (R1) (B3pl19)
Received-SPF: pass (x1.develooper.com: local policy)
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: iso-8859-1
Received: from la.mx.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id 46ACC4D80AD for <bug-Wx [...] rt.cpan.org>; Fri, 20 Apr 2007 05:28:50 -0400 (EDT)
Received: (qmail 3601 invoked by alias); 20 Apr 2007 09:28:50 -0000
Received: from smtp-out4.libero.it (HELO smtp-out4.libero.it) (212.52.84.46) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Fri, 20 Apr 2007 02:28:36 -0700
Received: from localhost (172.31.0.49) by smtp-out4.libero.it (7.3.120) id 4611FF52011C8764 for bug-Wx [...] rt.cpan.org; Fri, 20 Apr 2007 11:28:31 +0200
Received: from smtp-out2.libero.it ([172.31.0.38]) by localhost (asav-out8.libero.it [192.168.32.36]) (amavisd-new, port 10024) with ESMTP id l+KxBoLhvHGe for <bug-Wx [...] rt.cpan.org>; Fri, 20 Apr 2007 11:28:31 +0200 (CEST)
Received: from libero.it (192.168.17.7) by smtp-out2.libero.it (7.3.120) id 4611FD4B0085243F for bug-Wx [...] rt.cpan.org; Fri, 20 Apr 2007 11:28:31 +0200
X-Senderip: 195.110.97.5
Delivered-To: cpan-bug+wx [...] diesel.bestpractical.com
Subject: Re:[rt.cpan.org #25649] Wx::Media missing?
Return-Path: <mattia.barbon [...] libero.it>
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: bug-Wx [...] rt.cpan.org
Date: Fri, 20 Apr 2007 11:28:31 +0200
Message-Id: <JGSIBJ$7BA20E23076130D745F4E924E3C4A6F0 [...] libero.it>
To: "bug-Wx" <bug-Wx [...] rt.cpan.org>
Content-Transfer-Encoding: quoted-printable
From: "Mattia Barbon \<mattia\.barbon\ [...] libero\.it\>" <mattia.barbon [...] libero.it>
X-RT-Original-Encoding: utf-8
RT-Message-ID: <rt-3.6.HEAD-13447-1177061344-27.25649-0-0 [...] rt.cpan.org>
Content-Length: 1576
Download (untitled) / with headers
text/plain 1.5k
Show quoted text
> > Queue: Wx > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=25649 > > > I dived again into this once again, and this is what I found: > > On Solaris (8, Sparc), when I build wx-2.8.3 (with standard options), > I get the following libs:
Show quoted text
> /opt/perl_5.8.8/ext/lib/libwx_motif_media-2.8.so@
Show quoted text
> As you can see, there is a "libwx_motif_media-2.8.so". However, in Wx- > 0.73/ext/media/Makefile.PL, there is: > NO_WX_PLATFORMS => [ 'motif' ] > When I remove 'motif' from the array, all build and test of Wx-0.73 on > Solaris 8 Sparc runs OK. Is there a specific way to test that > the "media" interface is OK?
IIRC in Wx::Demo there is a media example. You can try playing an audio or multimedia file. I used AVI under Win32 and and MP3 under Linux. Show quoted text
> On RedHat Enterprise Linux 3.0, however, when building wx-2.8.3, I get
Show quoted text
> Obviously, the wx is now based on gtk2, not motif; but there is > no "media" library - instead there is a "mmedia" library - I am > confused - is this the same, but under a different name? Well, > I checked with "nm" and found that in mmedia there is almost only > some "Sound" stuff in, while in "media" there "MediaCtrl" in - but why > is that not built by wx-2.8.3 on Linux/gtk2?
mmedia is a completely different (and deprecated) beast. If I remember correctly Wx::MediaCtrl is build if gstreamer 0.8 0r 0.10 is installed (you will also need the -dev packages). HTH Mattia ------------------------------------------------------ Leggi GRATIS le tue mail con il telefonino i-mode™ di Wind http://i-mode.wind.it/
MIME-Version: 1.0
In-Reply-To: <rt-3.6.HEAD-13447-1177061344-27.25649-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Message-Id: <rt-3.6.HEAD-13555-1177077465-407.25649-0-0 [...] rt.cpan.org>
References: <JGSIBJ$7BA20E23076130D745F4E924E3C4A6F0 [...] libero.it> <rt-3.6.HEAD-13447-1177061344-27.25649-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 1514
Download (untitled) / with headers
text/plain 1.4k
On Fr. 20. Apr. 2007, 05:29:04, mattia.barbon@libero.it wrote: Show quoted text
> > As you can see, there is a "libwx_motif_media-2.8.so". However, in
Wx- Show quoted text
> > 0.73/ext/media/Makefile.PL, there is: > > NO_WX_PLATFORMS => [ 'motif' ] > > When I remove 'motif' from the array, all build and test of Wx-
0.73 on Show quoted text
> > Solaris 8 Sparc runs OK. Is there a specific way to test that > > the "media" interface is OK?
> > IIRC in Wx::Demo there is a media example. You can try playing > an audio or multimedia file. I used AVI under Win32 and and MP3 > under Linux.
Well, when selecting the Controls->wxMediaCtrl from the demo, I immediately get a segmentation fault :-/ Looks like there _is_ a reason not to support MediaCtrl on Solaris/Motif :-( Show quoted text
> mmedia is a completely different (and deprecated) beast. If > I remember correctly Wx::MediaCtrl is build if gstreamer 0.8 0r 0.10 > is installed (you will also need the -dev packages).
Correct, thank you for the hint! This is not transparent at all from the configure run of wx-2.8.3. I installed liboil, libgstreamer and the plugins, and now wx-2.8.3 happily builds libwx_gtk2_media.so and Wx recognizes it (I had to re-install Alien::wxWidgets, though). Now I am trying to build gstreamer on Solaris, and see whether that makes the "media" library on Solaris/Motif work better.. Ah, wait! The MediaCtrl demo in Wx::Demo bombs out on Linux as well (segfault), despite the successful build with gstreamer-0.10 :-( How do you test Wx::Media on Linux? Thanks, Marek
MIME-Version: 1.0
In-Reply-To: <rt-3.6.HEAD-13555-1177077465-407.25649-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <JGSIBJ$7BA20E23076130D745F4E924E3C4A6F0 [...] libero.it> <rt-3.6.HEAD-13447-1177061344-27.25649-0-0 [...] rt.cpan.org> <rt-3.6.HEAD-13555-1177077465-407.25649-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-2597-1319756413-1335.25649-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
From: steve.cookson [...] sca-uk.com
X-RT-Original-Encoding: utf-8
Content-Length: 643
Download (untitled) / with headers
text/plain 643b
On Fri Apr 20 09:57:46 2007, MAREKR wrote: Show quoted text
> Ah, wait! The MediaCtrl demo in Wx::Demo bombs out on Linux as well > (segfault), despite the successful build with gstreamer-0.10 :-( > > How do you test Wx::Media on Linux?
This should work with the correct dependencies. The dependencies are not well documented or managed. They are (as I recall): apt-get -y install libgconf2-dev apt-get -y install libgtk2.0-dev apt-get -y install libgstreamer0.10-0 apt-get -y install libgstreamer0.10-dev apt-get -y install libgstreamer-plugins-base0.10-0 apt-get -y install libgstreamer-plugins-base0.10-dev Then run "cpan -i Wx". Regards Steve


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.