Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 12-21-2022, 01:16 PM   #1
mangkoran
Member
mangkoran began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Nov 2022
Device: PW5
no manual entry of ...

Hello everyone!

Recently I just receive my new PW5 (bought on Amazon US on CM) and have successfully jailbroken it. After installing the necessary packages and kterm, I also installed `coreutils` package. However, when I tried to run command "man ...", it always output "no manual entry of ...". I have copied the whole "coreutils" package which includes manpages inside the directory `/usr/share/man/man1/`

Is there anything that I should configure?

mangkoran is offline   Reply With Quote
Old 12-21-2022, 01:29 PM   #2
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,786
Karma: 103362673
Join Date: Apr 2011
Device: pb360
Which specific coreutils package and how did you install it?

Please attach a directory listing of /usr/share/man/man1
j.p.s is offline   Reply With Quote
Advert
Old 12-21-2022, 01:56 PM   #3
mangkoran
Member
mangkoran began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Nov 2022
Device: PW5
Quote:
Originally Posted by j.p.s View Post
Which specific coreutils package and how did you install it?

Please attach a directory listing of /usr/share/man/man1
It's the one from here. I just extracted the package and copy the files to the specified directories.

Here is the directory listing of `/usr/share/man/man1`.
mangkoran is offline   Reply With Quote
Old 12-21-2022, 05:12 PM   #4
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,786
Karma: 103362673
Join Date: Apr 2011
Device: pb360
Is the MANPATH environment variable set?

If not, you need to do:
Code:
MANPATH=/usr/share/man

I just tried this and it did not work.

Last edited by j.p.s; 12-21-2022 at 07:43 PM. Reason: didn't work
j.p.s is offline   Reply With Quote
Old 12-21-2022, 07:53 PM   #5
mangkoran
Member
mangkoran began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Nov 2022
Device: PW5
Quote:
Originally Posted by j.p.s View Post
Is the MANPATH environment variable set?

If not, you need to do:
Code:
MANPATH=/usr/share/man

I just tried this and it did not work.
Same as me. `MANPATH` is indeed not set initially. But after setting it and trying `man cp`, now it output
Code:
sh: nroff not found
Which indeed is missing from the Kindle.

Last edited by mangkoran; 12-21-2022 at 07:54 PM. Reason: remove broken emoji
mangkoran is offline   Reply With Quote
Advert
Old 12-21-2022, 08:38 PM   #6
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,786
Karma: 103362673
Join Date: Apr 2011
Device: pb360
Quote:
Originally Posted by mangkoran View Post
Same as me. `MANPATH` is indeed not set initially. But after setting it and trying `man cp`, now it output
Code:
sh: nroff not found
Which indeed is missing from the Kindle.
You are getting further than me. I get "no manual entry for 'ls'" even with MANPATH set.
j.p.s is offline   Reply With Quote
Old 12-22-2022, 03:23 AM   #7
mangkoran
Member
mangkoran began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Nov 2022
Device: PW5
Is that so Maybe there is no `ls` manpage in your specified directory?

Then again, if the root cause is this `nroff`package, we need to compile it ourselves with Kindle target (idk, is it arm?). But it requires (lot) of effort imo.

So for now, I will stop the investigation here

mangkoran is offline   Reply With Quote
Old 12-22-2022, 01:32 PM   #8
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,786
Karma: 103362673
Join Date: Apr 2011
Device: pb360
I decided to try bash. Now I get:
Code:
[root@kindle root]# man ls
sh: gtbl: not found
sh: nroff: not found
So gtbl missing as well as nroff.
j.p.s is offline   Reply With Quote
Old 12-22-2022, 02:32 PM   #9
dhdurgee
Guru
dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.
 
Posts: 906
Karma: 3000000
Join Date: Jun 2010
Device: K3W, PW4
Quote:
Originally Posted by j.p.s View Post
I decided to try bash. Now I get:
Code:
[root@kindle root]# man ls
sh: gtbl: not found
sh: nroff: not found
So gtbl missing as well as nroff.
You might want to try ldd for a list of libraries that are needed and do so with any libraries you add from a compatible repository. That is how I got sox running.

Dave
dhdurgee is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
new entry Paolo Cabibbe Introduce Yourself 1 09-16-2022 11:00 AM
Manual fw update hold through manual update? picree Kindle Developer's Corner 4 04-03-2016 09:48 PM
new entry micky4 Introduce Yourself 3 10-02-2011 03:56 PM
wiki entry DaleDe Writer2ePub 0 12-23-2010 12:50 PM
Last call for your entry! ravenne Lounge 52 06-26-2009 05:34 PM


All times are GMT -4. The time now is 12:56 PM.


MobileRead.com is a privately owned, operated and funded community.