Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation of ExtUtils::Depends fails #4

Open
axcore opened this issue Mar 16, 2019 · 4 comments
Open

Installation of ExtUtils::Depends fails #4

axcore opened this issue Mar 16, 2019 · 4 comments

Comments

@axcore
Copy link

axcore commented Mar 16, 2019

Fresh install of msys2 (I tried releases from 11 Dec 2018, 31 May 2018 and 25 Oct 2016, with the same result)

[Start mingw-w64 terminal[
pacman -Syu
[restart the terminal]
pacman -Su
pacman -S --needed --noconfirm mingw-w64-x86_64-perl
wget https://github.com/MaxPerl/perl-Gtk3-windows-installer/archive/master.zip
pacman -S unzip
unzip master.zip
cd perl*
./install-perl-Gtk3-mingw64.pl

Get as far as this:

  • INSTALLING PERL DEPENDENCIES

ERROR:
Installing App::cpanminus..(23) Failed writing body
[OK]

  • INSTALLING EXTUTILS::DEPENDS

Download ExtUtils::Depends [OK]
Extract ExtUtils::Depends [OK]
perl Makefile.PL. [OK]
Building ExtUtils::Depends. [FAIL]
1: ERROR: Could not build ExtUtils::Depends:

By the way, the detection of pl2bat also fails. I had to manually copy pl2bat from C:\msys64\mingw64\bin\core_perl into C:\msys64\mingw64\bin.

@MaxPerl
Copy link
Owner

MaxPerl commented May 28, 2019

Thank you very much for the report. At the moment I have no Windows system. But I will look into the issue the next weeks. Could you send me the install.log and error.log? Was cpanm - in spite of the error - installed?

@MaxPerl
Copy link
Owner

MaxPerl commented May 28, 2019

PS.: Could you try to install ExtUtils::Depends manually through cpanm ExtUtils::Depends?

@axcore
Copy link
Author

axcore commented Jun 7, 2019

Today I replicated the procedure, exactly as described above, and these are the logs that were generated. install.log claims that cpanm is installed, but the system begs to differ:

$ cpanminus
-bash: cpanminus: command not found

error.log:

$ more error.log
warning: mingw-w64-x86_64-crt-git-7.0.0.5449.a0647123-1 is up to date -- skippin
g
warning: mingw-w64-x86_64-gcc-libs-9.1.0-2 is up to date -- skipping
warning: mingw-w64-x86_64-headers-git-7.0.0.5449.a0647123-1 is up to date -- ski
pping
warning: mingw-w64-x86_64-libwinpthread-git-7.0.0.5447.a2d94c81-1 is up to date
-- skipping
warning: mingw-w64-x86_64-make-4.2.1-2 is up to date -- skipping
warning: mingw-w64-x86_64-winpthreads-git-7.0.0.5447.a2d94c81-1 is up to date --
 skipping
warning: dependency cycle detected:
warning: mingw-w64-x86_64-harfbuzz will be installed before its mingw-w64-x86_64
-freetype dependency
tar: Old option 'f' requires an argument.
Try 'tar --help' or 'tar --usage' for more information.

install.log:

$ more install.log
:: There are 15 members in group mingw-w64-x86_64-toolchain:
:: Repository mingw64
   1) mingw-w64-x86_64-binutils  2) mingw-w64-x86_64-crt-git  3) mingw-w64-x86_6
4-gcc  4) mingw-w64-x86_64-gcc-fortran  5) mingw-w64-x86_64-gcc-libgfortran  6)
mingw-w64-x86_64-gcc-libs  7) mingw-w64-x86_64-gdb  8) mingw-w64-x86_64-headers-
git  9) mingw-w64-x86_64-libmangle-git  10) mingw-w64-x86_64-libwinpthread-git
11) mingw-w64-x86_64-make  12) mingw-w64-x86_64-pkg-config  13) mingw-w64-x86_64
-tools-git  14) mingw-w64-x86_64-winpthreads-git  15) mingw-w64-x86_64-winstorec
ompat-git

Enter a selection (default=all):
resolving dependencies...
looking for conflicting packages...

Packages (50) automake1.10-1.10.3-3  automake1.11-1.11.6-3  automake1.12-1.12.6-
3  automake1.13-1.13.4-4  automake1.14-1.14.1-3  automake1.15-1.15.1-1  automake
1.16-1.16.1-1  automake1.6-1.6.3-2  automake1.7-1.7.9-2  automake1.8-1.8.5-3  au
tomake1.9-1.9.6-2  db-5.3.28-2  diffutils-3.7-1  gdbm-1.18.1-2  libgdbm-1.18.1-2
  libltdl-2.4.6-6  mingw-w64-x86_64-bzip2-1.0.6-6  mingw-w64-x86_64-ca-certifica
tes-20180409-1  mingw-w64-x86_64-isl-0.21-1  mingw-w64-x86_64-libffi-3.2.1-4  mi
ngw-w64-x86_64-libtasn1-4.13-1  mingw-w64-x86_64-mpdecimal-2.4.2-1  mingw-w64-x8
6_64-openssl-1.1.1.c-1  mingw-w64-x86_64-p11-kit-0.23.16.1-1  mingw-w64-x86_64-p
dcurses-4.1.0-1  mingw-w64-x86_64-python3-3.7.3-4  mingw-w64-x86_64-readline-8.0
.000-3  mingw-w64-x86_64-sqlite3-3.28.0-2  mingw-w64-x86_64-tcl-8.6.9-2  mingw-w
64-x86_64-tk-8.6.9.1-1  mingw-w64-x86_64-windows-default-manifest-6.4-3  mingw-w
64-x86_64-xz-5.2.4-1  mingw-w64-x86_64-zlib-1.2.11-7  perl-5.28.2-1  tar-1.32-1
 autoconf-2.69-5  automake-wrapper-11-1  libtool-2.4.6-6  make-4.2.1-1  mingw-w6
4-x86_64-binutils-2.30-6  mingw-w64-x86_64-gcc-9.1.0-2  mingw-w64-x86_64-gcc-for
tran-9.1.0-2  mingw-w64-x86_64-gcc-libgfortran-9.1.0-2  mingw-w64-x86_64-gdb-8.3
-7  mingw-w64-x86_64-libmangle-git-7.0.0.5230.69c8fad6-1  mingw-w64-x86_64-libto
ol-2.4.6-14  mingw-w64-x86_64-pkg-config-0.29.2-1  mingw-w64-x86_64-tools-git-7.
0.0.5394.0dfb3d3f-1  mingw-w64-x86_64-winstorecompat-git-7.0.0.5394.0dfb3d3f-1
patch-2.7.6-1

Total Download Size:   110.69 MiB
Total Installed Size:  610.21 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
downloading mingw-w64-x86_64-zlib-1.2.11-7-any.pkg.tar.xz...
downloading mingw-w64-x86_64-binutils-2.30-6-any.pkg.tar.xz...
downloading mingw-w64-x86_64-isl-0.21-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-windows-default-manifest-6.4-3-any.pkg.tar.xz...
downloading mingw-w64-x86_64-gcc-9.1.0-2-any.pkg.tar.xz...
downloading mingw-w64-x86_64-gcc-libgfortran-9.1.0-2-any.pkg.tar.xz...
downloading mingw-w64-x86_64-gcc-fortran-9.1.0-2-any.pkg.tar.xz...
downloading mingw-w64-x86_64-pdcurses-4.1.0-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-bzip2-1.0.6-6-any.pkg.tar.xz...
downloading mingw-w64-x86_64-libffi-3.2.1-4-any.pkg.tar.xz...
downloading mingw-w64-x86_64-mpdecimal-2.4.2-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-libtasn1-4.13-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-p11-kit-0.23.16.1-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-ca-certificates-20180409-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-openssl-1.1.1.c-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-tcl-8.6.9-2-any.pkg.tar.xz...
downloading mingw-w64-x86_64-tk-8.6.9.1-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-xz-5.2.4-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-readline-8.0.000-3-any.pkg.tar.xz...
downloading mingw-w64-x86_64-sqlite3-3.28.0-2-any.pkg.tar.xz...
downloading mingw-w64-x86_64-python3-3.7.3-4-any.pkg.tar.xz...
downloading mingw-w64-x86_64-gdb-8.3-7-any.pkg.tar.xz...
downloading mingw-w64-x86_64-libmangle-git-7.0.0.5230.69c8fad6-1-any.pkg.tar.xz.
..
downloading mingw-w64-x86_64-pkg-config-0.29.2-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-tools-git-7.0.0.5394.0dfb3d3f-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-winstorecompat-git-7.0.0.5394.0dfb3d3f-1-any.pkg.ta
r.xz...
downloading mingw-w64-x86_64-libtool-2.4.6-14-any.pkg.tar.xz...
downloading diffutils-3.7-1-x86_64.pkg.tar.xz...
downloading db-5.3.28-2-x86_64.pkg.tar.xz...
downloading libgdbm-1.18.1-2-x86_64.pkg.tar.xz...
downloading gdbm-1.18.1-2-x86_64.pkg.tar.xz...
downloading perl-5.28.2-1-x86_64.pkg.tar.xz...
downloading autoconf-2.69-5-any.pkg.tar.xz...
downloading automake1.6-1.6.3-2-any.pkg.tar.xz...
downloading automake1.7-1.7.9-2-any.pkg.tar.xz...
downloading automake1.8-1.8.5-3-any.pkg.tar.xz...
downloading automake1.9-1.9.6-2-any.pkg.tar.xz...
downloading automake1.10-1.10.3-3-any.pkg.tar.xz...
downloading automake1.11-1.11.6-3-any.pkg.tar.xz...
downloading automake1.12-1.12.6-3-any.pkg.tar.xz...
downloading automake1.13-1.13.4-4-any.pkg.tar.xz...
downloading automake1.14-1.14.1-3-any.pkg.tar.xz...
downloading automake1.15-1.15.1-1-any.pkg.tar.xz...
downloading automake1.16-1.16.1-1-any.pkg.tar.xz...
downloading automake-wrapper-11-1-any.pkg.tar.xz...
downloading libltdl-2.4.6-6-x86_64.pkg.tar.xz...
downloading tar-1.32-1-x86_64.pkg.tar.xz...
downloading libtool-2.4.6-6-x86_64.pkg.tar.xz...
downloading make-4.2.1-1-x86_64.pkg.tar.xz...
downloading patch-2.7.6-1-x86_64.pkg.tar.xz...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing mingw-w64-x86_64-zlib...
installing mingw-w64-x86_64-binutils...
installing mingw-w64-x86_64-isl...
installing mingw-w64-x86_64-windows-default-manifest...
installing mingw-w64-x86_64-gcc...
installing mingw-w64-x86_64-gcc-libgfortran...
installing mingw-w64-x86_64-gcc-fortran...
installing mingw-w64-x86_64-pdcurses...
installing mingw-w64-x86_64-bzip2...
installing mingw-w64-x86_64-libffi...
installing mingw-w64-x86_64-mpdecimal...
installing mingw-w64-x86_64-libtasn1...
installing mingw-w64-x86_64-p11-kit...
installing mingw-w64-x86_64-ca-certificates...
installing mingw-w64-x86_64-openssl...
installing mingw-w64-x86_64-tcl...
installing mingw-w64-x86_64-tk...
installing mingw-w64-x86_64-xz...
installing mingw-w64-x86_64-readline...
installing mingw-w64-x86_64-sqlite3...
installing mingw-w64-x86_64-python3...
installing mingw-w64-x86_64-gdb...
installing mingw-w64-x86_64-libmangle-git...
installing mingw-w64-x86_64-pkg-config...
installing mingw-w64-x86_64-tools-git...
installing mingw-w64-x86_64-winstorecompat-git...
installing diffutils...
installing db...
installing libgdbm...
installing gdbm...
installing perl...
installing autoconf...
installing automake1.6...
installing automake1.7...
installing automake1.8...
installing automake1.9...
installing automake1.10...
installing automake1.11...
installing automake1.12...
installing automake1.13...
installing automake1.14...
installing automake1.15...
installing automake1.16...
installing automake-wrapper...
installing libltdl...
installing tar...
installing libtool...
installing make...
installing patch...
Optional dependencies for patch
    ed: for patch -e functionality
installing mingw-w64-x86_64-libtool...
resolving dependencies...
looking for conflicting packages...

Packages (36) mingw-w64-x86_64-adwaita-icon-theme-3.32.0-1  mingw-w64-x86_64-atk
-2.32.0-1  mingw-w64-x86_64-fontconfig-2.13.1-1  mingw-w64-x86_64-freeglut-3.0.0
-4  mingw-w64-x86_64-freetype-2.10.0-1  mingw-w64-x86_64-fribidi-1.0.5-1  mingw-
w64-x86_64-gdk-pixbuf2-2.38.1-1  mingw-w64-x86_64-glib2-2.60.3-4  mingw-w64-x86_
64-gobject-introspection-runtime-1.60.1-3  mingw-w64-x86_64-graphite2-1.3.13-1
mingw-w64-x86_64-harfbuzz-2.5.1-1  mingw-w64-x86_64-hicolor-icon-theme-0.17-1  m
ingw-w64-x86_64-jasper-2.0.16-1  mingw-w64-x86_64-json-glib-1.4.4-1  mingw-w64-x
86_64-libcroco-0.6.13-1  mingw-w64-x86_64-libdatrie-0.2.12-1  mingw-w64-x86_64-l
ibepoxy-1.5.3-2  mingw-w64-x86_64-libjpeg-turbo-2.0.2-1  mingw-w64-x86_64-libpng
-1.6.37-3  mingw-w64-x86_64-librsvg-2.40.20-1  mingw-w64-x86_64-libthai-0.1.28-2
  mingw-w64-x86_64-libtiff-4.0.10-1  mingw-w64-x86_64-libxml2-2.9.9-1  mingw-w64
-x86_64-lzo2-2.10-1  mingw-w64-x86_64-pango-1.43.0-2  mingw-w64-x86_64-pcre-8.43
-1  mingw-w64-x86_64-pixman-0.38.4-1  mingw-w64-x86_64-python3-beaker-1.10.1-1
mingw-w64-x86_64-python3-mako-1.0.12-1  mingw-w64-x86_64-python3-markupsafe-1.1.
1-1  mingw-w64-x86_64-shared-mime-info-1.12-1  mingw-w64-x86_64-wineditline-2.20
5-1  mingw-w64-x86_64-zstd-1.4.0-1  mingw-w64-x86_64-cairo-1.16.0-1  mingw-w64-x
86_64-gobject-introspection-1.60.1-3  mingw-w64-x86_64-gtk3-3.24.8-1

Total Download Size:    40.50 MiB
Total Installed Size:  236.81 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
downloading mingw-w64-x86_64-wineditline-2.205-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-pcre-8.43-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-glib2-2.60.3-4-any.pkg.tar.xz...
downloading mingw-w64-x86_64-gobject-introspection-runtime-1.60.1-3-any.pkg.tar.
xz...
downloading mingw-w64-x86_64-python3-markupsafe-1.1.1-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-python3-beaker-1.10.1-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-python3-mako-1.0.12-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-gobject-introspection-1.60.1-3-any.pkg.tar.xz...
downloading mingw-w64-x86_64-graphite2-1.3.13-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-harfbuzz-2.5.1-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-libpng-1.6.37-3-any.pkg.tar.xz...
downloading mingw-w64-x86_64-freetype-2.10.0-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-fontconfig-2.13.1-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-lzo2-2.10-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-pixman-0.38.4-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-cairo-1.16.0-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-hicolor-icon-theme-0.17-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-freeglut-3.0.0-4-any.pkg.tar.xz...
downloading mingw-w64-x86_64-libjpeg-turbo-2.0.2-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-jasper-2.0.16-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-zstd-1.4.0-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-libtiff-4.0.10-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-gdk-pixbuf2-2.38.1-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-fribidi-1.0.5-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-libdatrie-0.2.12-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-libthai-0.1.28-2-any.pkg.tar.xz...
downloading mingw-w64-x86_64-pango-1.43.0-2-any.pkg.tar.xz...
downloading mingw-w64-x86_64-libxml2-2.9.9-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-libcroco-0.6.13-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-librsvg-2.40.20-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-adwaita-icon-theme-3.32.0-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-atk-2.32.0-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-json-glib-1.4.4-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-libepoxy-1.5.3-2-any.pkg.tar.xz...
downloading mingw-w64-x86_64-shared-mime-info-1.12-1-any.pkg.tar.xz...
downloading mingw-w64-x86_64-gtk3-3.24.8-1-any.pkg.tar.xz...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing mingw-w64-x86_64-wineditline...
installing mingw-w64-x86_64-pcre...
installing mingw-w64-x86_64-glib2...
No schema files found: doing nothing.
/
installing mingw-w64-x86_64-gobject-introspection-runtime...
installing mingw-w64-x86_64-python3-markupsafe...
installing mingw-w64-x86_64-python3-beaker...
installing mingw-w64-x86_64-python3-mako...
/
installing mingw-w64-x86_64-gobject-introspection...
/
installing mingw-w64-x86_64-graphite2...
installing mingw-w64-x86_64-harfbuzz...
Optional dependencies for mingw-w64-x86_64-harfbuzz
    mingw-w64-x86_64-icu: harfbuzz-icu support
    mingw-w64-x86_64-cairo: hb-view program [pending]
installing mingw-w64-x86_64-libpng...
installing mingw-w64-x86_64-freetype...
installing mingw-w64-x86_64-fontconfig...

  Fontconfig configuration is done via /mingw64/etc/fonts/conf.avail and conf.d.
  Read /mingw64/etc/fonts/conf.d/README for more information.

updating font cache... done.
installing mingw-w64-x86_64-lzo2...
installing mingw-w64-x86_64-pixman...
installing mingw-w64-x86_64-cairo...
Optional dependencies for mingw-w64-x86_64-cairo
    mingw-w64-x86_64-glib2: libcairo-gobject [installed]
installing mingw-w64-x86_64-hicolor-icon-theme...
installing mingw-w64-x86_64-freeglut...
installing mingw-w64-x86_64-libjpeg-turbo...
installing mingw-w64-x86_64-jasper...
installing mingw-w64-x86_64-zstd...
installing mingw-w64-x86_64-libtiff...
installing mingw-w64-x86_64-gdk-pixbuf2...
installing mingw-w64-x86_64-fribidi...
installing mingw-w64-x86_64-libdatrie...
installing mingw-w64-x86_64-libthai...
installing mingw-w64-x86_64-pango...
installing mingw-w64-x86_64-libxml2...
installing mingw-w64-x86_64-libcroco...
installing mingw-w64-x86_64-librsvg...
Optional dependencies for mingw-w64-x86_64-librsvg
    mingw-w64-x86_64-gtk3: for rsvg-view-3 [pending]
installing mingw-w64-x86_64-adwaita-icon-theme...
installing mingw-w64-x86_64-atk...
installing mingw-w64-x86_64-json-glib...
installing mingw-w64-x86_64-libepoxy...
installing mingw-w64-x86_64-shared-mime-info...
installing mingw-w64-x86_64-gtk3...
--> Working on App::cpanminus
Fetching http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7044.tar.g
z ... OK
Configuring App-cpanminus-1.7044 ... OK
Building and testing App-cpanminus-1.7044 ... OK
Successfully installed App-cpanminus-1.7044
1 distribution installed

@axcore
Copy link
Author

axcore commented Jan 21, 2024

This week, I tried again. After some experimentation, I was able to get your script working.

For the benefit of anyone else who has the same problem, here is the method I used.

[Open the mingw64 terminal]

pacman -Syu
pacman -Su

[Close the mingw64 terminal, then open the msys2 terminal]

pacman -S gcc base-devel
pacman -S --needed --noconfirm mingw-w64-x86_64-perl

[Copy the two pl2bat files from ..\mingw64\bin\core_perl to the folder above, ..\mingw64\bin\]

[Close the msys2 terminal, and open a new mingw64 terminal]

[The original version of perl-Gtk3-windows installer does not work, but this fork does]

wget https://github.com/kerenok/perl-Gtk3-windows-installer/archive/master.zip
pacman -S unzip
unzip master.zip
cd perl*
./install-perl-Gtk3-mingw64.pl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants