holzschu / holzschu/a-shell

cpan is broken in recent builds?

Open
#619 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Perl
Stars
3.9k
Forks
213
Avg merge
1m
Merged PRs (30d)
1

Description

Using version 1.11.1 from the App Store, it seems like the `cpan` command for Perl is broken somehow. Both from an existing A-Shell installation (where I’ve successfully used `cpan` to install modules, months ago) and from a testing device with a fresh installation, `cpan` launches, but after any command inside `cpan`, it immediately exits. And it seemingly can’t install any modules.

Here’s an example session from a testing device:

```
[Documents] $ cpan
Loading internal logger. Log::Log4perl recomm
ended for better logging

CPAN.pm requires configuration, but most of it can be done automatically.
If you answer 'no' below, you will enter an interactive dialog for each configuration option instead.

Would you like to configure as much as possible automatically? [yes]

Autoconfiguration complete.

commit: wrote '/private/var/mobile/Containers/Data/Application/EDB7B316-B0B9-433C-ACEA-0FC278173A14/Documents/.cpan/CPAN/MyConfig.pm'

You can re-run configuration any time with 'o conf init' in the CPAN shell
Terminal does not support AddHistory.

To fix that, maybe try> install Term::ReadLine::Perl

cpan shell -- CPAN exploration and modules installation (v2.28)
Enter 'h' for help.

cpan[1]> readline() on closed filehandle FIN at /private/var/containers/Bundle/Application/56283D5A-50F6-4B26-BCA8-ACB0EF918B73/a-Shell.app/Perl/Term/ReadLine.pm line 474.
Terminal does not support GetHistory.
Lockfile removed.
```

Given that this exits like this on a fresh installation, it seems to be a problem with A-Shell, not my local setup. Any ideas what is going wrong?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.