-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing perl-doc dependency makes "sympa help" command output the script content #1416
Comments
Yes, I ran into this problem as well. |
If there are no problem on PR above, I'll merge it. |
Thanks for the update Soji! It does not fix it for me, but it may be due to my server. Maybe @racke can explain where I am wrong (My test server is an old Ubuntu 16): 1- if I simply run Probably something wrong on my side only. |
Show us information about actual environment.
[EDIT] And please provide us the accurate information. For example, if you have performed the steps you wrote in "Installation method", the installation would not be successful. |
Looks not a bug of SympaIt looks to me that reported behavior is not a bug of Sympa: See Dual-Life/Pod-Usage#21 . @racke, I think the mainteners of Debian package would be better to add |
Exact sequence of installation:
So I ran: It failed:
So, force: It worked:
Trying to access the help:
And found the following line in my shell after quitting the viewer: So I installed perl-doc: It succeeds:
I try accessing the help again:
The source code is displayed:
And I find the same line: But there is a perldoc in the system: And
And
So I install using apt:
and try again accessing the help:
It is displayed (with a few errors in the display but it is readable - and it is not related to sympa,
Installing using apt adds the
Hope this helps. |
What is the content of this file? [EDIT] I tried with Ubuntu 16.04.7 LTS (AMD64), and Pod::Perldoc was successfully installed. Anyways the reported behavior was reproduced on my side, too. |
I found that, even if So this is a defect either of In conclusion, this is not a bug of Sympa and this issue is closed with [wontfix] label. |
Thanks @ikedas , |
Version
Sympa 6.2 HEAD revision
Installation method
Install from the source (upgrrade from 6.2.38).
The following commands were run:
No installation error.
Expected behavior
Display the sympa man page
Actual behavior
The sympa script source code is displayed instead.
After leaving the viewer, a message indicating that perl-doc is required has been left on the terminal.
Steps to reproduce
Run
sympa help
orsympa
or anysympa help <command>
.Additional information
Installing perl-doc fixes the problem (it did not work with cpanm install, but it worked with the distribution package).
This package should be added to the dependencies when installing Sympa now, as it is mandatory to get online help - contrary to the older sympa.pl script which output itself.
As I am working on a test server, I can completely erase the installation to reinstall it from scratch.
The text was updated successfully, but these errors were encountered: