Subject: | Wx-0.96 install fails |
Hi,
I've got a strange problem installing Wx module on RHEL5:
[root@isr-sim9 build]# uname -a
Linux isr-sim9 2.6.18-164.9.1.el5 #1 SMP Wed Dec 9 03:27:37 EST 2009
x86_64 x86_64 x86_64 GNU/Linux
[root@isr-sim9 build]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
[root@isr-sim9 build]# perl -v
This is perl, v5.8.8 built for x86_64-linux-thread-multi
Copyright 1987-2006, Larry Wall
Perl may be copied only under the terms of either the Artistic License
or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
[root@isr-sim9 Wx-0.96-Q7qYBc]# pwd
/root/.cpan/build/Wx-0.96-Q7qYBc
[root@isr-sim9 Wx-0.96-Q7qYBc]# perl Makefile.PL
Checking if your kit is complete...
Looks good
'WX' is not a known MakeMaker parameter name.
Writing Makefile for Wx::RichText
Writing Makefile for Wx::Print
Writing Makefile for Wx::DateTime
Writing Makefile for Wx::Html
Writing Makefile for Wx::Media
Writing Makefile for Wx::Help
Writing Makefile for Wx::XRC
Writing Makefile for Wx::DataView
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
======================================================================
[root@isr-sim9 build]# make
.
.
.
.
Controls.c: In function 'void
XS_Wx__BitmapToggleButton_newFull(PerlInterpreter*, CV*)':
Controls.c:12770: error: 'wxBitmapToggleButton' was not declared in this
scope
Controls.c:12770: error: 'RETVAL' was not declared in this scope
Controls.c:12801: error: expected type-specifier before
'wxBitmapToggleButton'
Controls.c:12801: error: expected `;' before 'wxBitmapToggleButton'
Controls.c:12762: warning: unused variable 'parent'
Controls.c:12763: warning: unused variable 'id'
Controls.c:12764: warning: unused variable 'label'
Controls.c: In function 'void
XS_Wx__BitmapToggleButton_Create(PerlInterpreter*, CV*)':
Controls.c:12831: error: 'wxBitmapToggleButton' was not declared in this
scope
Controls.c:12831: error: 'THIS' was not declared in this scope
Controls.c:12831: error: expected primary-expression before ')' token
Controls.c:12831: error: expected `;' before 'wxPli_sv_2_object'
Controls.c: In function 'void
XS_Wx__BitmapToggleButton_GetValue(PerlInterpreter*, CV*)':
Controls.c:12883: error: 'wxBitmapToggleButton' was not declared in this
scope
Controls.c:12883: error: 'THIS' was not declared in this scope
Controls.c:12883: error: expected primary-expression before ')' token
Controls.c:12883: error: expected `;' before 'wxPli_sv_2_object'
Controls.c: In function 'void
XS_Wx__BitmapToggleButton_SetValue(PerlInterpreter*, CV*)':
Controls.c:12906: error: 'wxBitmapToggleButton' was not declared in this
scope
Controls.c:12906: error: 'THIS' was not declared in this scope
Controls.c:12906: error: expected primary-expression before ')' token
Controls.c:12906: error: expected `;' before 'wxPli_sv_2_object'
Controls.c: In function 'void XS_Wx__StaticBitmap_new(PerlInterpreter*,
CV*)':
Controls.c:13355: warning: unused variable 'CLASS'
Controls.c: In function 'void XS_Wx__SpinEvent_new(PerlInterpreter*, CV*)':
Controls.c:13947: warning: unused variable 'CLASS'
Controls.c: In function 'void XS_Wx__NotebookEvent_new(PerlInterpreter*,
CV*)':
Controls.c:16128: warning: unused variable 'CLASS'
Controls.c: In function 'void XS_Wx__ListEvent_new(PerlInterpreter*, CV*)':
Controls.c:16946: warning: unused variable 'CLASS'
Controls.c: In function 'void XS_Wx__ListItem_new(PerlInterpreter*, CV*)':
Controls.c:17276: warning: unused variable 'CLASS'
Controls.c: In function 'void XS_Wx__ListItemAttr_new(PerlInterpreter*,
CV*)':
Controls.c:17906: warning: unused variable 'CLASS'
Controls.c:17919: warning: unused variable 'CLASS'
Controls.c:17932: warning: unused variable 'CLASS'
Controls.c:17933: warning: unused variable 'RETVAL'
Controls.c: In function 'void
XS_Wx__ListCtrl_InsertColumn(PerlInterpreter*, CV*)':
Controls.c:19331: warning: unused variable 'THIS'
Controls.c: In function 'void XS_Wx__ListCtrl_SetItem(PerlInterpreter*,
CV*)':
Controls.c:19688: warning: unused variable 'THIS'
Controls.c: In function 'void
XS_Wx__ComboBox_SetSelection(PerlInterpreter*, CV*)':
Controls.c:22613: warning: unused variable 'THIS'
Controls.c: In function 'void XS_Wx__TextAttr_new(PerlInterpreter*, CV*)':
Controls.c:23888: warning: unused variable 'CLASS'
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/patchlevel.h: At
global scope:
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/patchlevel.h:122:
warning: 'local_patches' def
ined but not used
make: *** [Controls.o] Error 1
MBARBON/Wx-0.96.tar.gz
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Any help would be appreciated.
Thanks.