maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [HELP]Getting man-db to work on N9/N950 (https://talk.maemo.org/showthread.php?t=85275)

Ariadeno 2012-07-06 14:12

Re: [HELP]Getting man-db to work on N950
 
I got manpath working. I had to add it to /etc/profile instead of ~/.bashrc

Of course harmattan is using sh. How could I forget that? Silly me.. Anyway

Now I get the error that manpath can't open the configuration file manpath.config as it isn't located in /etc/. Instead it's located in /opt/myfiles/etc.

How do I get manpath reading the config file and other files from /opt/myfiles do I have to make symlinks??

Ariadeno 2012-07-06 21:52

Re: [HELP]Getting man-db to work on N9/N950
 
I got the man command working by just symlinking executable in /opt/myfiles/usr/lib/man-db/man to /opt/myfiles/usr/bin/man.
It's a shame that it was not present after unpacking the deb. I wonder why nokia added this package in their repo in the first place, since it conflicts with busybox.
Anyway the man command is working.. But unfortunately without the manuals.

Manpath should fix this. However I have no idea what to do next.

make another symlinks to the other non-binary folders or just edit the manpath.config file?

mcbook 2012-09-21 11:59

Re: [HELP]Getting man-db to work on N9/N950
 
anyone knows how to get man working?
i'd appreciate that...

wicket 2012-09-21 12:19

Re: [HELP]Getting man-db to work on N9/N950
 
One option would be to rebuild BusyBox with support for the man applet. That way you wouldn't need to worry about all of those dependencies.

I'm not sure that Aegis will allow you to replace BusyBox so you might need to use Open Mode or Inception.

reinob 2012-09-21 13:06

Re: [HELP]Getting man-db to work on N950
 
Quote:

Originally Posted by Ariadeno (Post 1232922)
I got manpath working. I had to add it to /etc/profile instead of ~/.bashrc

You mean PATH not MANPATH, or?

Quote:

Now I get the error that manpath can't open the configuration file manpath.config as it isn't located in /etc/. Instead it's located in /opt/myfiles/etc.

How do I get manpath reading the config file and other files from /opt/myfiles do I have to make symlinks??
You either create /etc/manpath.config (manually). Or if there is already one under /opt you symlink it.

Alternatively, just set MANPATH accordingly in /etc/profile. This saves you from having to create the config file and symlink it.


All times are GMT. The time now is 09:04.

vBulletin® Version 3.8.8