Package Details: perl-wx 0.9932-6

Git Clone URL: (read-only, click to copy)
Package Base: perl-wx
Description: Interface to the wxWidgets cross-platform GUI toolkit
Upstream URL:
Licenses: GPL, PerlArtistic
Submitter: None
Maintainer: swiftgeek
Last Packager: swiftgeek
Votes: 60
Popularity: 0.029688
First Submitted: 2007-09-20 07:29 (UTC)
Last Updated: 2023-02-08 12:29 (UTC)

Latest Comments

1 2 3 4 5 6 .. 13 Next › Last »

MarsSeed commented on 2023-08-11 17:14 (UTC)


Please kindly make this depend directly on wxwidgets-gtk3 and not the legacy name wxgtk3. To allow users to use other providers of the former, which are available on AUR (wxwidgets-gtk3-git, wxwidgets-gtk3-light, wxwidgets-gtk3-wayland-perf). Thank you in advance.

sl1pkn07 commented on 2023-02-25 19:47 (UTC) (edited on 2023-02-25 19:52 (UTC) by sl1pkn07)

rebuild perl-alien-wxwidgets not works for me (i mean. perl-alien-wxwidgets builds and detect the right wx version and install everithyng OK, but fails if, se the next statement), perl-wx fails as pointed out in


mat commented on 2023-02-10 14:00 (UTC)

Ah, yes, I see, it gets wx from perl-alien-wxwidgets, which has not been updated after the latest wx updates :( Thank you for the pointer.

swiftgeek commented on 2023-02-08 13:57 (UTC) (edited on 2023-02-08 13:59 (UTC) by swiftgeek)

Sorry miswrote, correction:

(...) or perl-alien-wxwidgets needs a rebuild

mat commented on 2023-02-08 13:48 (UTC)

Yes, I found /usr/include/wx-3.0 to be strange, and, yes, but I did not look further. I have 0.9932-5 installed and I am trying to build and install 0.9932-6.

Looking further, I see:

==> Starting build()...
Checking if your kit is complete...
Looks good
'WX' is not a known MakeMaker parameter name.
Warning (mostly harmless): No library found for -lwx_gtk3u_core-3.0
Warning (mostly harmless): No library found for -lwx_baseu-3.0
Warning (mostly harmless): No library found for -lwx_gtk3u_html-3.0
Warning (mostly harmless): No library found for -lwx_gtk3u_core-3.0

Looks like the current perl-wx is looking for an older wx version or something.

swiftgeek commented on 2023-02-08 12:24 (UTC) (edited on 2023-02-08 13:58 (UTC) by swiftgeek)

/usr/include/wx-3.0 indicates old wx, either entire system is way older (like with sad case for armv6) or perl-alien-wxwidgets needs a rebuild

Thanks for dos2unix and wx-config report

mat commented on 2023-02-08 07:50 (UTC)

So, first, there is some dependency on dos2unix that is missing, but it's an easy fix.

Then, it fails to build as of a day ago or two, with:

g++ -pthread   -c -I. -I.. -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0  -I. -I. -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0   -I. -I../.. -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0  -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto   -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC "-I/usr/lib/perl5/5.36/core_perl/CORE" -DWXPL_EXT -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__   -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__    -DWXPL_EXT -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__   FS.c
In file included from FS.c:23:
../../cpp/wxapi.h:26:10: fatal error: wx/defs.h: No such file or directory
   26 | #include <wx/defs.h>
      |          ^~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:346: FS.o] Error 1
make[2]: Leaving directory '/home/mat/.cache/yay/perl-wx/src/Wx-0.9932/ext/filesys'

Investigating a bit, I see a WX_CONFIG=/usr/bin/wx-config-gtk3 in PKGBUILD, but there is no wx-config-gtk3, wxwidgets-gtk3 installs a wx-config though. But I don't think it matters as nothing in perl-wx sources seems to look for WX_CONFIG anywhere.

sl1pkn07 commented on 2023-02-06 19:46 (UTC) (edited on 2023-02-06 19:58 (UTC) by sl1pkn07)

EDIT: seems perl-alien-wxwidgets is broken in some point and I not care update. fixed on my side

sorry the noise


EDIT2: nope:

/usr/bin/c++ -pthread   -c -I. -I.. -I/usr/lib/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2  -I. -I. -I/usr/lib/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2   -I. -I../.. -I/usr/lib/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2  -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto   -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC "-I/usr/lib/perl5/5.36/core_perl/CORE" -DWXPL_EXT -DWXUSINGDLL -D__WXGTK3__ -D__WXGTK__   -DWXUSINGDLL -D__WXGTK3__ -D__WXGTK__    -DWXPL_EXT -DWXUSINGDLL -D__WXGTK3__ -D__WXGTK__   XRC.c
XRC.c: In function 'void XS_Wx__XmlResource_GetDomain(PerlInterpreter*, CV*)':
XRC.c:942:33: error: cannot convert 'const wxString' to 'const wxChar*' {aka 'const wchar_t*'} in assignment
  942 |         RETVAL = THIS->GetDomain();
      |                  ~~~~~~~~~~~~~~~^~
      |                                 |
      |                                 const wxString
make[2]: *** [Makefile:347: XRC.o] Error 1

swiftgeek commented on 2023-02-06 09:36 (UTC) (edited on 2023-02-06 20:25 (UTC) by swiftgeek)

Builds and passes check(). (with and without perl-wx being installed in the system)

If you don't like running check() you can disable it in makepkg.conf or just for this package with makepkg --nocheck

swiftgeek commented on 2023-02-06 08:41 (UTC) (edited on 2023-02-06 08:52 (UTC) by swiftgeek)

adv most likely refers to /usr/lib/

/usr/lib/perl5/5.34/vendor_perl/Alien/wxWidgets/Config/ still had inside as adv

I have manually added to /usr/lib/perl5/5.36/vendor_perl/Alien/wxWidgets/Config/ following section:

                            'adv' => {
                                       'dll' => '',
                                       'link' => '-lwx_gtk3u_adv-3.2'

and it starts building but this is not good enough

Similar issue with wxLua