From 3422582d68e94bb1c4da64512ac9a2c3654237d6 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Mon, 12 Jun 2023 16:45:42 -0700 Subject: [PATCH] Clarify missing library error When an extension fails to build due to missing libraries on the local system, call out that it is the development files that are misssing and when installing the library via a package manager it will likely require the library's development package. --- templates/locales/en.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/templates/locales/en.yml b/templates/locales/en.yml index 422d8bf6a..bdba9d3eb 100644 --- a/templates/locales/en.yml +++ b/templates/locales/en.yml @@ -1280,12 +1280,19 @@ en: again. plugin_missing_library: |- Vagrant failed to install the requested plugin because it depends - on a library which is not currently installed on this system. The - following library is required by the '%{name}' plugin: + on development files for a library which is not currently installed + on this system. The following library is required by the '%{name}' + plugin: %{library} - Please install the library and then run the command again. + If a package manager is used on this system, please install the development + package for the library. The name of the package will be similar to: + + %{library}-dev or %{library}-devel + + After the library and development files have been installed, please + run the command again. plugin_missing_ruby_dev: |- Vagrant failed to install the requested plugin because the Ruby header files could not be found. Install the ruby development package for your