Open KalessinD opened 2 months ago
I can't say I've ever heard of Carton - I was raised on Makefile.PL and later CPAN.pm.... I'll have to take a look and see what would need to be done to allow Carton to be used.
PS - I'll happily consider a patch :-)
Thank you for so fast answer.
So, here is my quick proposal to fix this issue:
--- Makefile.PL 2024-04-18 17:45:11.774142917 +0300
+++ Makefile.PL 2024-04-18 17:49:37.682150578 +0300
@@ -513,2 +513,7 @@
my $ans;
+
+ if ( not defined($chained) && ($ENV{PERL_MM_USE_DEFAULT} || $ENV{NONINTERACTIVE_TESTING}) ) {
+ $chained = 'CHAINED'; # set the default value
+ }
+
if ( defined($chained) ) {
You can read about these environments in man cpan
or here.
I see that you have other questions in makefile.PL.
So, it would be great to have the same applied patch for them too.
JIC, to install prl packages via carton
$ apt-get install carton
$ cat cpanfile
requires 'DBD::Sybase';
$ carton install
It should be install into the "local" directory next to the cpanfile
Hi!
Seems that there is no way to use carton (see module Carton) to install this package. I didn't find any solution to overpass question to choose mode (see checkChainedAutoCommit method in makefile.PL).
This makefile doesn't support any cpan/cpanm/carton environment variables to pass default anwsers or to switch off the interactive mode.
Could you please to support any possible solution to pass an answer without interactive mode?
Thanks in advance.
P.S.
The current error message in carton log: