Skip Menu |

This queue is for tickets about the Wx CPAN distribution.

Report information
The Basics
Id: 125679
Status: new
Priority: 0/
Queue: Wx

People
Owner: Nobody in particular
Requestors: misko.herko [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Wx does not build with captive library
Date: Mon, 25 Jun 2018 09:21:40 +0200
To: bug-Wx [...] rt.cpan.org
From: Michal Herko <misko.herko [...] gmail.com>
If the system's wx library is missing, Wx fails to compile against the library build by Alien::WxWidgets. Steps to reproduce: remove Wx remove Alien::wxWidgets uninstall system wx library if present. wx-config command should not work execute 'cpan Wx' Expected behavior: Alien::wxWidget downloads and builds captive version of wx. Wx compiles and installs. Actual behavior: Alien::wxWidget builds and installs Wx fails to install, compilation fails on file PropertyGrid.c System: arch linux, updated at 23.6.2018 $ uname -a Linux wall-e 4.17.2-1-ARCH #1 SMP PREEMPT Sat Jun 16 11:08:59 UTC 2018 x86_64 GNU/Linux $ cpan --version /usr/bin/core_perl/cpan version 1.64 calling Getopt::Std::getopts (version 1.12 [paranoid]), running under Perl version 5.26.2. $ perl --version This is perl 5, version 26, subversion 2 (v5.26.2) built for x86_64- linux-thread-multi $ g++ --version g++ (GCC) 7.3.1 20180406 Alien::wxWidgets 0.96 Wx 0.9932 Note i have tried both g++ versions 7 and 8 with the same result. Workaround is to remove Alien::wxWidgets, then install distribution wx library: $ sudo rm -rf /usr/lib/perl5/5.26/site_perl/auto/Alien /usr/lib/perl5/5.26/site_perl/Alien /usr/share/man/man3/Alien* $ sudo pacman -S wxgtk2 $ cpan Wx

Message body is not shown because sender requested not to inline it.