develooper Front page | perl.wxperl.users | Postings from May 2017

[rt.cpan.org #121899] Perl::Wx install error

From:
Brian Barnes via RT
Date:
May 26, 2017 00:31
Subject:
[rt.cpan.org #121899] Perl::Wx install error
Message ID:
rt-4.0.18-8358-1495758663-274.121899-15-0@rt.cpan.org
Thu May 25 20:31:03 2017: Request 121899 was acted upon.
Transaction: Ticket created by BrianP@fractasia.com
       Queue: Wx
     Subject: Perl::Wx install error
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: BrianP@fractasia.com
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=121899 >


perl/Wx-0.9932> perl -v
This is perl 5, version 24, subversion 1 (v5.24.1) built for x86_64-linux

OpenSuse Tumbleweed, latest, 64bit
perl/Wx-0.9932> uname -a
Linux vulcan 4.11.1-1-default #1 SMP PREEMPT Mon May 15 14:33:13 UTC 2017
(a37d575) x86_64 x86_64 x86_64 GNU/Linux

wxWidgets-3.0.3> gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/6/lto-wrapper
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada,go
--enable-offload-targets=hsa --enable-checking=release
--with-gxx-include-dir=/usr/include/c++/6 --enable-ssp --disable-libssp
--disable-libvtv --disable-libcc1 --enable-plugin --with-bugurl=
http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj
--with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit
--enable-libstdcxx-allocator=new --disable-libstdcxx-pch
--enable-version-specific-runtime-libs --enable-linker-build-id
--enable-linux-futex --enable-gnu-indirect-function --program-suffix=-6
--without-system-libunwind --enable-multilib --with-arch-32=x86-64
--with-tune=generic --build=x86_64-suse-linux --host=x86_64-suse-linux
Thread model: posix
gcc version 6.3.1 20170202 [gcc-6-branch revision 245119] (SUSE Linux)

486326 May 25 18:58 Wx-0.9932.tar.gz

-----------------
20054446 May 25 18:48 wxWidgets-3.0.3.tar.bz2
wxWidgets-3.0.3> ./configure > wxw.303.conf.log
...
/usr/bin/install -c -m 644 ./include/$f /usr/local/include/wx-3.0/$f; \
done

===================================

cpan -i Wx
cpp/docview.h:483:46: error: no matching function for call to
‘wxClassInfo::wxClassInfo(const wxString&, wxClassInfo*, NULL, long
unsigned int, wxObject* (*)())’

cpp/docview.h:548:60: error: no matching function for call to
‘wxMBConvStrictUTF8::WC2MB(char [120], const wxString&, int)’
     wxConvUTF8.WC2MB( buffer, className, WXPL_BUF_SIZE - 4 );

> cpan -i Wx | grip error
Warning: duplicate function definition 'HasSelection' detected in
/usr/local/bin/perl -pe "s/TextCtrlIface/RichTextCtrl/g"
xspp/TextCtrlIface.h, line 375
Warning: duplicate function definition 'SetStyle' detected in
/usr/local/bin/perl -pe "s/TextCtrlIface/RichTextCtrl/g"
xspp/TextCtrlIface.h, line 665
Warning: duplicate function definition 'SetDefaultStyle' detected in
/usr/local/bin/perl -pe "s/TextCtrlIface/RichTextCtrl/g"
xspp/TextCtrlIface.h, line 687
Warning: duplicate function definition 'GetStyle' detected in
/usr/local/bin/perl -pe "s/TextCtrlIface/RichTextCtrl/g"
xspp/TextCtrlIface.h, line 772
Warning: duplicate function definition 'AddTextRaw' detected in
/usr/local/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t ../../typemap.xsp
XS/StyledTextCtrl.xsp, line 1382
Warning: duplicate function definition 'InsertTextRaw' detected in
/usr/local/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t ../../typemap.xsp
XS/StyledTextCtrl.xsp, line 1387
Warning: duplicate function definition 'AppendTextRaw' detected in
/usr/local/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t ../../typemap.xsp
XS/StyledTextCtrl.xsp, line 1392
XRC.c: In function ‘void XS_Wx__XmlResource_GetDomain(CV*)’:
XRC.c:937:27: error: cannot convert ‘const wxString’ to ‘const wxChar* {aka
const wchar_t*}’ in assignment
  RETVAL = THIS->GetDomain();
                           ^
make[2]: *** [Makefile:344: XRC.o] Error 1
make[1]: *** [Makefile:514: subdirs] Error 2
make: *** [Makefile:682: subdirs] Error 2



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About