* [Buildroot] [PATCH] scancpan: fix doc
@ 2016-06-14 18:47 Francois Perrad
2016-06-14 19:58 ` Yann E. MORIN
0 siblings, 1 reply; 2+ messages in thread
From: Francois Perrad @ 2016-06-14 18:47 UTC (permalink / raw)
To: buildroot
we need to install a host perl with the same version as our target perl
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
support/scripts/scancpan | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/support/scripts/scancpan b/support/scripts/scancpan
index 6c70cfb..c2aa2e9 100755
--- a/support/scripts/scancpan
+++ b/support/scripts/scancpan
@@ -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 ...]
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] scancpan: fix doc
2016-06-14 18:47 [Buildroot] [PATCH] scancpan: fix doc Francois Perrad
@ 2016-06-14 19:58 ` Yann E. MORIN
0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2016-06-14 19:58 UTC (permalink / raw)
To: buildroot
Fran?ois, All,
On 2016-06-14 20:47 +0200, Francois Perrad spake thusly:
> we need to install a host perl with the same version as our target perl
>
> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
> ---
> support/scripts/scancpan | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/support/scripts/scancpan b/support/scripts/scancpan
> index 6c70cfb..c2aa2e9 100755
> --- a/support/scripts/scancpan
> +++ b/support/scripts/scancpan
> @@ -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.
> supports/scripts/scancpan [options] [distname ...]
>
> --
> 1.9.1
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| 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. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-14 19:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-14 18:47 [Buildroot] [PATCH] scancpan: fix doc Francois Perrad
2016-06-14 19:58 ` Yann E. MORIN
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox