You are not logged in.

#1 2008-02-26 18:07:04

Paxam
Member
Registered: 2008-02-25
Posts: 4

"GtK Warning"? What does it mean?

HI there,

I'm a new-to-Linux/Arch user (installed it about a week ago). I managed to get it installed ok, connected to my network, and running an ssh server and such. I installed firefox using pacman yesterday, and while it does run, it provides the following errors at startup:

(firefox-bin:20972): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.

(firefox-bin:20972): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.

(firefox-bin:20972): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.

I get similar lookng errors when trying to install some pieces of software from source, as well (and in those situations it actually prevents installation).

The system's all up-to-date, and I've tried to get the c libraries and such on it.

Any help/advise would be appreciated.

Offline

#2 2008-02-26 18:27:01

alex_anthony
Member
From: UK
Registered: 2007-09-25
Posts: 344

Re: "GtK Warning"? What does it mean?

is your locale set right? Try the locale page on the wiki

Offline

#3 2008-02-26 18:27:45

kumico
Member
Registered: 2007-09-28
Posts: 224
Website

Re: "GtK Warning"? What does it mean?

you need to setup your locale http://wiki.archlinux.org/index.php/Locale

Offline

#4 2008-02-26 18:32:27

Paxam
Member
Registered: 2008-02-25
Posts: 4

Re: "GtK Warning"? What does it mean?

Alex and Kumico, thank you for your replies.

I have (already) set up locale's and still receive errors.

Or do I need to do en_US nomatter where I am?

Offline

#5 2008-02-26 18:45:12

kumico
Member
Registered: 2007-09-28
Posts: 224
Website

Re: "GtK Warning"? What does it mean?

what's the output of `local-gen` ?
did you restart the X server? i.e logout
what's the output of `echo $LC_LANG $LOCALE`

Offline

#6 2008-02-26 18:58:46

Paxam
Member
Registered: 2008-02-25
Posts: 4

Re: "GtK Warning"? What does it mean?

Locale-gen outputs

Generating locales...
  en_GB.ISO-8859-1... done
Generation complete.

echo $LC_LANG $LOCALE gives:

en_EN.utf8

And I have restarted x multiple times since setting locale's.

Thanks.

Offline

#7 2008-02-26 19:02:57

kumico
Member
Registered: 2007-09-28
Posts: 224
Website

Re: "GtK Warning"? What does it mean?

you're missign the urf8 locale;; in /etc/locale.gen, also uncomment en_GB.utf8, above or below the *.iso version then `locale-gen` again, i'm pretty confident that's the problem. i will litterally kick my own ass if it isn't

Offline

#8 2008-02-26 19:32:14

Paxam
Member
Registered: 2008-02-25
Posts: 4

Re: "GtK Warning"? What does it mean?

Kumico - thank you very much for your help. That's fixed the error messages when loading firefox.

Now when trying to install a from-source application, I get

cc -O    -c -o expr.o expr.c
In file included from expr.c:38:
history.h:34: error: array type has incomplete element type
history.h:34: error: array type has incomplete element type
make: *** [expr.o] Error 1

Is this an error in source code, or do I need to find some sort of dependency that's missing for the program?

Thanks.

Offline

Board footer

Powered by FluxBB