You are not logged in.

#1 2005-05-07 14:36:01

nahoj
Member
Registered: 2004-11-05
Posts: 30

CUPS problem - SOLVED was a perl problem ...

:?

With short interval I have installed Arch on 3 computers in the same network. The first one (laptop) went smoothly with CUPS. I could add printers without problem. Everything works fine.

The second one (HP ) I was stuck in. In the error files I saw something about
perl: warning: Setting locale failed
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "sv"
are supported and installed on your system.
perl: warning: Falling back to the standars locale ("C").

That problem makes the printing system to abort every printing operation. After some not very logical copying from the laptop to the HP computer suddenly the printing system worked.

Now when I installed Arch on a third machine the same problem is here again. The message in the error log is exactly the same. I don't know where the locale can be found, and I don't know what to change. It is not possible to change those things - at least what I found - through the webadministration of CUPS (localhost:631) and not through KDE printeradministration.


Computers never saves time - but they help you produce more in the same timespan...

Offline

#2 2005-05-07 17:58:30

xor
Member
From: Sweden
Registered: 2003-03-20
Posts: 73

Re: CUPS problem - SOLVED was a perl problem ...

Hello, not sure if it will help but just export LANG=C then try again.
Notice that you are using svenska  (swedish)as LANG, no need if only using åäöÅÄÖ, I do have LANG=en_US but using svenska (swedish) myself.

Set KEYMAP=sv-latin1 in /etc/rc.conf to use åäö.

/xor

Offline

#3 2005-05-08 12:09:00

nahoj
Member
Registered: 2004-11-05
Posts: 30

Re: CUPS problem - SOLVED was a perl problem ...

Well, this is probably all to basic but...

the problem is I don't know where I have made the option LANG=sv

and I don't know where locale settings could be found.

I tried your options with export but the problem persists.

btw, I have the settings with sv-latin1 in rc.conf and I have choosen keyboard in kde regional settings.


Computers never saves time - but they help you produce more in the same timespan...

Offline

#4 2005-05-08 18:20:31

havli
Member
From: Czech Republic
Registered: 2005-04-28
Posts: 7

Re: CUPS problem - SOLVED was a perl problem ...

locale settings

/etc/profile

Offline

#5 2005-05-08 20:14:53

nahoj
Member
Registered: 2004-11-05
Posts: 30

Re: CUPS problem - SOLVED was a perl problem ...

Thanks.

But now I am even more confused. In /etc/profile it says
LANG="en_us"

well, it must have been changed somehow.

Now I retry and then the error is on another place:

D [08/May/2005:23:45:56 +0000] ReadClient: 8 POST / HTTP/1.1
D [08/May/2005:23:45:56 +0000] ProcessIPPRequest: 8 status_code=1
D [08/May/2005:23:45:56 +0000] CloseClient: 8
D [08/May/2005:23:45:56 +0000] [Job 27] Can't locate strict.pm in @INC (@INC contains: /usr/lib/perl5/5.8.6/i686-linux-thread-multi /usr/lib/perl5/5.8.6 /usr/lib/perl5/site_perl/5.8.6/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.4/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at /usr/lib/cups/filter/foomatic-rip line 4.
D [08/May/2005:23:45:56 +0000] [Job 27] BEGIN failed--compilation aborted at /usr/lib/cups/filter/foomatic-rip line 4.
E [08/May/2005:23:45:56 +0000] PID 9788 stopped with status 2!

Still it will not print...

Any ideas?


Computers never saves time - but they help you produce more in the same timespan...

Offline

#6 2005-05-11 20:30:51

nahoj1976
Member
From: Åsele, Lappland, Sweden
Registered: 2005-03-13
Posts: 29

Re: CUPS problem - SOLVED was a perl problem ...

The problem with CUPS is now solved! I got an advice from www.cups.org to check the perl-installation and when I forced a reinstallation with pacman suddenly cups started to work.

Probably that was what solved the second computer too - I desperately made a lot of updates and copying in order to make it work but I didn't know what I did...


tongue

Offline

Board footer

Powered by FluxBB