maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   man-db up and running on Maemo 5 (https://talk.maemo.org/showthread.php?t=52425)

MohammadAG 2010-05-11 20:33

man-db up and running on Maemo 5
 
Compiled man-db for the N900, it works well but I need to change the path to the man package because debconf purges the man pages.

Now in -devel!

http://i44.tinypic.com/9abyme.jpg

http://i42.tinypic.com/oa9qc5.jpg

Copying them over from an Ubuntu install works.

For those of you wondering:
Quote:

man-db is an implementation of the standard Unix documentation system accessed using the man command. It uses a Berkeley DB database in place of the traditional flat-text whatis databases. man-db is used by several popular GNU/Linux distributions, including Debian, Ubuntu, SuSE, and Arch Linux. It also compiles and runs on a number of proprietary Unix systems.
I'll upload this to -devel later on when I find out how to change the path.
Path changed, place man pages in /opt/man and run mandb, will package a small database of the basic pages.

To install type (as root):
Code:

apt-get install man-db-n900 less
Or download it using the Application Manager

Laughingstok 2010-05-11 20:34

Re: man-db up and running on Maemo 5
 
Sweet! You don't know how many times I've tried to man a command and frowned.

MohammadAG 2010-05-12 01:22

Re: man-db up and running on Maemo 5
 
Now in extras-devel, not in a user/ section so you'll need to use terminal to install it.
You need man pages from a full linux install, copy the contents of /usr/share/man to /opt/man and run mandb to update the database, then mad-db will be fully working.

MohammadAG 2010-05-12 17:42

Re: man-db up and running on Maemo 5
 
Data packages now in -devel, about 14MBs, they install into /opt
Package name is man-db-pages, package not in user/

MohammadAG 2010-05-27 20:57

Re: man-db up and running on Maemo 5
 
Package name changed to man-db-n900 since man-db breaks the SDK and the autobuilder.
Moved to a user/ section

Stamm 2010-06-07 10:58

Re: man-db up and running on Maemo 5
 
Just installed the man-db-n900 package with the application manager and I have this error when I type "man man":

Code:

pager: applet not found
man: command terminated with exit code 256: pager -s

(The above is translated from French)


What am I doing wrong? Is another package required?

MohammadAG 2010-06-07 11:09

Re: man-db up and running on Maemo 5
 
Install less, someone else had the problem on #maemo.
I'll fix dependencies soon.
Code:

apt-get install less

Stamm 2010-06-07 11:37

Re: man-db up and running on Maemo 5
 
Ok, thanks a lot. It works now... :)

peterleinchen 2010-11-23 17:01

Re: man-db up and running on Maemo 5
 
Ahh, I see...
Ran into that same problem after flashing my device and somehow the backup did forget about "less" ;)

Mohammad, thank You for that man command, which I did really miss on the N900!

009N 2010-11-27 06:02

Re: man-db up and running on Maemo 5
 
[EDIT] Nevermind. Just followed MohammadAG's instruction in #3 and then package was set up successfully. :D

What is the current status of the package?

I got these errors when installing several dev tools
Code:

Setting up automake1.9 (1.9.5-1osso3) ...
update-alternatives: unable to make /usr/share/man/man1/automake.1.gz.dpkg-tmp a symlink to /etc/alternatives/automake.1.gz: No such file or directory
update-alternatives: ignoring error.
mv: cannot rename '/usr/share/man/man1/automake.1.gz.dpkg-tmp': No such file or directory
update-alternatives: unable to install /usr/share/man/man1/automake.1.gz.dpkg-tmp as /usr/share/man/man1/automake.1.gz: No such file or directory
update-alternatives: ignoring error.
update-alternatives: unable to make /usr/share/man/man1/aclocal.1.gz.dpkg-tmp a symlink to /etc/alternatives/aclocal.1.gz: No such file or directory
update-alternatives: ignoring error.
mv: cannot rename '/usr/share/man/man1/aclocal.1.gz.dpkg-tmp': No such file or directory
update-alternatives: unable to install /usr/share/man/man1/aclocal.1.gz.dpkg-tmp as /usr/share/man/man1/aclocal.1.gz: No such file or directory
update-alternatives: ignoring error.
install-info(/usr/share/info/automake-1.9.info):
dpkg: error processing automake1.9 (--configure):
 subprocess post-installation script returned error exit status 2
Setting up man-db-n900 (2.5.1-3maemo6) ...
Generating manual database, this will take some time, please be patient!
mandb: manp.c:959: get_manpath_from_path: Assertion `len' failed.
Aborted
dpkg: error processing man-db-n900 (--configure):
 subprocess post-installation script returned error exit status 134
Setting up bison (1:1.875d-1osso2) ...
update-alternatives: unable to make /usr/share/man/man1/yacc.1.gz.dpkg-tmp a symlink to /etc/alternatives/yaccman: No such file or directory
update-alternatives: ignoring error.
mv: cannot rename '/usr/share/man/man1/yacc.1.gz.dpkg-tmp': No such file or directory
update-alternatives: unable to install /usr/share/man/man1/yacc.1.gz.dpkg-tmp as /usr/share/man/man1/yacc.1.gz: No such file or directory
update-alternatives: ignoring error.
install-info(/usr/share/info/bison.info):
dpkg: error processing bison (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 automake1.9
 man-db-n900
 bison

Thanks! :D


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

vBulletin® Version 3.8.8