Hi !
After some time I finally moved to perl 5.12.1. (you'll find the perl -V report
at the bottom of this post)
I compiled perl in 32 bit and installed Alien:wxWidgets successfully by letting
the module download and compile wxWidgets by itself (2.8.10).
However building Wx fails. I download the version from svn to be sure to have
the latest stuff.
Thanks for any help !
And here comes the output:
Rome:wxPerl ec$ perl Makefile.PL
'WX' is not a known MakeMaker parameter name.
Note (probably harmless): No library found for -lwx_macu_media-2.8
Writing Makefile for Wx::RichText
Writing Makefile for Wx::Print
Writing Makefile for Wx::DateTime
Writing Makefile for Wx::Html
Note (probably harmless): No library found for -lwx_macu_media-2.8
Writing Makefile for Wx::Media
Writing Makefile for Wx::Help
Writing Makefile for Wx::XRC
Writing Makefile for Wx::Grid
Writing Makefile for Wx::STC
Writing Makefile for Wx::AUI
Writing Makefile for Wx::Socket
Writing Makefile for Wx::DND
Writing Makefile for Wx::Calendar
Writing Makefile for Wx::MDI
Writing Makefile for Wx::DocView
Writing Makefile for Wx::FS
Writing Makefile for Wx::Perl::SplashFast
Writing Makefile for Wx::Perl::Carp
Writing Makefile for Wx::Perl::TextValidator
Writing Makefile for Wx::Perl
Writing Makefile for Wx
Writing Makefile for Wx
======================================================================
For installation instructions and further help please see
docs/INSTALL.pod
For command line switches help use:
perl Makefile.PL --help
======================================================================
Rome:wxPerl ec$ make
/usr/local/bin/perl script/make_v_cback.pl > cpp/v_cback_def.h
/usr/local/bin/perl script/copy_files.pl files.lst
cp cpp/overload.h blib/lib/Wx/cpp/overload.h
cp cpp/wxapi.h blib/lib/Wx/cpp/wxapi.h
cp cpp/constants.h blib/lib/Wx/cpp/constants.h
cp cpp/helpers.h blib/lib/Wx/cpp/helpers.h
cp cpp/setup.h blib/lib/Wx/cpp/setup.h
cp cpp/v_cback_def.h blib/lib/Wx/cpp/v_cback_def.h
cp cpp/streams.h blib/lib/Wx/cpp/streams.h
cp cpp/chkconfig.h blib/lib/Wx/cpp/chkconfig.h
cp cpp/compat.h blib/lib/Wx/cpp/compat.h
cp Opt blib/arch/Wx/build/Opt.pm
cp cpp/v_cback.h blib/lib/Wx/cpp/v_cback.h
cp cpp/event.h blib/lib/Wx/cpp/event.h
cp typemap blib/lib/Wx/typemap
cp cpp/e_cback.h blib/lib/Wx/cpp/e_cback.h
touch wxt_copy_files
cp lib/Wx/Event.pm blib/lib/Wx/Event.pm
cp build/Wx/build/MakeMaker/Win32_MinGW.pm
blib/lib/Wx/build/MakeMaker/Win32_MinGW.pm
cp build/Wx/build/MakeMaker.pm blib/lib/Wx/build/MakeMaker.pm
cp build/Wx/Overload/Driver.pm blib/lib/Wx/Overload/Driver.pm
cp build/Wx/Overload/Handle.pm blib/lib/Wx/Overload/Handle.pm
cp lib/Wx/App.pm blib/lib/Wx/App.pm
cp build/Wx/build/MakeMaker/Hacks.pm blib/lib/Wx/build/MakeMaker/Hacks.pm
cp lib/Wx/Mini.pm blib/lib/Wx/Mini.pm
cp build/Wx/build/MakeMaker/Any_wx_config.pm
blib/lib/Wx/build/MakeMaker/Any_wx_config.pm
cp build/Wx/build/MakeMaker/Core.pm blib/lib/Wx/build/MakeMaker/Core.pm
cp lib/Wx/Timer.pm blib/lib/Wx/Timer.pm
cp build/Wx/XSP/Overload.pm blib/lib/Wx/XSP/Overload.pm
cp build/Wx/build/Options.pm blib/lib/Wx/build/Options.pm
cp lib/Wx/Locale.pm blib/lib/Wx/Locale.pm
cp lib/Wx/NewClass.pod blib/lib/Wx/NewClass.pod
cp build/Wx/build/Utils.pm blib/lib/Wx/build/Utils.pm
cp lib/Wx/Api.pod blib/lib/Wx/Api.pod
cp build/Wx/XSP/Enum.pm blib/lib/Wx/XSP/Enum.pm
cp build/Wx/build/MakeMaker/MacOSX_GCC.pm
blib/lib/Wx/build/MakeMaker/MacOSX_GCC.pm
cp lib/Wx/Thread.pod blib/lib/Wx/Thread.pod
cp lib/Wx/Loader.pod blib/lib/Wx/Loader.pod
cp lib/Wx/ArtProvider.pm blib/lib/Wx/ArtProvider.pm
cp build/Wx/XSP/Event.pm blib/lib/Wx/XSP/Event.pm
cp build/Wx/build/MakeMaker/Any_OS.pm blib/lib/Wx/build/MakeMaker/Any_OS.pm
cp lib/Wx/RadioBox.pm blib/lib/Wx/RadioBox.pm
cp lib/Wx/Menu.pm blib/lib/Wx/Menu.pm
cp build/Wx/XSP/Virtual.pm blib/lib/Wx/XSP/Virtual.pm
cp Wx.pm blib/lib/Wx.pm
cp build/Wx/build/MakeMaker/Win32.pm blib/lib/Wx/build/MakeMaker/Win32.pm
cp build/Wx/build/MakeMaker/Win32_MSVC.pm
blib/lib/Wx/build/MakeMaker/Win32_MSVC.pm
/usr/local/bin/perl script/wxperl_overload cpp/ovl_const.cpp cpp/ovl_const.h
overload.lst
Writing 'cpp/ovl_const.h'.
Writing 'cpp/ovl_const.cpp'.
touch wxt_overload
cp lib/Wx/RichText.pm ../../blib/lib/Wx/RichText.pm
/usr/local/bin/perl /usr/local/lib/perl5/5.12.1/ExtUtils/xsubpp -noprototypes
-nolinenumbers -typemap /usr/local/lib/perl5/5.12.1/ExtUtils/typemap -typemap
../../typemap -typemap typemap RichText.xs > RichText.xsc && mv RichText.xsc
RichText.c
g++ -arch i386 -UWX_PRECOMP -c -I. -I../..
-I/usr/local/lib/perl5/site_perl/5.12.1/darwin-2level/Alien/wxWidgets/mac_2_8_10_uni/lib/wx/include/mac-unicode-release-2.8
-I/usr/local/lib/perl5/site_perl/5.12.1/darwin-2level/Alien/wxWidgets/mac_2_8_10_uni/include/wx-2.8
-fno-common -DPERL_DARWIN -no-cpp-precomp -arch i386 -nostdinc
-B/Developer/SDKs/MacOSX10.6.sdk/usr/include/gcc
-B/Developer/SDKs/MacOSX10.6.sdk/usr/lib/gcc
-isystem/Developer/SDKs/MacOSX10.6.sdk/usr/include
-F/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks -fno-strict-aliasing
-pipe -fstack-protector -I/usr/local/include -I/opt/local/include -arch i386 -g
-pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include -arch
i386 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing
-I/usr/local/include -arch i386 -g -pipe -fno-common -DPERL_DARWIN
-fno-strict-aliasing -I/usr/local/include -O3 -DVERSION=\"0.01\"
-DXS_VERSION=\"0.01\" "-I/usr/local/lib/perl5/5.12.1/darwin-2level/CORE"
-DWXPL_EXT -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXMAC__ RichText.c
RichText.c:122:21: error: exception: No such file or directory
RichText.c: In function ‘void XS_Wx__RichTextEvent_GetFlags(CV*)’:
RichText.c:215: error: expected type-specifier
RichText.c:215: error: expected unqualified-id before ‘&’ token
RichText.c:215: error: expected `)' before ‘&’ token
RichText.c:215: error: expected `{' before ‘&’ token
RichText.c:215: error: ‘e’ was not declared in this scope
RichText.c:215: error: expected `;' before ‘)’ token
RichText.c:218: error: expected primary-expression before ‘catch’
RichText.c:218: error: expected `;' before ‘catch’
RichText.c: In function ‘void XS_Wx__RichTextEvent_SetFlags(CV*)’:
RichText.c:243: error: expected type-specifier
RichText.c:243: error: expected unqualified-id before ‘&’ token
RichText.c:243: error: expected `)' before ‘&’ token
RichText.c:243: error: expected `{' before ‘&’ token
RichText.c:243: error: ‘e’ was not declared in this scope
RichText.c:243: error: expected `;' before ‘)’ token
... and a bunch of errors in the same file continuing...
################################################################################################
and here is the perl -V
Rome:wxPerl ec$ perl -V
Summary of my perl5 (revision 5 version 12 subversion 1) configuration:
Platform:
osname=darwin, osvers=10.4.0, archname=darwin-2level
uname='darwin rome.local 10.4.0 darwin kernel version 10.4.0: fri apr 23
18:28:53 pdt 2010; root:xnu-1504.7.4~1release_i386 i386 '
config_args='-Dcc=gcc -m32 -Dprefix=/usr/local -Uloclibpth -Dlibpth=/usr/lib
/usr/local/BerkeleyDB.5.0/lib -Accflags=-arch i386 -g -pipe -fno-common
-DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include -Aldflags=-arch i386
-L/usr/local/lib -Alddlflags=-arch i386 -bundle -undefined dynamic_lookup
-L/usr/local/lib -de'
hint=previous, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp -arch i386
-nostdinc -B/Developer/SDKs/MacOSX10.6.sdk/usr/include/gcc
-B/Developer/SDKs/MacOSX10.6.sdk/usr/lib/gcc
-isystem/Developer/SDKs/MacOSX10.6.sdk/usr/include
-F/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks -fno-strict-aliasing
-pipe -fstack-protector -I/usr/local/include -I/opt/local/include -arch i386 -g
-pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include -arch
i386 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing
-I/usr/local/include -arch i386 -g -pipe -fno-common -DPERL_DARWIN
-fno-strict-aliasing -I/usr/local/include',
optimize='-O3',
cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-precomp -arch
i386 -nostdinc -B/Developer/SDKs/MacOSX10.6.sdk/usr/include/gcc
-B/Developer/SDKs/MacOSX10.6.sdk/usr/lib/gcc
-isystem/Developer/SDKs/MacOSX10.6.sdk/usr/include
-F/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks -fno-strict-aliasing
-pipe -fstack-protector -I/usr/local/include -I/opt/local/include -fno-common
-DPERL_DARWIN -no-cpp-precomp -arch i386 -nostdinc
-B/Developer/SDKs/MacOSX10.6.sdk/usr/include/gcc
-B/Developer/SDKs/MacOSX10.6.sdk/usr/lib/gcc
-isystem/Developer/SDKs/MacOSX10.6.sdk/usr/include
-F/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks -fno-strict-aliasing
-pipe -fstack-protector -I/usr/local/include -I/opt/local/include -arch i386 -g
-pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include
-fno-common -DPERL_DARWIN -no-cpp-precomp -arch i386 -nostdinc
-B/Developer/SDKs/MacOSX10.6.sdk/usr/include/gcc
-B/Developer/SDKs/MacOSX10.6.sdk/usr/lib/gcc
-isystem/Developer/SDKs/MacOSX10.6.sdk/usr/include
-F/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks -fno-strict-aliasing
-pipe -fstack-protector -I/usr/local/include -I/opt/local/include -arch i386 -g
-pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include -arch
i386 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing
-I/usr/local/include -fno-common -DPERL_DARWIN -no-cpp-precomp -arch i386
-nostdinc -B/Developer/SDKs/MacOSX10.6.sdk/usr/include/gcc
-B/Developer/SDKs/MacOSX10.6.sdk/usr/lib/gcc
-isystem/Developer/SDKs/MacOSX10.6.sdk/usr/include
-F/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks -fno-strict-aliasing
-pipe -fstack-protector -I/usr/local/include -I/opt/local/include -arch i386 -g
-pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include -arch
i386 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing
-I/usr/local/include -arch i386 -g -pipe -fno-common -DPERL_DARWIN
-fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='4.2.1 (Apple Inc. build 5664)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' -arch i386
-Wl,-syslibroot,/Developer/SDKs/MacOSX10.6.sdk -fstack-protector -arch i386
-L/usr/local/lib -arch i386 -L/usr/local/lib -arch i386 -L/usr/local/lib'
libpth=/usr/lib
libs=-ldbm -ldl -lm -lutil -lc
perllibs=-ldl -lm -lutil -lc
libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup
-fstack-protector -arch i386 -bundle -undefined dynamic_lookup -L/usr/local/lib
-arch i386 -bundle -undefined dynamic_lookup -L/usr/local/lib -arch i386
-bundle -undefined dynamic_lookup -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP
USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF
Built under darwin
Compiled at Aug 30 2010 10:37:15
@INC:
/usr/local/lib/perl5/site_perl/5.12.1/darwin-2level
/usr/local/lib/perl5/site_perl/5.12.1
/usr/local/lib/perl5/5.12.1/darwin-2level
/usr/local/lib/perl5/5.12.1
.