2009/8/4 Steffen Mueller <[email protected]>:
> Hi,
>
> Dodger wrote:
>>
>> Okay, so I just made wxMac 2.8.10 successfully and installed it. Then
>> I went to instal the stable WxPerl, but the Makefile.PL didn't like
>> being on a Mac (complaints about --ldflags not being a valid option,
>> etc, and thus failure). So then I grabbed the latest bleeding edge
>> version from subversion, and went to make that. THEN I went into the
>> CPAN shell to install ExtUtils::XSpp (the readme might should mention
>> that this is a requirement, BTW) and tried again and it made, tested,
>> and installed just fine.
>
> Why should it? It doesn't mention any of the other dependencies either. It's
> in Makefile.PL with all other Perl module dependencies and running
> Makefile.PL will tell you what's missing (unless it bombs out earlier, of
> course).
Well, yeah but it's just that it would be good to see a list of
dependencies rather than wading through it and then trying to figure
out what it's looking for. Rather than saying it's missing a module, I
got:
"Cannot open 'xspp -t typemap.xsp -t ../../typemap.xsp
XS/RichTextCtrl.xsp |': No such file or directory in RichText.xs, line
65"
So I had to dig around to work out what xspp *was* since it's not a
module in and of itself, but an executable that comes *with* a module.
Not the hardest thing to find, but not as readily apparent as a
missing Perl module or somehting.
Anyway, you do point out in the README that you need to install
WxWidgets first, and I figured *that* was the obvious one.
>> I originally had the Wx that came with XTools and the developer kit in
>> general, but the Wx version won't work properly with WxToolbar, so I
>> need it upgraded.
>>
>> Now, it seems wxPerl is pulling the old libraries -- and quite frankly
>> I don't know where any of this is hiding. If I do:
>>
>> wxPerl -MWx -e 'print "$Wx::VERSION\n"'
>>
>> I get:
>> 0.9102
>>
>> ...which seems to have nothing to do with 0.26 anything.
> That's indeed strange. Try running perl Makefile.PL --help. There's switches
> for explicitly setting some of the wx configuration and version. Maybe that
> helps.
...(me snipped)...
> Not really, see above. I hope I could at least help a tiny bit.
Danke, Steffen. I will try that.
-- oh, didn't hit send. Actualy, that's good. I wasn't sure what I
should be mucking with in that. I only got these options:
Usage: perl Makefile.PL [options]
--enable/disable-foo where foo is one of: dnd filesys grid help
html mdi print xrc stc docview calendar datetime
--help you are reading it
--mksymlinks create a symlink tree
--extra-libs=libs specify extra linking flags
--extra-cflags=flags specify extra compilation flags
--[no-]wx-debug [Non-] debugging wxWidgets
--[no-]wx-unicode [Non-] Unicode wxWidgets
--[no-]wx-mslu [Non-] MSLU wxWidgets (Windows only)
--wx-version=2.6[.1]
--wx-toolkit=msw|gtk|gtk2|motif|mac|wce|...
So I did this, I took the first copy of Wx out of @INC's paths, to see
what would happen. It went like this:
Circe-2:wxPerl root# wxPerl -e 'for (@INC) { if (-d "$_/Wx") { print
"$_/Wx\n" }}'
/Library/Perl/5.8.8/darwin-thread-multi-2level/Wx
/System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level/Wx
/System/Library/Perl/Extras/5.8.8/Wx
Circe-2:wxPerl root# mv
/Library/Perl/5.8.8/darwin-thread-multi-2level/Wx* oldWxPerl/
Circe-2:wxPerl root# lss oldWxPerl/
total 24
0 drwxr-xr-x 4 wheel 136 Aug 5 05:11 ./
0 drwxr-xr-x 57 wheel 1938 Aug 5 05:10 ../
0 drwxr-xr-x 35 admin 1190 Aug 4 21:30 Wx/
24 -r--r--r-- 1 admin 9195 Aug 4 21:21 Wx.pm
Circe-2:wxPerl root# wxPerl -MWx -e 'print "$Wx::VERSION\n"'
Wx object version 0.91_02 does not match bootstrap parameter 0.74 at
/System/Library/Perl/5.8.8/darwin-thread-multi-2level/DynaLoader.pm
line 253.
Compilation failed in require.
BEGIN failed--compilation aborted.
Seems to probably be a case of library conflicts between where a
source install puts things and where Apple had put things, and Apple's
older version taking precedence, but I have very little clue right now
how to sort the whole mess out because it's seeming like there's a lot
of the mess to clean. Like a litterbox in a crazy cat lady's house.
*sigh*
I was afraid of this. I said so even. Augh.
I should go back to having a mohawk. Keeps me from pulling the hair on
the sides of my head out if it's not there.
(Though I am starting to wonder... am I the only crazy person trying
to write Mac Perl GUI apps? heh...)
--
Dodger