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

Error trying to install latest version #10

Closed
haggen opened this issue Mar 24, 2022 · 2 comments
Closed

Error trying to install latest version #10

haggen opened this issue Mar 24, 2022 · 2 comments

Comments

@haggen
Copy link

haggen commented Mar 24, 2022

➜ asdf install perl latest
perl-install -j=16 -Dusethreads -Dusedevel --symlink-devel-executables 5.35.10 /home/arthur/.asdf/installs/perl/5.35.10
Unknown option --symlink-devel-executables

I'm not familiar with Perl environment. Google's yielding poor results. Any chance you could point me in the right direction?

@slewsys
Copy link
Contributor

slewsys commented Apr 3, 2022

Here's a fix. Presumably --symlink-devel-executables is from before perl-install?

diff --git a/bin/install b/bin/install
index 045c3ce..457804b 100755
--- a/bin/install
+++ b/bin/install
@@ -19,7 +19,7 @@ install_perl() {
 
   local build_args=("-j=${concurrency}" -Dusethreads)
   if is_development_version "$version"; then
-      build_args+=(-Dusedevel --symlink-devel-executables)
+      build_args+=(-Dusedevel)
   fi
   echo "perl-install ${build_args[@]} $version $install_path"
   $(perl_install_bin) "${build_args[@]}" "$version" "$install_path"

@ouest
Copy link
Owner

ouest commented Apr 8, 2022

@haggen
Sorry.
The option --symlink-devel-executables was wrong.

@slewsys
Thank you very much.
I have merged the p-r you created.

@ouest ouest closed this as completed Apr 8, 2022
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

3 participants