maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Printing with N900 (https://talk.maemo.org/showthread.php?t=56932)

WillianWives 2010-09-26 05:59

Re: Printing with N900
 
Any easier way to implement this? I'm interested!

longcat 2010-09-26 07:04

Re: Printing with N900
 
Are you talking about print option in conversations, or elsewhere around ? :)

WillianWives 2010-09-26 17:19

Re: Printing with N900
 
Im thinking about printing .doc files over my network printer...

rotoflex 2010-09-27 07:58

Re: Printing with N900
 
It looks like Apple is working toward wireless printing from their iphone, ipad, etc. now:

http://www.geek.com/articles/mobile/...y-hp-20100915/

ghostcube 2010-09-27 09:23

Re: Printing with N900
 
hi,
no chance to get anything printed here.
cups format aplication/postscript not supported
everytime i try to print i get this answer ...

anyone an idea?

greetz

toxaris 2010-09-27 10:38

Re: Printing with N900
 
Hmm, I get error on liboauth0, seams I cant install cups correctly due to version mismatch on liboauth0.
Anyone else got that problem?
Facebook stuff have it as dependence.

I get this:
Setting up liboauth0 (0.8.8-2) ...
Optifying usr/share/doc/liboauth0 -> /opt/maemo/usr/share/doc/liboauth0
mv: cannot rename '/usr/share/doc/liboauth0': No such file or directory
dpkg: error processing liboauth0 (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
liboauth0
E: Sub-process /usr/bin/dpkg returned an error code (1)

ghostcube 2010-09-27 22:48

Re: Printing with N900
 
create the file that is missing!
get root
then vi /usr/share/doc/liboauth0
save it and try again

ghostcube 2010-09-28 13:26

Re: Printing with N900
 
anyone a idea for my problem descriped above?

greetz

woody14619 2010-10-01 22:56

Re: Printing with N900
 
1 Attachment(s)
@ghostcube and @mase:

I think I figured out both issues at once. The cups script DOES have a linking command in it, but it never runs. Reason being, the libpam0g library has an incorrect header in its postinst script. And since libpam0g doesn't install, neither does the cups script.

If you look at the postinst script to libpam0g, it calls out for #!/bin/bash which doesn't exist on a default N900. That call has to be changed to /bin/sh (which works fine).

This is why it was working for some people and not others. Some people have installed a working version of bash on their system, so it silently worked for them. Those without it, apt-get installed them, but failed on the config (which is silent in app manager).

The good news is, you can fix it pretty easily. Attached is a re-pack of the libpam0g library with the proper fix (bash ->sh). Use dpkg to install it as shown below and it should overwrite the existing one, then configure properly. The second command gets dpkg to configure anything else that needs configuring still (like cups).
Code:

dpkg --install libpam0g_1.0.1-maemo1_armel.deb
dpkg --configure -a


mase 2010-10-02 02:33

Re: Printing with N900
 
Maybe you should upload the repackaged libpam to the repos.


All times are GMT. The time now is 15:51.

vBulletin® Version 3.8.8