Here it is:
install of wxwidgets from source is ok!
but cpan install Alien::wxWidgets breaks :(
So then I tried installing from the tar.gz and this seems to work...
perhaps some functionalities will be missing, but I don't know which...
HERE IT COMES....
check for wx-config :
Mac2:Alien-wxWidgets-0.33 ec$ which wx-config
/usr/local/bin/wx-config
OK
Then follow instructions in README.txt of Alien-wxWidgets :
Mac2:Alien-wxWidgets-0.33 ec$ perl Build.PL
Creating custom builder _build/lib/My/Build/
new_from_context_is_broken.pm in _build/lib/My/Build
Checking whether your kit is complete...
Looks good
Checking prerequisites...
Looks good
Do you want to build wxWidgets? [no]
no
Creating new 'Build' script for 'Alien-wxWidgets' version '0.33'
OK, and now build the thing...
Mac2:Alien-wxWidgets-0.33 ec$ perl Build
lib/Alien/wxWidgets/Utility.pm -> blib/lib/Alien/wxWidgets/Utility.pm
lib/Alien/wxWidgets.pm -> blib/lib/Alien/wxWidgets.pm
'richtext' library not found: some functionality will be missing
'aui' library not found: some functionality will be missing
Undefined key 'linkflags' in wx_config at inc/My/Build/Base.pm line
301.
Use of uninitialized value in concatenation (.) or string at inc/My/
Build/MacOSX_wx_config.pm line 31.
Manifying blib/lib/Alien/wxWidgets/Utility.pm -> blib/libdoc/
Alien::wxWidgets::Utility.3
Manifying blib/lib/Alien/wxWidgets.pm -> blib/libdoc/
Alien::wxWidgets.3
MOSTLY GOOD, So now test :
Mac2:Alien-wxWidgets-0.33 ec$ perl Build test
t/01_load............ok
t/zy_pod_coverage....ok
t/zz_pod.............ok
All tests successful.
Files=3, Tests=18, 2 wallclock secs ( 0.47 cusr + 0.20 csys =
0.67 CPU)
WOW ! Install it now !
Mac2:Alien-wxWidgets-0.33 ec$ sudo perl Build install
Password:
'richtext' library not found: some functionality will be missing
'aui' library not found: some functionality will be missing
Undefined key 'linkflags' in wx_config at inc/My/Build/Base.pm line
301.
Use of uninitialized value in concatenation (.) or string at inc/My/
Build/MacOSX_wx_config.pm line 31.
Installing /usr/local/lib/perl5/site_perl/5.8.8/darwin-2level/Alien/
wxWidgets/Config/mac_2_6_2_uni_gcc_3_4.pm
Files found in blib/arch: installing files in blib/lib into
architecture dependent library tree
Installing /usr/local/lib/perl5/site_perl/5.8.8/darwin-2level/Alien/
wxWidgets.pm
Installing /usr/local/lib/perl5/site_perl/5.8.8/darwin-2level/Alien/
wxWidgets/Utility.pm
Installing /usr/local/share/man/man3/Alien::wxWidgets.3
Installing /usr/local/share/man/man3/Alien::wxWidgets::Utility.3
Writing /usr/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/
Alien/wxWidgets/.packlist
Well, seems to have installed the thing :)
now cpan install Wx works, but test fails :/
[snip]
MBARBON/Wx-0.81.tar.gz
/usr/bin/make -- OK
Running make test
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01_load.............ok
t/02_inheritance......ok
t/03_event............ok
t/04_userdata.........ok
12/53 skipped: various reasons
t/05_timer............skipped
all skipped: Hangs on wxMac
t/06_loadxpm..........ok
t/07_overload.........ok
t/08_ovl_func.........ok
7/172 skipped: various reasons
t/09_create_delete....ok
t/10_oor..............ok
8/58 skipped: various reasons
t/11_twostage.........ok
t/12_pod..............ok
t/13_nbksizer.........ok
t/14_eh_die...........skipped
all skipped: Hangs on wxMac
t/15_threads..........skipped
all skipped: no threads
t/16_stream...........ok
t/17_thread_evt.......skipped
all skipped: no threads
t/18_unicode..........ok
t/zz_distrib..........
t/zz_distrib..........NOK 2/2# Failed test 'Generated by MY_Metafile'
# in t/zz_distrib.t at line 18.
# 'ExtUtils::MakeMaker version 6.42'
# doesn't match '(?-xism:MY_Metafile)'
# Looks like you failed 1 test of 2.
t/zz_distrib..........dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 2
Failed 1/2 tests, 50.00% okay
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/zz_distrib.t 1 256 2 1 2
4 tests and 27 subtests skipped.
Failed 1/19 test scripts. 1/674 subtests failed.
Files=19, Tests=674, 18 wallclock secs ( 8.53 cusr + 1.39 csys =
9.92 CPU)
Failed 1/19 test programs. 1/674 subtests failed.
make: *** [test_dynamic] Error 1
MBARBON/Wx-0.81.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module,
try:
reports MBARBON/Wx-0.81.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
MBARBON/Wx-0.81.tar.gz : make_test NO
SO, I can try with force install, but that doesn't seem the right way
for me :(
Thanks for help !
--
Erik Colson
http://www.ecocode.net