-
Notifications
You must be signed in to change notification settings - Fork 25
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
Installing on Win10/ActivePerl 5.24.0 hangs #403
Comments
What version of |
The command
So it is indeed bsdtar version 3.5.2. |
I don't have access to my Windows box right now, but should be able to look at this soon. I've transferred this issue to Alien-Build because it is not specific to Alien::Libxml2. |
@MarcelVersteeg can you try this trail version of Alien::Build: |
@plicease I tried to install that version, but after installing/updating a lot of the required modules for that, I got stuck at installing Compress::Raw::Lzma:
I cannot compile that one, so I can't install it in order to install the trial version. |
This is a problem with AS Perl and/or Failing all of that here is a workaround that you can use to get it working for you: Download the libxml2 package https://download.gnome.org/sources/libxml2/2.11/libxml2-2.11.4.tar.xz into a directory
then apply this patch to use the local copy instead of trying to fetch it from gitlab: diff --git a/alienfile b/alienfile
index dcfb4eb..56ce7f2 100644
--- a/alienfile
+++ b/alienfile
@@ -131,19 +131,9 @@ share {
# off there. Turn it on elsewhere as it saves a copy.
meta->prop->{out_of_source} = $^O eq 'MSWin32' ? 0 : 1;
- plugin 'Download::GitLab' => (
- gitlab_host => 'https://gitlab.gnome.org',
- gitlab_user => 'GNOME',
- gitlab_project => 'libxml2',
- type => 'link',
- format => 'tar.xz',
- version_from => 'tag_name',
- convert_version => sub {
- my $version = shift;
- $version =~ s/^v//;
- $version;
- },
- );
+ start_url './patch/libxml2-2.11.4.tar';
+ plugin 'Download';
+ plugin 'Extract';
if($^O eq 'MSWin32' && $Config{ccname} eq 'cl')
{ Then try installing as normal. |
@plicease Sorry for the late reply, but something else came up inbetween. I downloaded the file to the Then I executed
It says "tried to call extract before download at D:/Perl64/site/lib/Alien/Build.pm line 742." To make sure, the patch is applied correctly, lines 128-170 of alienfile are as follows now:
|
Did you re-use the same Alien-Libxml2 extract from before? if so can you try applying to a fresh copy of Alien-Libxml2? |
@plicease I indeed used the same Alien-Libxml2 when I encountered the error. I unpacked the CPAN archive again, reapplied the patch and then What I am wondering though, is it correct that I only have a |
The libxml2 binaries are installed in a share directory. You can find the path for that share directory using the
|
I am trying to install Alient-Libxml2 on my Windows10 computer running ActivePerl 5.24.0 (due to a shared hosting service, I cannot use another version of Perl right now unfortunately), but the installation hangs on the extaction of the downloaded tar.xz.
I created the
makefile
using the commandThen started the build using the command
The output of the
dmake
command is:And then it stops
The text was updated successfully, but these errors were encountered: