Subject: | Test and Demo Problem on Solaris 8 / Motif |
I have perl-5.8.8, wx-2.6.3 (motif flavor) on Solaris 8 (Sparc),
compiler is gcc-4.0.3 (using -O2 -mcpu=v9). With Wx-0.56 (latest
Alien::wxWidget) I see two issues (which by the way do not occur with
the same setup on Linux, where wx uses the Gtk toolkit):
1) Test - there is the following failure
$ perl -Mblib t/10_oor.t
1..58
ok 1 - objects reference the same hash (Wx::Button)
ok 2 - objects reference the same hash (Wx::Button) (2 phase)
ok 3 - objects reference the same hash (Wx::BitmapButton)
ok 4 - objects reference the same hash (Wx::BitmapButton) (2 phase)
ok 5 - objects reference the same hash (Wx::CheckBox)
ok 6 - objects reference the same hash (Wx::CheckBox) (2 phase)
ok 7 - objects reference the same hash (Wx::CheckListBox)
Warning:
Name: listBoxSW
Class: XmScrolledWindow
DeAssocNavigator requires a navigator trait
ok 8 - objects reference the same hash (Wx::CheckListBox) (2 phase)
Warning:
Name: listBoxSW
Class: XmScrolledWindow
DeAssocNavigator requires a navigator trait
ok 9 - objects reference the same hash (Wx::Choice)
ok 10 - objects reference the same hash (Wx::Choice) (2 phase)
ok 11 - objects reference the same hash (Wx::ComboBox)
ok 12 - objects reference the same hash (Wx::ComboBox) (2 phase)
ok 13 - objects reference the same hash (Wx::Gauge)
ok 14 - objects reference the same hash (Wx::Gauge) (2 phase)
ok 15 - objects reference the same hash (Wx::ListBox)
Warning:
Name: listBoxSW
Class: XmScrolledWindow
DeAssocNavigator requires a navigator trait
ok 16 - objects reference the same hash (Wx::ListBox) (2 phase)
Warning:
Name: listBoxSW
Class: XmScrolledWindow
DeAssocNavigator requires a navigator trait
ok 17 - objects reference the same hash (Wx::ListCtrl)
ok 18 - objects reference the same hash (Wx::ListCtrl) (2 phase)
ok 19 - objects reference the same hash (Wx::ListView)
ok 20 - objects reference the same hash (Wx::ListView) (2 phase)
ok 21 - objects reference the same hash (Wx::MiniFrame)
ok 22 # skip Skipping two-phase creation for Wx::MiniFrame
ok 23 - objects reference the same hash (Wx::Notebook)
ok 24 - objects reference the same hash (Wx::Notebook) (2 phase)
ok 25 - objects reference the same hash (Wx::RadioBox)
ok 26 - objects reference the same hash (Wx::RadioBox) (2 phase)
ok 27 - objects reference the same hash (Wx::RadioButton)
ok 28 - objects reference the same hash (Wx::RadioButton) (2 phase)
ok 29 - objects reference the same hash (Wx::SashWindow)
ok 30 - objects reference the same hash (Wx::SashWindow) (2 phase)
ok 31 - objects reference the same hash (Wx::ScrollBar)
ok 32 - objects reference the same hash (Wx::ScrollBar) (2 phase)
ok 33 - objects reference the same hash (Wx::SpinButton)
ok 34 - objects reference the same hash (Wx::SpinButton) (2 phase)
not ok 35 - objects reference the same hash (Wx::SpinCtrl)
# Failed test 'objects reference the same hash (Wx::SpinCtrl)'
# in t/10_oor.t at line 67.
# got: 'Wx::SpinButton=SCALAR(0x429b7c)'
# expected: 'Wx::SpinCtrl=HASH(0x429858)'
not ok 36 - objects reference the same hash (Wx::SpinCtrl) (2 phase)
# Failed test 'objects reference the same hash (Wx::SpinCtrl) (2
phase) '
# in t/10_oor.t at line 79.
# got: 'Wx::SpinButton=SCALAR(0x429c48)'
# expected: 'Wx::SpinCtrl=HASH(0x429b70)'
ok 37 - objects reference the same hash (Wx::SplitterWindow)
ok 38 - objects reference the same hash (Wx::SplitterWindow) (2 phase)
ok 39 - objects reference the same hash (Wx::Slider)
ok 40 - objects reference the same hash (Wx::Slider) (2 phase)
ok 41 - objects reference the same hash (Wx::StaticBitmap)
ok 42 # skip Skipping two-phase creation for Wx::StaticBitmap
ok 43 - objects reference the same hash (Wx::StaticBox)
ok 44 # skip Skipping two-phase creation for Wx::StaticBox
ok 45 # skip Some controls are weird
ok 46 # skip Some controls are weird
ok 47 - objects reference the same hash (Wx::StaticText)
ok 48 # skip Skipping two-phase creation for Wx::StaticText
ok 49 - objects reference the same hash (Wx::StatusBar)
ok 50 # skip Skipping two-phase creation for Wx::StatusBar
ok 51 - objects reference the same hash (Wx::TextCtrl)
ok 52 - objects reference the same hash (Wx::TextCtrl) (2 phase)
ok 53 - objects reference the same hash (Wx::TreeCtrl)
ok 54 - objects reference the same hash (Wx::TreeCtrl) (2 phase)
ok 55 - objects reference the same hash (Wx::Window)
ok 56 - objects reference the same hash (Wx::Window) (2 phase)
ok 57 - objects reference the same hash
ok 58 - sanity check
Warning:
Name: listBoxSW
Class: XmScrolledWindow
DeAssocNavigator requires a navigator trait
# Looks like you failed 2 tests of 58.
2) The Demo (demo/demo.pl)
When I launch "cd demo; perl -Mblib demo.pl" then I get the window as
in the attachment; the sizes of the frames on the right side are
wrong, so I cannot click any buttons.
Sorry, I cannot fix this myself, but I can offer you to provide any
additional debugging information on request to help solving this.
Cheers,
Marek
Subject: | wx.gif |