MaxPerl / perl-Gtk3-windows-installer

A script to easily install the perl Gtk3 module in the MinGW64/MSys2 shell on Windows
2 stars 4 forks source link

Installation of the perl module Glib::Object::Introspection fails because of long paths #3

Open MaxPerl opened 7 years ago

MaxPerl commented 7 years ago

Installation of the perl module Glib::Object::Introspection fails, if the installer files are located under ~/create-windows-installer-template or ~/installertemplate. If the files are located under ~/installer everything works. I don't know where the problem is...

Here are the error message of perl ./Makefile.PL:

Trying to build test libraries... not OK Can't cd to ../../../../../../../../.. from ./build/tmp-introspectnwxftv/msys64/home/maximilian/installer-template/perl-Gtk3-Build/Glib-Object-Introspection-0.043/build/tmp-introspectnwxftv: No such file or directory at C:/msys64/mingw64/lib/perl5/core_perl/File/Find.pm line 469.

MaxPerl commented 7 years ago

seems to conern https://github.com/AlDanial/cloc/issues/58

zmughal commented 7 years ago

If you have the same bug, this may interest you https://github.com/plicease/Alien-Build/issues/13.

Lesson: keep paths as short as possible.

MaxPerl commented 7 years ago

Oh yes, this was a hard lesson ;-) I will rename the directory name of the installer template soon, so that the paths are shorter by default...