From: Oberholtzer,Stephen <ste...@fr...> - 2006-06-24 16:17:45
|
Bloody hell. Why does outlook have a key combination that sends the mail I'm working on without confirmation? Let's try this again. I'm trying to get wxPerl working on a Debian box, and what I thought would be a 30-second job has begun to take a lot longer. I downloaded Wx-0.50.tar.gz (by the way, the Downloads page links to Wx-0.26.tar.gz). and installed the Debian package libwxgtk2.6-0, which includes the following files: (just in case it's important). /usr/lib/libwx_gtk2u_gizmos-2.6.so.0.3.1 /usr/lib/libwx_gtk2u_gizmos_xrc-2.6.so.0.3.1 /usr/lib/libwx_gtk2u_gl-2.6.so.0.3.1 /usr/lib/libwx_gtk2u_html-2.6.so.0.3.1 /usr/lib/libwx_gtk2u_media-2.6.so.0.3.1 /usr/lib/libwx_gtk2u_mmedia-2.6.so.0.3.1 /usr/lib/libwx_gtk2u_ogl-2.6.so.0.3.1 /usr/lib/libwx_gtk2u_plot-2.6.so.0.3.1 /usr/lib/libwx_gtk2u_qa-2.6.so.0.3.1 /usr/lib/libwx_gtk2u_stc-2.6.so.0.3.1 /usr/lib/libwx_gtk2u_svg-2.6.so.0.3.1 /usr/lib/libwx_gtk2u_xrc-2.6.so.0.3.1 It also has a bunch of other stuff, including the '.so.0' symlinks. I have also installed wx2.6-headers, has all of the wxWidgets header files in /usr/include/wx-2.6/wx (e.g. /usr/include/wx-2.6/wx/app.h) When I get to the 'make test' part, however, I get this: t/01_load.............dubious Test returned status 0 (wstat 11, 0xb) DIED. FAILED tests 1-4 Failed 4/4 tests, 0.00% okay t/02_inheritance......dubious Test returned status 0 (wstat 11, 0xb) t/03_event............dubious Test returned status 0 (wstat 11, 0xb) t/04_userdata.........dubious Test returned status 0 (wstat 11, 0xb) t/05_timer............dubious Test returned status 0 (wstat 11, 0xb) t/06_loadxpm..........dubious Test returned status 0 (wstat 11, 0xb) t/07_overload.........dubious Test returned status 0 (wstat 11, 0xb) t/08_ovl_func.........dubious Test returned status 0 (wstat 11, 0xb) t/09_create_delete....dubious Test returned status 0 (wstat 11, 0xb) t/10_oor..............dubious Test returned status 0 (wstat 11, 0xb) t/11_twostage.........dubious Test returned status 0 (wstat 11, 0xb) t/12_pod..............ok t/13_nbksizer.........dubious Test returned status 0 (wstat 11, 0xb) t/14_eh_die...........dubious Test returned status 0 (wstat 11, 0xb) t/zz_distrib..........ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------ ------- t/01_load.t 0 11 4 8 200.00% 1-4 t/02_inheritance.t 0 11 ?? ?? % ?? t/03_event.t 0 11 ?? ?? % ?? t/04_userdata.t 0 11 ?? ?? % ?? t/05_timer.t 0 11 ?? ?? % ?? t/06_loadxpm.t 0 11 ?? ?? % ?? t/07_overload.t 0 11 ?? ?? % ?? t/08_ovl_func.t 0 11 ?? ?? % ?? t/09_create_delete.t 0 11 ?? ?? % ?? t/10_oor.t 0 11 ?? ?? % ?? t/11_twostage.t 0 11 ?? ?? % ?? t/13_nbksizer.t 0 11 ?? ?? % ?? t/14_eh_die.t 0 11 ?? ?? % ?? Failed 13/15 test scripts, 13.33% okay. 4/221 subtests failed, 98.19% okay. Further investigation revealed this: daemonic:~/Wx-0.50$ perl -MWx -e0 -Iblib/lib -Iblib/arch Segmentation fault (which is what the 'wstat 11' must mean). After much effort, I finally determined that it's dying in the SetConstants function in Constants.xs, at this line: wxPli_set_const( "wxRED", "Wx::Colour", new wxColour( *wxRED ) ); At this point, wxInitializeStockObjects() must not have been called, because wxRED is NULL. As an added bonus, this does NOT segfault: daemonic:~Wx-0.50$ DISPLAY=3D:0 perl -MWx -e0 -Iblib/lib -Iblib/arch What is it that I am doing wrong? This E-Mail is intended only for the use of the individual or entity to = which it is addressed, and may contain information that is privileged, = confidential and exempt from disclosure under applicable law. If you = have received this communication in error, please do not distribute it = and notify us immediately by telephone: 610-902-9000 and delete the = original message. |