Hmm it seems to croak on atleast the PerlXS module, not familiar with
the others,
but atleast that one sprung into mind.
Den 28-10-2018 kl. 23:04 skrev David Dyer-Bennet:
After installing (via Pacman) the perl-modules group, there are a
number of things I want that are not present. Trying to install with
cpanm (which installed fairly easily) I've gotten past the obvious
dependencies now (make, gcc, tar), but I'm still not getting a
successful installation of Moose.
I'm quite new to MSYS2, moving over from Cygwin, and use Perl and CPAN
a lot on Linux and other OSs.
There are errors in the build.log file (full file below); the first
few "undefined reference" and "relocation truncated" errors sound
serious, but I don't have any clue how to fix them. It kind of looks
like something is failing in compiler capability tests, but I can't
really see what. Suggestions?
This is the build.log file from the most recent failed installation:
cpanm (App::cpanminus) 1.7044 on perl 5.028000 built for
x86_64-msys-thread-multi
Work directory is /c/Users/ddb/.cpanm/work/1540764126.7884
You have make /usr/bin/make
You have LWP 6.33
You have /usr/bin/tar: tar (GNU tar) 1.30
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.
Searching Moose () on cpanmetadb ...
--> Working on Moose
Fetching http://www.cpan.org/authors/id/E/ET/ETHER/Moose-2.2011.tar.gz
-> OK
Unpacking Moose-2.2011.tar.gz
Entering Moose-2.2011
Checking configure dependencies from META.json
Checking if you have Dist::CheckConflicts 0.02 ... Yes (0.11)
Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.34)
Configuring Moose-2.2011
Running Makefile.PL
HASCOMPILEROq6Y/TESTVbL0.o:TESTVbL0.c:(.text+0x1e): undefined
reference to `Perl_newSViv'
HASCOMPILEROq6Y/TESTVbL0.o:TESTVbL0.c:(.text+0x1e): relocation
truncated to fit: R_X86_64_PC32 against undefined symbol `Perl_newSViv'
HASCOMPILEROq6Y/TESTVbL0.o:TESTVbL0.c:(.text+0x3a): undefined
reference to `Perl_sv_2mortal'
HASCOMPILEROq6Y/TESTVbL0.o:TESTVbL0.c:(.text+0x3a): relocation
truncated to fit: R_X86_64_PC32 against undefined symbol
`Perl_sv_2mortal'
HASCOMPILEROq6Y/TESTVbL0.o:TESTVbL0.c:(.text+0x6b): undefined
reference to `Perl_newXS'
HASCOMPILEROq6Y/TESTVbL0.o:TESTVbL0.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++ HASCOMPILEROq6Y/TESTVbL0.o -o
HASCOMPILEROq6Y/TESTVbL0.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.
-> N/A
-> FAIL Configure failed for Moose-2.2011. See
/c/Users/ddb/.cpanm/work/1540764126.7884/build.log for details.
_______________________________________________
Msys2-users mailing list
Msys2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msys2-users