Notices


Reply
Thread Tools
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#1
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!





Copying them over from an Ubuntu install works.

For those of you wondering:
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

Last edited by MohammadAG; 2010-06-07 at 11:09.
 

The Following 13 Users Say Thank You to MohammadAG For This Useful Post:
Posts: 472 | Thanked: 442 times | Joined on Sep 2007
#2
Sweet! You don't know how many times I've tried to man a command and frowned.
__________________
If you don't know how to check your N900's uptime, you probably shouldn't own it.
 
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#3
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.
 

The Following User Says Thank You to MohammadAG For This Useful Post:
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#4
Data packages now in -devel, about 14MBs, they install into /opt
Package name is man-db-pages, package not in user/

Last edited by MohammadAG; 2010-05-13 at 14:19.
 

The Following User Says Thank You to MohammadAG For This Useful Post:
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#5
Package name changed to man-db-n900 since man-db breaks the SDK and the autobuilder.
Moved to a user/ section
 

The Following User Says Thank You to MohammadAG For This Useful Post:
Posts: 21 | Thanked: 16 times | Joined on Feb 2010
#6
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's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#7
Install less, someone else had the problem on #maemo.
I'll fix dependencies soon.
Code:
apt-get install less
 

The Following 2 Users Say Thank You to MohammadAG For This Useful Post:
Posts: 21 | Thanked: 16 times | Joined on Feb 2010
#8
Ok, thanks a lot. It works now...
 

The Following User Says Thank You to Stamm For This Useful Post:
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#9
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!
 
Posts: 152 | Thanked: 58 times | Joined on Oct 2010 @ void
#10
[EDIT] Nevermind. Just followed MohammadAG's instruction in #3 and then package was set up successfully.

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!

Last edited by 009N; 2010-11-27 at 06:53. Reason: Problem solved.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 23:01.