Mattia Barbon via RT wrote:
Show quoted text>> With wxWidgets 2.8.9 (from MacPorts) and Perl 5.10.0 on OS X 10.4 the
>> ext/docview/t/04_cmdproc.t test cores. Looks like its in
>> Wx__Command_GetName ().
>
> Is that 10.4 Intel or PPC and which gcc version/Xcode release
> have you installed?
Intel on a first gen Macbook, XCode 2.5.
$ uname -a
Darwin windhund.schwern.org 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10
18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 i386 MacBook1,1 Darwin
$ gcc --version
i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5370)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Show quoted text> If you run:
>
> $ perl -MAlien::wxWidgets=:dump -e 42
>
> it should output something like
> $VAR1 = {
> 'compiler_kind' => 'gcc',
> 'version' => '2.008004',
> 'build' => 'mono',
> 'key' => 'mac_2_8_4_dbg_uni_gcc_3_4',
> 'package' =>
> 'Alien::wxWidgets::Config::mac_2_8_4_dbg_uni_gcc_3_4',
> 'compiler_version' => '3.4',
> 'mslu' => 0,
> 'unicode' => 1,
> 'toolkit' => 'mac',
> 'debug' => 1
> };
$ perl -MAlien::wxWidgets=:dump -e 42
$VAR1 = {
'compiler_kind' => 'gcc',
'version' => '2.008009',
'build' => 'mono',
'key' => 'mac_2_8_9_uni_gcc_3_4',
'package' => 'Alien::wxWidgets::Config::mac_2_8_9_uni_gcc_3_4',
'compiler_version' => '3.4',
'mslu' => 0,
'unicode' => 1,
'toolkit' => 'mac',
'debug' => 0
};
$VAR2 = {
'compiler_kind' => 'gcc',
'version' => '2.008008',
'build' => 'multi',
'key' => 'mac_2_8_8_gcc_3_4',
'package' => 'Alien::wxWidgets::Config::mac_2_8_8_gcc_3_4',
'compiler_version' => '3.4',
'mslu' => 0,
'unicode' => 0,
'toolkit' => 'mac',
'debug' => 0
};
Show quoted text> could you find the file mentioned in the "package" line
> and attach it here?
Both are attached.
Show quoted text> P.S.: have you tried letting Alien::wxWidgets build wxWidgets?
Yes, though I don't remember what went wrong there. I'll try it again and report.
Something is confused because now the Wx tests all pass. The difference being
that I installed an updated Alien::WxWidgets a few days ago but told it not to
build. So perhaps the previous attempt was using the Alien::WxWidgets version
and now I'm really using the macports?
--
Being faith-based doesn't trump reality.
-- Bruce Sterling
package Alien::wxWidgets::Config::mac_2_8_8_gcc_3_4;
use strict;
our %VALUES;
{
no strict 'vars';
%VALUES = %{
$VAR1 = {
'defines' => '-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXMAC__ ',
'include_path' => '-I/usr/local/perl/5.10.0/lib/site_perl/5.10.0/darwin-thread-multi-2level/Alien/wxWidgets/mac_2_8_8/lib/wx/include/mac-ansi-release-2.8 -I/usr/local/perl/5.10.0/lib/site_perl/5.10.0/darwin-thread-multi-2level/Alien/wxWidgets/mac_2_8_8/include/wx-2.8 ',
'alien_package' => 'Alien::wxWidgets::Config::mac_2_8_8_gcc_3_4',
'version' => '2.008008',
'alien_base' => 'mac_2_8_8_gcc_3_4',
'link_libraries' => ' -L/usr/local/perl/5.10.0/lib/site_perl/5.10.0/darwin-thread-multi-2level/Alien/wxWidgets/mac_2_8_8/lib',
'c_flags' => '-UWX_PRECOMP ',
'_libraries' => {
'richtext' => {
'link' => '-lwx_mac_richtext-2.8',
'dll' => 'libwx_mac_richtext-2.8.dylib'
},
'core' => {
'link' => '-lwx_mac_core-2.8',
'dll' => 'libwx_mac_core-2.8.dylib'
},
'gl' => {
'link' => '-lwx_mac_gl-2.8',
'dll' => 'libwx_mac_gl-2.8.dylib'
},
'net' => {
'link' => '-lwx_base_carbon_net-2.8',
'dll' => 'libwx_base_carbon_net-2.8.dylib'
},
'html' => {
'link' => '-lwx_mac_html-2.8',
'dll' => 'libwx_mac_html-2.8.dylib'
},
'media' => {
'link' => '-lwx_mac_media-2.8',
'dll' => 'libwx_mac_media-2.8.dylib'
},
'xml' => {
'link' => '-lwx_base_carbon_xml-2.8',
'dll' => 'libwx_base_carbon_xml-2.8.dylib'
},
'animate' => {
'link' => '-lwx_mac_animate-2.8',
'dll' => 'libwx_mac_animate-2.8.dylib'
},
'xrc' => {
'link' => '-lwx_mac_xrc-2.8',
'dll' => 'libwx_mac_xrc-2.8.dylib'
},
'base' => {
'link' => '-lwx_base_carbon-2.8',
'dll' => 'libwx_base_carbon-2.8.dylib'
},
'stc' => {
'link' => '-lwx_mac_stc-2.8',
'dll' => 'libwx_mac_stc-2.8.dylib'
},
'aui' => {
'link' => '-lwx_mac_aui-2.8',
'dll' => 'libwx_mac_aui-2.8.dylib'
},
'fl' => {
'link' => '-lwx_mac_fl-2.8',
'dll' => 'libwx_mac_fl-2.8.dylib'
},
'gizmos' => {
'link' => '-lwx_mac_gizmos-2.8',
'dll' => 'libwx_mac_gizmos-2.8.dylib'
},
'ogl' => {
'link' => '-lwx_mac_ogl-2.8',
'dll' => 'libwx_mac_ogl-2.8.dylib'
},
'qa' => {
'link' => '-lwx_mac_qa-2.8',
'dll' => 'libwx_mac_qa-2.8.dylib'
},
'plot' => {
'link' => '-lwx_mac_plot-2.8',
'dll' => 'libwx_mac_plot-2.8.dylib'
},
'svg' => {
'link' => '-lwx_mac_svg-2.8',
'dll' => 'libwx_mac_svg-2.8.dylib'
},
'adv' => {
'link' => '-lwx_mac_adv-2.8',
'dll' => 'libwx_mac_adv-2.8.dylib'
}
},
'compiler' => 'g++',
'link_flags' => '',
'linker' => 'g++',
'config' => {
'compiler_version' => '3.4',
'compiler_kind' => 'gcc',
'mslu' => 0,
'toolkit' => 'mac',
'unicode' => 0,
'debug' => 0,
'build' => 'multi'
},
'prefix' => '/usr/local/perl/5.10.0/lib/site_perl/5.10.0/darwin-thread-multi-2level/Alien/wxWidgets/mac_2_8_8'
};
};
}
my $key = substr __PACKAGE__, 1 + rindex __PACKAGE__, ':';
sub values { %VALUES, key => $key }
sub config {
+{ %{$VALUES{config}},
package => __PACKAGE__,
key => $key,
version => $VALUES{version},
}
}
1;
package Alien::wxWidgets::Config::mac_2_8_9_uni_gcc_3_4;
use strict;
our %VALUES;
{
no strict 'vars';
%VALUES = %{
$VAR1 = {
'defines' => '-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXMAC__ ',
'include_path' => '-I/opt/local/lib/wx/include/mac-unicode-release-2.8 -I/opt/local/include/wx-2.8 ',
'alien_package' => 'Alien::wxWidgets::Config::mac_2_8_9_uni_gcc_3_4',
'version' => '2.008009',
'alien_base' => 'mac_2_8_9_uni_gcc_3_4',
'link_libraries' => ' -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib',
'c_flags' => '-UWX_PRECOMP ',
'_libraries' => {
'stc' => {
'link' => '-lwx_macu_stc-2.8',
'dll' => 'libwx_macu_stc-2.8.dylib'
},
'fl' => {
'link' => '-lwx_macu_fl-2.8',
'dll' => 'libwx_macu_fl-2.8.dylib'
},
'gl' => {
'link' => '-lwx_macu_gl-2.8',
'dll' => 'libwx_macu_gl-2.8.dylib'
},
'mono' => {
'link' => '-lwx_macu-2.8',
'dll' => 'libwx_macu-2.8.dylib'
},
'gizmos' => {
'link' => '-lwx_macu_gizmos-2.8',
'dll' => 'libwx_macu_gizmos-2.8.dylib'
},
'ogl' => {
'link' => '-lwx_macu_ogl-2.8',
'dll' => 'libwx_macu_ogl-2.8.dylib'
},
'plot' => {
'link' => '-lwx_macu_plot-2.8',
'dll' => 'libwx_macu_plot-2.8.dylib'
},
'xrc' => {
'link' => '-lwx_macu_gizmos_xrc-2.8',
'dll' => 'libwx_macu_gizmos_xrc-2.8.dylib'
},
'svg' => {
'link' => '-lwx_macu_svg-2.8',
'dll' => 'libwx_macu_svg-2.8.dylib'
}
},
'compiler' => '/usr/bin/g++-4.0',
'link_flags' => '',
'linker' => '/usr/bin/g++-4.0',
'config' => {
'compiler_version' => '3.4',
'compiler_kind' => 'gcc',
'mslu' => 0,
'toolkit' => 'mac',
'unicode' => 1,
'debug' => 0,
'build' => 'mono'
},
'prefix' => '/opt/local'
};
};
}
my $key = substr __PACKAGE__, 1 + rindex __PACKAGE__, ':';
sub values { %VALUES, key => $key }
sub config {
+{ %{$VALUES{config}},
package => __PACKAGE__,
key => $key,
version => $VALUES{version},
}
}
1;