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)

mase 2011-02-26 14:50

Re: Printing with N900
 
Please retry with bash3 installed. I cannot reproduce this,
but I have bash3 installed because of openvpn.

david.hicks 2011-02-26 15:55

Re: Printing with N900
 
Quote:

Originally Posted by olighak (Post 955926)
I get same problem

Yup, same thing here. I have bash3 installed, too. I wonder if there's a missing dependency or somesuch...

mase 2011-02-26 16:09

Re: Printing with N900
 
Take a look at
/opt/maemo/usr/lib/cups
Is the backend folder present?
Then look at
/usr/lib
There should be a symlink cups to /opt/maemo/usr/lib/cups.

olighak 2011-02-26 16:14

Re: Printing with N900
 
Quote:

Originally Posted by mase (Post 955935)
Take a look at
/opt/maemo/usr/lib/cups
Is the backend folder present?
Then look at
/usr/lib
There should be a symlink cups to /opt/maemo/usr/lib/cups.

No the backend folder is not present.

The instructions on this thread are unfortunately too vague and diffused for me. Iīm sure there is good info on your garage page, but itīs locked from other people accessing it, even with a general garage login.

This is a awesome effort mase. In this shape though itīs not very usable for others that arenīt too l33t.

david.hicks 2011-02-26 16:51

Re: Printing with N900
 
Quote:

Originally Posted by mase (Post 955935)
Take a look at
/opt/maemo/usr/lib/cups
Is the backend folder present?
Then look at
/usr/lib
There should be a symlink cups to /opt/maemo/usr/lib/cups.

Hey there,

It doesn't look much like that, no.
/usr/lib/cups is a directory (not a link) containing a filters subdirectory and nothing else, and I have no /opt/maemo/usr/lib/cups directory.

Anything else you need to know?

I'm going to try moving the dir and setting up the link, just for the hell of it.

david.hicks 2011-02-26 16:56

Re: Printing with N900
 
Quote:

Originally Posted by david.hicks (Post 955962)
Hey there,

It doesn't look much like that, no.
/usr/lib/cups is a directory (not a link) containing a filters subdirectory and nothing else, and I have no /opt/maemo/usr/lib/cups directory.

Anything else you need to know?

I'm going to try moving the dir and setting up the link, just for the hell of it.

Hmm, just purged cups-common and I still have a /usr/lib/cups in place. I wonder if this is the problem - something else I have installed has set up that directory, so creating it as a link fails, and then everything else fails too....

mase 2011-02-26 16:59

Re: Printing with N900
 
Please purge all cups and ghostscript packages, also cups-pdf.
Then also remove /usr/lib/cups and /usr/share/cups.
Did you try the non-optified packages first?
If yes, I think the symlinks cannot be created, because
a directory with this name already exist.
Is there anybody, where it works?

david.hicks 2011-02-26 17:03

Re: Printing with N900
 
Quote:

Originally Posted by david.hicks (Post 955963)
Hmm, just purged cups-common and I still have a /usr/lib/cups in place. I wonder if this is the problem - something else I have installed has set up that directory, so creating it as a link fails, and then everything else fails too....

OK:
purged cups-common
moved /usr/lib/cups to /opt/maemo/usr/lib/cups
put a link in /usr/lib to /opt/maemo/usr/lib/cup
apt-get install cups

All is well. As I say, I think something else is putting /usr/lib/cups/filters in place, so when cups gets installed the link creation must fail. Or something, just a guess :)


--EDIT-- of course whilst I've been playing around with this I've figured out that the manufacturer's driver for my printer comes with some nice x86 binaries, so it's never going to work on the two arm devices I'm trying to get printing... damn them!

mase 2011-02-26 17:09

Re: Printing with N900
 
Just as I said. When /usr/lib/cups was created before, the installation must
fail.

david.hicks 2011-02-26 17:13

Re: Printing with N900
 
Quote:

Originally Posted by mase (Post 955968)
Just as I said. When /usr/lib/cups was created before, the installation must
fail.

I'm getting a 404 on localhost:631 now.... and cups complaining in /var/log/error_log that the port is in use. The n900 never does make my life easy.


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

vBulletin® Version 3.8.8