Re: Can't compile Wx.pm
[email protected] (Jim Burwell via wxperl-users) Fri, 27 Sep 2024 13:48:40 -0700
| Newsgroups | perl.wxperl.users |
|---|---|
| Message-ID | <[email protected]> |
--Apple-Mail=_1815D16E-AC73-4676-9585-590837198185 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 FYI, I was able to get Wx to build and test by applying that patches = from the Fedora source RPM. cpan cpan> install Wx (fails) cpan> look Wx (opens shell in build dir) <copy patches over> patch -p1 < Wx-0.9932-Undefine-BOM_UTF8.patch patch -p1 < gtk3.patch make make test (need to be on an X display to succeed) make install Source RPM URL: = https://rpmfind.net/linux/RPM/fedora/devel/rawhide/x86_64/p/perl-Wx-0.9932= -36.fc41.x86_64.html -Jim > On Sep 27, 2024, at 12:57, Jim Burwell via wxperl-users = <[email protected]> wrote: >=20 > Check the Fedora patch source RPM I referenced earlier. Looks like = there are multiple patches fixing the XS files. Here=E2=80=99s the = patch for this one: >=20 > Description: Fixes for GTK3 compatibility > wxWidgets 3.0 built with GTK3 doesn't have wxColour::GetPixel(), see: > http://trac.wxwidgets.org/ticket/15141#comment:2 > Author: Olly Betts <[email protected]> > Forwarded: no > Last-Update: 2018-04-01 >=20 > --- a/XS/Colour.xs > +++ b/XS/Colour.xs > @@ -114,7 +114,7 @@ > =20 > #endif > =20 > -#if !defined(__WXMAC__) > +#if !defined(__WXMAC__) && !defined (__WXGTK3__) > =20 > long > wxColour::GetPixel() > --- a/ext/propgrid/XS/PGProperty.xsp > +++ b/ext/propgrid/XS/PGProperty.xsp > @@ -1148,7 +1148,7 @@ > bool SetPlValue( wxColour* col, int flags =3D = wxPG_SETVAL_REFRESH_EDITOR ) > %code{% > if( col->IsOk() ) { > - wxVariant value =3D wxVariant(*col); > + wxVariant value =3D wxVariant(wxAny(*col)); > THIS->SetValue(value, NULL, flags ); > RETVAL =3D true; > } else { >=20 >=20 >=20 >> On Sep 27, 2024, at 12:19, Shawn H Corey <[email protected]> = wrote: >>=20 >>=20 >> I install perl-5.40.0 via perlbrew and then tried to install Wx with = cpanm. I get the follow error. >>=20 >> g++ -pthread -c -I. -I.. = -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.0 = -I/usr/include/wx-3.0 -I. -I. = -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.0 = -I/usr/include/wx-3.0 -I. -I../.. = -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.0 = -I/usr/include/wx-3.0 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv = -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include = -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 -O2 -DVERSION=3D\"0.01\" = -DXS_VERSION=3D\"0.01\" -fPIC = "-I/home/shawn/perl5/perlbrew/perls/perl-5.40.0/lib/5.40.0/x86_64-linux-gn= u-thread-multi/CORE" -DWXPL_EXT -D_FILE_OFFSET_BITS=3D64 -DWXUSINGDLL = -D__WXGTK__ -D_FILE_OFFSET_BITS=3D64 -DWXUSINGDLL -D__WXGTK__ = -DWXPL_EXT -D_FILE_OFFSET_BITS=3D64 -DWXUSINGDLL -D__WXGTK__ = PropertyGrid.c >> PropertyGrid.c: In function =E2=80=98void = XS_Wx__ColourProperty_SetPlValue(PerlInterpreter*, CV*)=E2=80=99: >> PropertyGrid.c:27187:49: error: call of overloaded = =E2=80=98wxVariant(wxColour&)=E2=80=99 is ambiguous >> 27187 | wxVariant value =3D wxVariant(*col); >> | ^ >> In file included from ../../cpp/helpers.h:19, >> from ../../cpp/wxapi.h:170, >> from PropertyGrid.c:23: >> /usr/include/wx-3.0/wx/variant.h:187:5: note: candidate: = =E2=80=98wxVariant::wxVariant(bool, const wxString&)=E2=80=99 >> 187 | wxVariant(bool val, const wxString& name =3D = wxEmptyString); >> | ^~~~~~~~~ >> /usr/include/wx-3.0/wx/variant.h:111:5: note: candidate: = =E2=80=98wxVariant::wxVariant(const wxAny&)=E2=80=99 >> 111 | wxVariant(const wxAny& any); >> | ^~~~~~~~~ >>=20 >> It looks like a simple fix. I wonder what it was before. >>=20 >> --=20 >> =F0=9D=91=86=F0=9D=92=89=F0=9D=92=82=F0=9D=92=98=F0=9D=92=8F =F0=9D=90=BB= =F0=9D=90=B6=F0=9D=92=90=F0=9D=92=93=F0=9D=92=86=F0=9D=92=9A =F0=9F=87=A8= =F0=9F=87=A6 >=20 > -- > =EF=A3=BF > Jim Burwell > Sr. Systems Administrator > Apple > Systems Engineering: Products, RF, Infrastructure Platform - US > One Apple Park Way, 87-DEF > Cupertino, CA 95014, USA > Office +1-408-7838379 > iPhone +1-408-5494338 > [email protected] >=20 > This email and any attachments may contain confidential information = intended only for the > recipient(s) named above. Any other distribution, forwarding, copying = or disclosure of this > message is strictly prohibited. If you have received this email in = error, please notify me > immediately by telephone or return email, and delete this message from = your system >=20 -- =EF=A3=BF Jim Burwell Sr. Systems Administrator Apple Systems Engineering: Products, RF, Infrastructure Platform - US One Apple Park Way, 87-DEF Cupertino, CA 95014, USA Office +1-408-7838379 iPhone +1-408-5494338 [email protected] This email and any attachments may contain confidential information = intended only for the recipient(s) named above. Any other distribution, forwarding, copying or = disclosure of this message is strictly prohibited. If you have received this email in = error, please notify me immediately by telephone or return email, and delete this message from = your system --Apple-Mail=_1815D16E-AC73-4676-9585-590837198185 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"content-type" content=3D"text/html; = charset=3Dutf-8"></head><body style=3D"overflow-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;">FYI, I was = able to get Wx to build and test by applying that patches from the = Fedora source RPM.<div><br></div><blockquote style=3D"margin: 0 0 0 = 40px; border: none; padding: 0px;"><div><font = face=3D"Menlo">cpan</font></div><div><font face=3D"Menlo">cpan> = install Wx (fails)</font></div><div><font face=3D"Menlo">cpan> look = Wx (opens shell in build dir)</font></div><div><font = face=3D"Menlo"><copy patches over></font></div><div><p = style=3D"margin: 0px; font-style: normal; font-variant-caps: normal; = font-stretch: normal; line-height: normal; font-family: Menlo; = font-size-adjust: none; font-kerning: auto; font-variant-alternates: = normal; font-variant-ligatures: normal; font-variant-numeric: normal; = font-variant-east-asian: normal; font-variant-position: normal; = font-variant-emoji: normal; font-feature-settings: normal; = font-optical-sizing: auto; font-variation-settings: normal; color: = rgb(0, 0, 0);"><span style=3D"font-variant-ligatures: = no-common-ligatures">patch -p1 < = Wx-0.9932-Undefine-BOM_UTF8.patch</span></p></div><div><p style=3D"margin:= 0px; font-style: normal; font-variant-caps: normal; font-stretch: = normal; line-height: normal; font-family: Menlo; font-size-adjust: none; = font-kerning: auto; font-variant-alternates: normal; = font-variant-ligatures: normal; font-variant-numeric: normal; = font-variant-east-asian: normal; font-variant-position: normal; = font-variant-emoji: normal; font-feature-settings: normal; = font-optical-sizing: auto; font-variation-settings: normal; color: = rgb(0, 0, 0);"><span style=3D"font-variant-ligatures: = no-common-ligatures">patch -p1 < gtk3.patch</span></p></div><div><p = style=3D"margin: 0px; font-style: normal; font-variant-caps: normal; = font-stretch: normal; line-height: normal; font-family: Menlo; = font-size-adjust: none; font-kerning: auto; font-variant-alternates: = normal; font-variant-ligatures: normal; font-variant-numeric: normal; = font-variant-east-asian: normal; font-variant-position: normal; = font-variant-emoji: normal; font-feature-settings: normal; = font-optical-sizing: auto; font-variation-settings: normal; color: = rgb(0, 0, 0);"><span style=3D"font-variant-ligatures: = no-common-ligatures">make</span></p></div><div><p style=3D"margin: 0px; = font-style: normal; font-variant-caps: normal; font-stretch: normal; = line-height: normal; font-family: Menlo; font-size-adjust: none; = font-kerning: auto; font-variant-alternates: normal; = font-variant-ligatures: normal; font-variant-numeric: normal; = font-variant-east-asian: normal; font-variant-position: normal; = font-variant-emoji: normal; font-feature-settings: normal; = font-optical-sizing: auto; font-variation-settings: normal; color: = rgb(0, 0, 0);"><span style=3D"font-variant-ligatures: = no-common-ligatures">make test (need to be on an X display to = succeed)</span></p></div><div><p style=3D"margin: 0px; font-style: = normal; font-variant-caps: normal; font-stretch: normal; line-height: = normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; = font-variant-alternates: normal; font-variant-ligatures: normal; = font-variant-numeric: normal; font-variant-east-asian: normal; = font-variant-position: normal; font-variant-emoji: normal; = font-feature-settings: normal; font-optical-sizing: auto; = font-variation-settings: normal; color: rgb(0, 0, 0);"><span = style=3D"font-variant-ligatures: no-common-ligatures">make = install</span></p></div></blockquote><div> <p style=3D"margin: 0px; font-style: normal; font-variant-caps: normal; = font-stretch: normal; line-height: normal; font-family: Menlo; = font-size-adjust: none; font-kerning: auto; font-variant-alternates: = normal; font-variant-ligatures: normal; font-variant-numeric: normal; = font-variant-east-asian: normal; font-variant-position: normal; = font-variant-emoji: normal; font-feature-settings: normal; = font-optical-sizing: auto; font-variation-settings: normal; color: = rgb(0, 0, 0);"><span style=3D"font-variant-ligatures: = no-common-ligatures"><br></span></p><div><span = style=3D"font-variant-ligatures: = no-common-ligatures"><br></span></div><div>Source RPM URL: <a = href=3D"https://rpmfind.net/linux/RPM/fedora/devel/rawhide/x86_64/p/perl-W= x-0.9932-36.fc41.x86_64.html">https://rpmfind.net/linux/RPM/fedora/devel/r= awhide/x86_64/p/perl-Wx-0.9932-36.fc41.x86_64.html</a></div><div><br></div= ><div>-Jim<br><blockquote type=3D"cite"><div>On Sep 27, 2024, at 12:57, = Jim Burwell via wxperl-users <[email protected]> = wrote:</div><br class=3D"Apple-interchange-newline"><div><meta = http-equiv=3D"content-type" content=3D"text/html; charset=3Dutf-8"><div = style=3D"overflow-wrap: break-word; -webkit-nbsp-mode: space; = line-break: after-white-space;">Check the Fedora patch source RPM I = referenced earlier. Looks like there are multiple patches fixing = the XS files. Here=E2=80=99s the patch for this = one:<div><br></div><blockquote style=3D"margin: 0 0 0 40px; border: = none; padding: 0px;"><div><div style=3D"margin: 0px; font-style: normal; = font-variant-caps: normal; font-stretch: normal; line-height: normal; = font-family: Menlo; font-size-adjust: none; font-kerning: auto; = font-variant-alternates: normal; font-variant-ligatures: normal; = font-variant-numeric: normal; font-variant-east-asian: normal; = font-variant-position: normal; font-feature-settings: normal; = font-optical-sizing: auto; font-variation-settings: normal;"><span = style=3D"font-variant-ligatures: no-common-ligatures">Description: Fixes = for GTK3 compatibility</span></div></div><div><div style=3D"margin: 0px; = font-style: normal; font-variant-caps: normal; font-stretch: normal; = line-height: normal; font-family: Menlo; font-size-adjust: none; = font-kerning: auto; font-variant-alternates: normal; = font-variant-ligatures: normal; font-variant-numeric: normal; = font-variant-east-asian: normal; font-variant-position: normal; = font-feature-settings: normal; font-optical-sizing: auto; = font-variation-settings: normal;"><span style=3D"font-variant-ligatures: = no-common-ligatures"> wxWidgets 3.0 built with GTK3 doesn't have = wxColour::GetPixel(), see:</span></div></div><div><div style=3D"margin: = 0px; font-style: normal; font-variant-caps: normal; font-stretch: = normal; line-height: normal; font-family: Menlo; font-size-adjust: none; = font-kerning: auto; font-variant-alternates: normal; = font-variant-ligatures: normal; font-variant-numeric: normal; = font-variant-east-asian: normal; font-variant-position: normal; = font-feature-settings: normal; font-optical-sizing: auto; = font-variation-settings: normal;"><span style=3D"font-variant-ligatures: = no-common-ligatures"> http://trac.wxwidgets.org/ticket/15141#comment:= 2</span></div></div><div><div style=3D"margin: 0px; font-style: normal; = font-variant-caps: normal; font-stretch: normal; line-height: normal; = font-family: Menlo; font-size-adjust: none; font-kerning: auto; = font-variant-alternates: normal; font-variant-ligatures: normal; = font-variant-numeric: normal; font-variant-east-asian: normal; = font-variant-position: normal; font-feature-settings: normal; = font-optical-sizing: auto; font-variation-settings: normal;"><span = style=3D"font-variant-ligatures: no-common-ligatures">Author: Olly Betts = <[email protected]></span></div></div><div><div style=3D"margin: = 0px; font-style: normal; font-variant-caps: normal; font-stretch: = normal; line-height: normal; font-family: Menlo; font-size-adjust: none; = font-kerning: auto; font-variant-alternates: normal; = font-variant-ligatures: normal; font-variant-numeric: normal; = font-variant-east-asian: normal; font-variant-position: normal; = font-feature-settings: normal; font-optical-sizing: auto; = font-variation-settings: normal;"><span style=3D"font-variant-ligatures: = no-common-ligatures">Forwarded: no</span></div></div><div><div = style=3D"margin: 0px; font-style: normal; font-variant-caps: normal; = font-stretch: normal; line-height: normal; font-family: Menlo; = font-size-adjust: none; font-kerning: auto; font-variant-alternates: = normal; font-variant-ligatures: normal; font-variant-numeric: normal; = font-variant-east-asian: normal; font-variant-position: normal; = font-feature-settings: normal; font-optical-sizing: auto; = font-variation-settings: normal;"><span style=3D"font-variant-ligatures: = no-common-ligatures">Last-Update: 2018-04-01</span></div></div><div><div = style=3D"margin: 0px; font-style: normal; font-variant-caps: normal; = font-stretch: normal; line-height: normal; font-family: Menlo; = font-size-adjust: none; font-kerning: auto; font-variant-alternates: = normal; font-variant-ligatures: normal; font-variant-numeric: normal; = font-variant-east-asian: normal; font-variant-position: normal; = font-feature-settings: normal; font-optical-sizing: auto; = font-variation-settings: normal; min-height: = 15px;"><br></div></div><div><div style=3D"margin: 0px; font-style: = normal; font-variant-caps: normal; font-stretch: normal; line-height: = normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; = font-variant-alternates: normal; font-variant-ligatures: normal; = font-variant-numeric: normal; font-variant-east-asian: normal; = font-variant-position: normal; font-feature-settings: normal; = font-optical-sizing: auto; font-variation-settings: normal;"><span = style=3D"font-variant-ligatures: no-common-ligatures">--- = a/XS/Colour.xs</span></div></div><div><div style=3D"margin: 0px; = font-style: normal; font-variant-caps: normal; font-stretch: normal; = line-height: normal; font-family: Menlo; font-size-adjust: none; = font-kerning: auto; font-variant-alternates: normal; = font-variant-ligatures: normal; font-variant-numeric: normal; = font-variant-east-asian: normal; font-variant-position: normal; = font-feature-settings: normal; font-optical-sizing: auto; = font-variation-settings: normal;"><span style=3D"font-variant-ligatures: = no-common-ligatures">+++ b/XS/Colour.xs</span></div></div><div><div = style=3D"margin: 0px; font-style: normal; font-variant-caps: normal; = font-stretch: normal; line-height: normal; font-family: Menlo; = font-size-adjust: none; font-kerning: auto; font-variant-alternates: = normal; font-variant-ligatures: normal; font-variant-numeric: normal; = font-variant-east-asian: normal; font-variant-position: normal; = font-feature-settings: normal; font-optical-sizing: auto; = font-variation-settings: normal;"><span style=3D"font-variant-ligatures: = no-common-ligatures">@@ -114,7 +114,7 @@</span></div></div><div><p = style=3D"margin: 0px; font-style: normal; font-variant-caps: normal; = font-stretch: normal; line-height: normal; font-family: Menlo; = font-size-adjust: none; font-kerning: auto; font-variant-alternates: = normal; font-variant-ligatures: normal; font-variant-numeric: normal; = font-variant-east-asian: normal; font-variant-position: normal; = font-feature-settings: normal; font-optical-sizing: auto; = font-variation-settings: normal; min-height: 15px;"><span = style=3D"font-variant-ligatures: no-common-ligatures"> </span><br = class=3D"webkit-block-placeholder"></p></div><div><div style=3D"margin: = 0px; font-style: normal; font-variant-caps: normal; font-stretch: = normal; line-height: normal; font-family: Menlo; font-size-adjust: none; = font-kerning: auto; font-variant-alternates: normal; = font-variant-ligatures: normal; font-variant-numeric: normal; = font-variant-east-asian: normal; font-variant-position: normal; = font-feature-settings: normal; font-optical-sizing: auto; = font-variation-settings: normal;"><span style=3D"font-variant-ligatures: = no-common-ligatures"> #endif</span></div></div><div><p = style=3D"margin: 0px; font-style: normal; font-variant-caps: normal; = font-stretch: normal; line-height: normal; font-family: Menlo; = font-size-adjust: none; font-kerning: auto; font-variant-alternates: = normal; font-variant-ligatures: normal; font-variant-numeric: normal; = font-variant-east-asian: normal; font-variant-position: normal; = font-feature-settings: normal; font-optical-sizing: auto; = font-variation-settings: normal; min-height: 15px;"><span = style=3D"font-variant-ligatures: no-common-ligatures"> </span><br = class=3D"webkit-block-placeholder"></p></div><div><div style=3D"margin: = 0px; font-style: normal; font-variant-caps: normal; font-stretch: = normal; line-height: normal; font-family: Menlo; font-size-adjust: none; = font-kerning: auto; font-variant-alternates: normal; = font-variant-ligatures: normal; font-variant-numeric: normal; = font-variant-east-asian: normal; font-variant-position: normal; = font-feature-settings: normal; font-optical-sizing: auto; = font-variation-settings: normal;"><span style=3D"font-variant-ligatures: = no-common-ligatures">-#if = !defined(__WXMAC__)</span></div></div><div><div style=3D"margin: 0px; = font-style: normal; font-variant-caps: normal; font-stretch: normal; = line-height: normal; font-family: Menlo; font-size-adjust: none; = font-kerning: auto; font-variant-alternates: normal; = font-variant-ligatures: normal; font-variant-numeric: normal; = font-variant-east-asian: normal; font-variant-position: normal; = font-feature-settings: normal; font-optical-sizing: auto; = font-variation-settings: normal;"><span style=3D"font-variant-ligatures: = no-common-ligatures">+#if !defined(__WXMAC__) && !defined = (__WXGTK3__)</span></div></div><div><p style=3D"margin: 0px; font-style: = normal; font-variant-caps: normal; font-stretch: normal; line-height: = normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; = font-variant-alternates: normal; font-variant-ligatures: normal; = font-variant-numeric: normal; font-variant-east-asian: normal; = font-variant-position: normal; font-feature-settings: normal; = font-optical-sizing: auto; font-variation-settings: normal; min-height: = 15px;"><span style=3D"font-variant-ligatures: = no-common-ligatures"> </span><br = class=3D"webkit-block-placeholder"></p></div><div><div style=3D"margin: = 0px; font-style: normal; font-variant-caps: normal; font-stretch: = normal; line-height: normal; font-family: Menlo; font-size-adjust: none; = font-kerning: auto; font-variant-alternates: normal; = font-variant-ligatures: normal; font-variant-numeric: normal; = font-variant-east-asian: normal; font-variant-position: normal; = font-feature-settings: normal; font-optical-sizing: auto; = font-variation-settings: normal;"><span style=3D"font-variant-ligatures: = no-common-ligatures"> long</span></div></div><div><div = style=3D"margin: 0px; font-style: normal; font-variant-caps: normal; = font-stretch: normal; line-height: normal; font-family: Menlo; = font-size-adjust: none; font-kerning: auto; font-variant-alternates: = normal; font-variant-ligatures: normal; font-variant-numeric: normal; = font-variant-east-asian: normal; font-variant-position: normal; = font-feature-settings: normal; font-optical-sizing: auto; = font-variation-settings: normal;"><span style=3D"font-variant-ligatures: = no-common-ligatures"> wxColour::GetPixel()</span></div></div><div><di= v style=3D"margin: 0px; font-style: normal; font-variant-caps: normal; = font-stretch: normal; line-height: normal; font-family: Menlo; = font-size-adjust: none; font-kerning: auto; font-variant-alternates: = normal; font-variant-ligatures: normal; font-variant-numeric: normal; = font-variant-east-asian: normal; font-variant-position: normal; = font-feature-settings: normal; font-optical-sizing: auto; = font-variation-settings: normal;"><span style=3D"font-variant-ligatures: = no-common-ligatures">--- = a/ext/propgrid/XS/PGProperty.xsp</span></div></div><div><div = style=3D"margin: 0px; font-style: normal; font-variant-caps: normal; = font-stretch: normal; line-height: normal; font-family: Menlo; = font-size-adjust: none; font-kerning: auto; font-variant-alternates: = normal; font-variant-ligatures: normal; font-variant-numeric: normal; = font-variant-east-asian: normal; font-variant-position: normal; = font-feature-settings: normal; font-optical-sizing: auto; = font-variation-settings: normal;"><span style=3D"font-variant-ligatures: = no-common-ligatures">+++ = b/ext/propgrid/XS/PGProperty.xsp</span></div></div><div><div = style=3D"margin: 0px; font-style: normal; font-variant-caps: normal; = font-stretch: normal; line-height: normal; font-family: Menlo; = font-size-adjust: none; font-kerning: auto; font-variant-alternates: = normal; font-variant-ligatures: normal; font-variant-numeric: normal; = font-variant-east-asian: normal; font-variant-position: normal; = font-feature-settings: normal; font-optical-sizing: auto; = font-variation-settings: normal;"><span style=3D"font-variant-ligatures: = no-common-ligatures">@@ -1148,7 +1148,7 @@</span></div></div><div><div = style=3D"margin: 0px; font-style: normal; font-variant-caps: normal; = font-stretch: normal; line-height: normal; font-family: Menlo; = font-size-adjust: none; font-kerning: auto; font-variant-alternates: = normal; font-variant-ligatures: normal; font-variant-numeric: normal; = font-variant-east-asian: normal; font-variant-position: normal; = font-feature-settings: normal; font-optical-sizing: auto; = font-variation-settings: normal;"><span style=3D"font-variant-ligatures: = no-common-ligatures"> bool SetPlValue( wxColour* col, = int flags =3D wxPG_SETVAL_REFRESH_EDITOR )</span></div></div><div><div = style=3D"margin: 0px; font-style: normal; font-variant-caps: normal; = font-stretch: normal; line-height: normal; font-family: Menlo; = font-size-adjust: none; font-kerning: auto; font-variant-alternates: = normal; font-variant-ligatures: normal; font-variant-numeric: normal; = font-variant-east-asian: normal; font-variant-position: normal; = font-feature-settings: normal; font-optical-sizing: auto; = font-variation-settings: normal;"><span style=3D"font-variant-ligatures: = no-common-ligatures"> = %code{%</span></div></div><div><div style=3D"margin: 0px; font-style: = normal; font-variant-caps: normal; font-stretch: normal; line-height: = normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; = font-variant-alternates: normal; font-variant-ligatures: normal; = font-variant-numeric: normal; font-variant-east-asian: normal; = font-variant-position: normal; font-feature-settings: normal; = font-optical-sizing: auto; font-variation-settings: normal;"><span = style=3D"font-variant-ligatures: no-common-ligatures"> = if( col->IsOk() ) = {</span></div></div><div><div style=3D"margin: 0px; font-style: normal; = font-variant-caps: normal; font-stretch: normal; line-height: normal; = font-family: Menlo; font-size-adjust: none; font-kerning: auto; = font-variant-alternates: normal; font-variant-ligatures: normal; = font-variant-numeric: normal; font-variant-east-asian: normal; = font-variant-position: normal; font-feature-settings: normal; = font-optical-sizing: auto; font-variation-settings: normal;"><span = style=3D"font-variant-ligatures: no-common-ligatures">- = wxVariant value =3D = wxVariant(*col);</span></div></div><div><div style=3D"margin: 0px; = font-style: normal; font-variant-caps: normal; font-stretch: normal; = line-height: normal; font-family: Menlo; font-size-adjust: none; = font-kerning: auto; font-variant-alternates: normal; = font-variant-ligatures: normal; font-variant-numeric: normal; = font-variant-east-asian: normal; font-variant-position: normal; = font-feature-settings: normal; font-optical-sizing: auto; = font-variation-settings: normal;"><span style=3D"font-variant-ligatures: = no-common-ligatures">+ = wxVariant value =3D = wxVariant(wxAny(*col));</span></div></div><div><div style=3D"margin: = 0px; font-style: normal; font-variant-caps: normal; font-stretch: = normal; line-height: normal; font-family: Menlo; font-size-adjust: none; = font-kerning: auto; font-variant-alternates: normal; = font-variant-ligatures: normal; font-variant-numeric: normal; = font-variant-east-asian: normal; font-variant-position: normal; = font-feature-settings: normal; font-optical-sizing: auto; = font-variation-settings: normal;"><span style=3D"font-variant-ligatures: = no-common-ligatures"> = THIS->SetValue(value, NULL, flags = );</span></div></div><div><div style=3D"margin: 0px; font-style: normal; = font-variant-caps: normal; font-stretch: normal; line-height: normal; = font-family: Menlo; font-size-adjust: none; font-kerning: auto; = font-variant-alternates: normal; font-variant-ligatures: normal; = font-variant-numeric: normal; font-variant-east-asian: normal; = font-variant-position: normal; font-feature-settings: normal; = font-optical-sizing: auto; font-variation-settings: normal;"><span = style=3D"font-variant-ligatures: no-common-ligatures"> = RETVAL =3D = true;</span></div></div><div><div style=3D"margin: 0px; font-style: = normal; font-variant-caps: normal; font-stretch: normal; line-height: = normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; = font-variant-alternates: normal; font-variant-ligatures: normal; = font-variant-numeric: normal; font-variant-east-asian: normal; = font-variant-position: normal; font-feature-settings: normal; = font-optical-sizing: auto; font-variation-settings: normal;"><span = style=3D"font-variant-ligatures: no-common-ligatures"> = } else = {</span></div></div></blockquote><div><p style=3D"margin: 0px; = font-style: normal; font-variant-caps: normal; font-stretch: normal; = line-height: normal; font-family: Menlo; font-size-adjust: none; = font-kerning: auto; font-variant-alternates: normal; = font-variant-ligatures: normal; font-variant-numeric: normal; = font-variant-east-asian: normal; font-variant-position: normal; = font-feature-settings: normal; font-optical-sizing: auto; = font-variation-settings: normal; min-height: 15px;"><span = style=3D"font-variant-ligatures: no-common-ligatures"></span><br = class=3D"webkit-block-placeholder"></p> </div><div> <div><span style=3D"font-variant-ligatures: = no-common-ligatures"><br></span></div><div><br><blockquote = type=3D"cite"><div>On Sep 27, 2024, at 12:19, Shawn H Corey = <[email protected]> wrote:</div><br = class=3D"Apple-interchange-newline"><div> =20 <meta http-equiv=3D"content-type" content=3D"text/html; = charset=3DUTF-8"> =20 <div> <br> I install perl-5.40.0 via perlbrew and then tried to install Wx with cpanm. I get the follow error.<br> <br> <font face=3D"monospace">g++ -pthread -c -I. -I.. -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -I. -I. -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -I. -I../.. -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN = -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 -O2 -DVERSION=3D\"0.01\" -DXS_VERSION=3D\"0.01\" -fPIC = "-I/home/shawn/perl5/perlbrew/perls/perl-5.40.0/lib/5.40.0/x86_64-linux-gn= u-thread-multi/CORE" -DWXPL_EXT -D_FILE_OFFSET_BITS=3D64 -DWXUSINGDLL = -D__WXGTK__ -D_FILE_OFFSET_BITS=3D64 -DWXUSINGDLL = -D__WXGTK__ -DWXPL_EXT -D_FILE_OFFSET_BITS=3D64 -DWXUSINGDLL -D__WXGTK__ = PropertyGrid.c<br> PropertyGrid.c: In function =E2=80=98void XS_Wx__ColourProperty_SetPlValue(PerlInterpreter*, CV*)=E2=80=99:<br= > PropertyGrid.c:27187:49: error: call of overloaded =E2=80=98wxVariant(wxColour&)=E2=80=99 is ambiguous<br> 27187 = | &= nbsp; wxVariant value =3D wxVariant(*col);<br> = | &= nbsp; &nb= sp;  = ; = ^<br> In file included from ../../cpp/helpers.h:19,<br> = &n= bsp; from ../../cpp/wxapi.h:170,<br> = &n= bsp; from PropertyGrid.c:23:<br> /usr/include/wx-3.0/wx/variant.h:187:5: note: candidate: =E2=80=98wxVariant::wxVariant(bool, const wxString&)=E2=80=99<br= > 187 | wxVariant(bool val, const = wxString& name =3D wxEmptyString);<br> | = ^~~~~~~~~<br> /usr/include/wx-3.0/wx/variant.h:111:5: note: candidate: =E2=80=98wxVariant::wxVariant(const wxAny&)=E2=80=99<br> 111 | wxVariant(const wxAny& = any);<br> | = ^~~~~~~~~</font><br> <br> <pre class=3D"moz-signature" cols=3D"72">It looks like a simple fix. = I wonder what it was before. --=20 =F0=9D=91=86=F0=9D=92=89=F0=9D=92=82=F0=9D=92=98=F0=9D=92=8F =F0=9D=90=BB = =F0=9D=90=B6=F0=9D=92=90=F0=9D=92=93=F0=9D=92=86=F0=9D=92=9A = =F0=9F=87=A8=F0=9F=87=A6</pre> </div> </div></blockquote></div><br><div> <meta charset=3D"UTF-8"><div dir=3D"auto" style=3D"caret-color: rgb(0, = 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; = text-transform: none; white-space: normal; word-spacing: 0px; = -webkit-text-stroke-width: 0px; text-decoration: none; overflow-wrap: = break-word; -webkit-nbsp-mode: space; line-break: = after-white-space;"><div>--</div><div>=EF=A3=BF<br>Jim Burwell<br>Sr. = Systems Administrator<br>Apple<br>Systems Engineering: Products, = RF, Infrastructure Platform - US<br>One Apple Park Way, = 87-DEF<br>Cupertino, CA 95014, USA<br>Office +1-408-7838379<br>iPhone = +1-408-5494338<br>[email protected]<br><br>This email and any = attachments may contain confidential information intended only = for the<br>recipient(s) named above. Any other distribution, = forwarding, copying or disclosure of this<br>message is strictly = prohibited. If you have received this email in error, please = notify me<br>immediately by telephone or return email, and delete = this message from your system</div></div> </div> <br></div></div></div></blockquote></div><br><div> <meta charset=3D"UTF-8"><div dir=3D"auto" style=3D"caret-color: rgb(0, = 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none; overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: = after-white-space;"><div>--</div><div>=EF=A3=BF<br>Jim Burwell<br>Sr. = Systems Administrator<br>Apple<br>Systems Engineering: Products, = RF, Infrastructure Platform - US<br>One Apple Park Way, = 87-DEF<br>Cupertino, CA 95014, USA<br>Office +1-408-7838379<br>iPhone = +1-408-5494338<br>[email protected]<br><br>This email and any = attachments may contain confidential information intended only = for the<br>recipient(s) named above. Any other distribution, = forwarding, copying or disclosure of this<br>message is strictly = prohibited. If you have received this email in error, please = notify me<br>immediately by telephone or return email, and delete = this message from your system</div></div> </div> <br></div></body></html>= --Apple-Mail=_1815D16E-AC73-4676-9585-590837198185--