scancpan: fix doc
PATCH 1/1 scancpan: fix doc
we need to install a host perl with the same version as our target perl
--- support/scripts/scancpan | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
support/scripts/scancpan +1 -1
@@ -748,7 +748,7 @@ support/scripts/scancpan Try-Tiny Moo curl -kL http://install.perlbrew.pl | bash -perlbrew install perl-5.18.2 +perlbrew install perl-5.22.2 supports/scripts/scancpan [options] [distname ...]
Signature · 1 line
1.9.1
PATCH 1/1 scancpan: fix doc
Fran?ois, All,
On 2016-06-14 20:47 +0200, Francois Perrad spake thusly:
Quoted 12 lines
we need to install a host perl with the same version as our target perl
Signed-off-by Francois Perrad <[email protected]>--- support/scripts/scancpan | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)support/scripts/scancpan +0
-0
support/scripts/scancpan support/scripts/scancpan Try-Tiny Moo · line 751
Quoted 5 lines
support/scripts/scancpan +1
-1@@ -748,7 +748,7 @@ support/scripts/scancpan Try-Tiny Moo curl -kL http://install.perlbrew.pl | bash -perlbrew install perl-5.18.2 +perlbrew install perl-5.22.2
Would it be possible that, if this requirement is not met, it exits with an informative message instead of just bailing out?
That information message could possibly state something like:
The same version of perl (5.022) as used by Buildroot is not available on your machine.
You may install a local one by running:
perlbrew install perl-5.22.2
Note however that my installtion (Ubuntu 16.04) is missing perlbrew; it is not installed by default.
I am not sure where to go from here. On one side, I thing people dealing with perl would already have such things installed (or be willing to install them) on their machine.
On the other hand, we've always tried to keep Buildroot's requirement on the host as minimal as possible, and perlbrew would be adding yet another dependency.
I'm undecided. But I'd really like the error message, above! ;-)
Regards,
Yann E. MORIN.
Quoted 9 lines
support/scripts/scancpan +0
-0supports/scripts/scancpan [options] [distname ...]Signature · 6 lines
1.9.1 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'