using 'sudo cpan' under Ubuntu linux, I installed XUL::Node. The installed version is 0.06 When reading the documentation, it refers to XUL::Node::Event, which is not in the distribution, so I installed that.
It seems (I am not quite sure about this) that x-n-Event is installed with XUL::Node version 0.05. I had to reinstall XUL::Node. I then found POE::Component::XUL and installed that. No problem installing.
I copied the sample code in the documentation directly into a file, but the script would not run. I got an error relating to the apps key Test not being a callback or code ref. (I did not keep a copy of the original error) So I tried cleaning both POE and XUL::Node from my system (deleting all directories and files), and re-installing. Now POE::Component::XUL will not install. I get the following error:
Conclusion: XUL::Node::State is associated with version 0.05 but not version 0.06.cp lib/POE/XUL/EventManager.pm blib/lib/POE/XUL/EventManager.pm cp lib/POE/XUL/Session.pm blib/lib/POE/XUL/Session.pm cp lib/POE/XUL/SessionManager.pm blib/lib/POE/XUL/SessionManager.pm cp lib/POE/Component/XUL.pm blib/lib/POE/Component/XUL.pm cp lib/POE/XUL/ChangeManager.pm blib/lib/POE/XUL/ChangeManager.pm Manifying blib/man3/POE::Component::XUL.3pm /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" -e" "test_ha +rness(0, 'blib/lib', 'blib/arch')" t/*.t t/00_compile....ok 1/6Can't +locate XUL/Node/State.pm in @INC (@INC contains: /root/.cpan/build/PO +E-Component-XUL-0.02/blib/lib /root/.cpan/build/POE-Component-XUL-0.0 +2/blib/arch /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl +/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/p +erl/5.8 /usr/local/lib/site_perl /usr/local/lib/perl/5.8.7 /usr/local +/share/perl/5.8.7 .) at /root/.cpan/build/POE-Component-XUL-0.02/blib +/lib/POE/XUL/ChangeManager.pm line 8. snip
Question: was that a packaging mistake or part of a redesign? How do I get POE::Component::XUL to work?
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |