Skip to content
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

man pages don't get installed. #295

Open
bahamat opened this issue Dec 16, 2016 · 7 comments
Open

man pages don't get installed. #295

bahamat opened this issue Dec 16, 2016 · 7 comments

Comments

@bahamat
Copy link
Contributor

bahamat commented Dec 16, 2016

Something with the build process hard codes the path of the person who published the npm module.

$ man mls
No manual entry for mls
$ json -f /opt/local/lib/node_modules/manta/package.json man
[
  "/Users/trentm/pristine/node-manta/man/man1/mchattr.1",
  "/Users/trentm/pristine/node-manta/man/man1/mchmod.1",
  "/Users/trentm/pristine/node-manta/man/man1/mfind.1",
  "/Users/trentm/pristine/node-manta/man/man1/mget.1",
  "/Users/trentm/pristine/node-manta/man/man1/minfo.1",
  "/Users/trentm/pristine/node-manta/man/man1/mjob.1",
  "/Users/trentm/pristine/node-manta/man/man1/mln.1",
  "/Users/trentm/pristine/node-manta/man/man1/mlogin.1",
  "/Users/trentm/pristine/node-manta/man/man1/mls.1",
  "/Users/trentm/pristine/node-manta/man/man1/mmkdir.1",
  "/Users/trentm/pristine/node-manta/man/man1/mput.1",
  "/Users/trentm/pristine/node-manta/man/man1/mrm.1",
  "/Users/trentm/pristine/node-manta/man/man1/mrmdir.1",
  "/Users/trentm/pristine/node-manta/man/man1/msign.1",
  "/Users/trentm/pristine/node-manta/man/man1/muntar.1"
]
@davepacheco
Copy link
Contributor

Yikes. That's strange.

That said, they work on my system, and I don't have MANPATH set. Is this SmartOS or OS X? Is mls in your path? Which man is this (shipped with the system or pkgsrc or something else)?

@bahamat
Copy link
Contributor Author

bahamat commented Dec 16, 2016

Both. I'm using a clean base-64-lts image for testing to make sure it's not something I've messed up.

Here's part of the verbose install output.

npm verb linkMans [email protected]
npm verb linkMans man files are [ '/Users/trentm/pristine/node-manta/man/man1/mchattr.1',
npm verb linkMans   '/Users/trentm/pristine/node-manta/man/man1/mchmod.1',
npm verb linkMans   '/Users/trentm/pristine/node-manta/man/man1/mfind.1',
npm verb linkMans   '/Users/trentm/pristine/node-manta/man/man1/mget.1',
npm verb linkMans   '/Users/trentm/pristine/node-manta/man/man1/minfo.1',
npm verb linkMans   '/Users/trentm/pristine/node-manta/man/man1/mjob.1',
npm verb linkMans   '/Users/trentm/pristine/node-manta/man/man1/mln.1',
npm verb linkMans   '/Users/trentm/pristine/node-manta/man/man1/mlogin.1',
npm verb linkMans   '/Users/trentm/pristine/node-manta/man/man1/mls.1',
npm verb linkMans   '/Users/trentm/pristine/node-manta/man/man1/mmkdir.1',
npm verb linkMans   '/Users/trentm/pristine/node-manta/man/man1/mput.1',
npm verb linkMans   '/Users/trentm/pristine/node-manta/man/man1/mrm.1',
npm verb linkMans   '/Users/trentm/pristine/node-manta/man/man1/mrmdir.1',
npm verb linkMans   '/Users/trentm/pristine/node-manta/man/man1/msign.1',
npm verb linkMans   '/Users/trentm/pristine/node-manta/man/man1/muntar.1' ] in /opt/local/share/man

And afterward:

# find /opt -name mlogin.1
/opt/local/lib/node_modules/manta/man/man1/mlogin.1
#

@trentm
Copy link
Contributor

trentm commented Dec 16, 2016 via email

@davepacheco
Copy link
Contributor

I've got version 3.1.2 installed on my Mac, and the manual pages work, but they do have the full path to where they were on @arekinath's system when it was published.

@chorrell
Copy link

fwiw, I see the same issue with 4.0.0 on a base-64-lts 14.4.2 instance.

@bahamat
Copy link
Contributor Author

bahamat commented Dec 17, 2016

I checked on a system that had 2.x and it also didn't have the man pages.

@davepacheco: if you uninstall (and make sure the symlinks are removed) then reinstall, does it have proper symlinks?

@bahamat
Copy link
Contributor Author

bahamat commented Dec 17, 2016

@trentm: I noticed the same thing with json on a clean instance too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants