Erik Colson wrote:
Hi,
Thanks for helping out so fast !
Here's the output
<snip>
Rome:~ ec$ uname -a
Darwin Rome.local 10.0.0 Darwin Kernel Version 10.0.0: Fri Jul 31
22:47:34 PDT 2009; root:xnu-1456.1.25~1/RELEASE_I386 i386
================================================================================
Rome:~ ec$ uname -m
i386
================================================================================
Rome:~ ec$ uname -p
i386
There is nothing obvious in perl -V/uname to detect a 64bit Mac;
could you also try:
sysctl hw.optional.x86_64
sysctl hw.cpu64bit_capable
?
So I downloaded wxWidgets 2.8.10 and compiled to 32bit, which did
succeed. So I compiled and installed stc also.
Then I restarted Alien::wxWidgets install which did find the
installed version 2.8.10 but complained about stc.
I tried this:
- fresh installation of wxWidgets (from 2.8 branch)
I used the 2.8.10 tar.gz
- added an Alien::wxWidget for that configuration
I didn't do this
Sorry: I meant that I did
cd /path/to/Alien-wxWidgets
PATH=/opt/wx/mac-2.8-universal-unicode:$PATH
./Build clean
perl Build.PL
./Build
./Build install
- perl Makefile.PL went OK, make failed when building stc
- installed stc
- perl Makefile.PL went OK, make went ok as well
what did I do differently from you?
Also I build perl 5.10.1 from source myself, as you might have guessed
from perl -V
Should not make any difference; a couple of things to try:
1)
the output of "wx-config --libs stc" should be somthing like this:
-L/wx/install/path/lib ... -lwx_macud_stc-2.8 -lwx_base_carbonud-2.8
could you check the stc library in /wx/install/path/lib is named
libwx_macud_stc-2.8.dylib?
2)
the output of " perl -MAlien::wxWidgets=:dump -e 42" should be something
like this:
$VAR11 = {
'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
};
sould you find the Alien::wxWidgets::Config::mac_2_8_4_dbg_uni_gcc_3_4
module and post it here?
Thanks!
Mattia