maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   man-db on harmattan (https://talk.maemo.org/showthread.php?t=94509)

u7knv9h 2015-01-23 19:19

man-db on harmattan
 
yesterday i bought my nokia n9, and i absolutely love it, i've already inception-ed it and installed a few apps and utilities

so, today i thought it would be cool if i had some programming and linux syscalls references on my phone, everywhere, so i went HERE, downloaded man-db armel and tried to install it
it depended on groff-base and bsdmainutils, so i downloaded these, but in developer mode i couldn't install them, so i went with inception and installed them
turns out that bsdmainutils depends on debianutils which, again, depends on coreutils
so, coreutils is in conflict with busybox, and i'm afraid of doing something i shouldn't
(also, i think that busybox is a little better and less bloated than gnu coreutils, so i don't want to install them)
i tried installing everything without 'debianutils' and 'coreutils' but it didn't worked

so, anyone can enlighten me on this? has anyone installed successfully man-db on harmattan? should i try in a chroot?

nieldk 2015-01-23 19:36

Re: man-db on harmattan
 
Look here for how-to http://talk.maemo.org/showthread.php?t=85275

And get package here
http://mirror.thecust.net/harmattan-...mattan/free/m/

Basically, you need to extract the packages (dpkg -x) to somewhere, and add that location to your PATH

u7knv9h 2015-01-23 20:43

Re: man-db on harmattan
 
thanks! i should've checked (better) before!
also, a few tips i used to get it working, maybe they'll be useful to someone

1. i extracted the deb archive in a folder, let's name it $folder (in my case, /opt/man)

2. i added $folder/usr/bin and $folder/usr/sbin in my $PATH

3. i symlinked $folder/usr/lib/man-db/man to $folder/usr/bin/man

4. i added $folder/usr/share/man in my $MANPATH

(i did everything using inception, but i think that it should be possible with devel-su too)

u7knv9h 2015-01-23 20:58

Re: man-db on harmattan
 
man commands are working and manpages are there, but i can't view anything http://www.hnng.moe/f/mh

uh, i tried installing groff-base, but the output is still like in the link above

lokai 2015-01-24 08:23

Re: man-db on harmattan
 
Hmm, as I have man-db on my N900 I never was so masochistic to try on N9...

But yesterday I tried and failed, more or less the same way.
I extracted with -x and also control files with -e.
Copied extracted etc usr var directories directly to /.
Ran pre/postinst with 'configure 2.5.1'.
And ran 'mandb'.
(installed also groff-base, but just as no other idea)

But output is still
Quote:

~ $ man man
No manual entry for man
See 'man 7 undocumented' for help when manual pages are not available.

peterleinchen 2015-01-24 08:51

Re: man-db on harmattan
 
Uh? :confused:

We have man-db for N9???

But seems not so easy, hm?
Going to try later ...

peterleinchen 2015-01-24 12:22

Re: man-db on harmattan
 
Okay installed (almost the same steps as lokai). And man starts but shows no result.

But the I saw under /usr/man/man1 I have one gz for bzip2.
And guess what?
man bzip2
shows me manpages for bzip2.

So, how to populate the man pages db (gz directory)?

nieldk 2015-01-24 15:29

Re: man-db on harmattan
 
You can get the lot (manpages) from ubuntu
http://packages.ubuntu.com/source/utopic/manpages

But, also try to run 'mandb'

u7knv9h 2015-01-24 17:36

Re: man-db on harmattan
 
Quote:

Originally Posted by lokai (Post 1457867)
Hmm, as I have man-db on my N900 I never was so masochistic to try on N9...

But yesterday I tried and failed, more or less the same way.
I extracted with -x and also control files with -e.
Copied extracted etc usr var directories directly to /.
Ran pre/postinst with 'configure 2.5.1'.
And ran 'mandb'.
(installed also groff-base, but just as no other idea)

But output is still

i tried redoing everything in / like you and i'm getting the same running as 'user' (running with ariadne i get the same i got before and posted in the screenshot)



Quote:

Originally Posted by peterleinchen (Post 1457889)
Okay installed (almost the same steps as lokai). And man starts but shows no result.

But the I saw under /usr/man/man1 I have one gz for bzip2.
And guess what?
man bzip2
shows me manpages for bzip2.

So, how to populate the man pages db (gz directory)?

like nieldk said, just pick them from any distro
you might try setting your MANPATHs too, since the man-db package provides some manpages in /usr/share/man

lokai 2015-01-24 20:24

Re: man-db on harmattan
 
/usr/share/man

That explains a bit, I guess.
that gets purged on installing any package, see the README

copied the man gzs from package to /usr/man and it works. As user as well as devel-su.


All times are GMT. The time now is 14:29.

vBulletin® Version 3.8.8