Active Topics

 


Reply
Thread Tools
Posts: 42 | Thanked: 40 times | Joined on Jan 2015 @ Italy
#1
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?
 

The Following User Says Thank You to u7knv9h For This Useful Post:
Posts: 1,288 | Thanked: 4,316 times | Joined on Oct 2014
#2
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
 

The Following 5 Users Say Thank You to nieldk For This Useful Post:
Posts: 42 | Thanked: 40 times | Joined on Jan 2015 @ Italy
#3
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)
 
Posts: 42 | Thanked: 40 times | Joined on Jan 2015 @ Italy
#4
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
 
Posts: 29 | Thanked: 34 times | Joined on Jan 2015
#5
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
~ $ man man
No manual entry for man
See 'man 7 undocumented' for help when manual pages are not available.
 

The Following User Says Thank You to lokai For This Useful Post:
peterleinchen's Avatar
Posts: 4,117 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#6
Uh?

We have man-db for N9???

But seems not so easy, hm?
Going to try later ...
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 

The Following 2 Users Say Thank You to peterleinchen For This Useful Post:
peterleinchen's Avatar
Posts: 4,117 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#7
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)?
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 

The Following 2 Users Say Thank You to peterleinchen For This Useful Post:
Posts: 1,288 | Thanked: 4,316 times | Joined on Oct 2014
#8
You can get the lot (manpages) from ubuntu
http://packages.ubuntu.com/source/utopic/manpages

But, also try to run 'mandb'
 

The Following 4 Users Say Thank You to nieldk For This Useful Post:
Posts: 42 | Thanked: 40 times | Joined on Jan 2015 @ Italy
#9
Originally Posted by lokai View Post
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)



Originally Posted by peterleinchen View Post
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
 

The Following User Says Thank You to u7knv9h For This Useful Post:
Posts: 29 | Thanked: 34 times | Joined on Jan 2015
#10
/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.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 08:57.