Subject: | Moose::Exporter failing to compile |
From: | phoenyx33 [...] gmail.com |
This is what happens when I try to install it.
cpan[1]> install Moose::Exporter
Reading '/home/Kenneth/.cpan/Metadata'
Database was generated on Wed, 29 Jan 2020 21:17:03 GMT
Running install for module 'Moose::Exporter'
Checksum for /home/Kenneth/.cpan/sources/authors/id/E/ET/ETHER/Moose-2.2012.tar.gz ok
Scanning cache /home/Kenneth/.cpan/build for sizes
............................................................................DONE
Configuring E/ET/ETHER/Moose-2.2012.tar.gz with Makefile.PL
HASCOMPILERi5VF/TESTVg7e.o:TESTVg7e.c:(.text+0x21): undefined reference to `Perl_newSViv'
HASCOMPILERi5VF/TESTVg7e.o:TESTVg7e.c:(.text+0x21): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `Perl_newSViv'
HASCOMPILERi5VF/TESTVg7e.o:TESTVg7e.c:(.text+0x37): undefined reference to `Perl_sv_2mortal'
HASCOMPILERi5VF/TESTVg7e.o:TESTVg7e.c:(.text+0x37): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `Perl_sv_2mortal'
HASCOMPILERi5VF/TESTVg7e.o:TESTVg7e.c:(.text+0x6b): undefined reference to `Perl_newXS'
HASCOMPILERi5VF/TESTVg7e.o:TESTVg7e.c:(.text+0x6b): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `Perl_newXS'
collect2: error: ld returned 1 exit status
Couldn't execute g++ HASCOMPILERi5VF/TESTVg7e.o -o HASCOMPILERi5VF/TESTVg7e.dll --shared -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--enable-auto-image-base -fstack-protector-strong : at Makefile.PL line 12.
This distribution requires a working compiler at Makefile.PL line 12.
Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=site]
ETHER/Moose-2.2012.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK
Failed during this command:
ETHER/Moose-2.2012.tar.gz : writemakefile NO '/usr/bin/perl Makefile.PL INSTALLDIRS=site' returned status 256