Package Details: perl-wx 0.9932-6

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

Latest Comments

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

sl1pkn07 commented on 2024-09-16 01:16 (UTC)

ok. i fixed my problem: damm you wxUSE_UNICODE_UTF8!!!

as note, check() works for me

greetings

GaryScottMartin commented on 2024-09-09 22:02 (UTC)

Same problem as micwoj92. My log is virtually identical.

micwoj92 commented on 2024-07-07 21:09 (UTC)

Check fails, log here: https://gist.github.com/micwoj92/83a3cbd1569676daf27d7a33258cfee0

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

Hi,

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 https://aur.archlinux.org/packages/perl-wx#comment-901006

greetigs

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.