I'm trying to build a perl program from source. The program has a Build script which installs all the many dependencies by cpan by invoking perl ./Build installdeps
. However, some of the dependencies can't be installed by cpan properly, namely Wx.
On a fresh install of Ubuntu 22.04, I've been able to workaround this by installing the necessary modules via apt. For Wx, for example, I can do sudo apt install libalien-wxwidgets-perl libwx-perl
and then if I run perl ./Build installdeps
or simply cpan -i Wx
, cpan detects that Wx is already installed, and I can eventually run ./Build install
and the program will work with the dependencies installed by apt. But, on my main computer, I'm unable to do this. I can install all the same dependencies by apt, but cpan still thinks they're not installed
Alien::wxWidgets
installed without issues here. Then, I tried to installWx
and it compiled (make
) but when runningmake test
I got a single test failure for the XRC extension: metacpan.org/release/MDOOTSON/Wx-0.9932/source/ext/xrc/lib/Wx/… which failed to load. I do not think this failure is criticalcpan -i Alien::wxWidgets
,cpan -i Wx
? I actually just tried that on a fresh install of Ubuntu 22.04 and it didn't work. But I used perlbrew and cpan. I didn't try using system perl or downloading the module and runningmake
manually.cpanm Alien::wxWidgets
and I get not OK due to Net::SSLeay, IO::Socket::SSL,IO::Socket::SSL::Utils, and LWP::Protocol::https