LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 10-27-2005, 04:01 PM   #1
mrbabis
LQ Newbie
 
Registered: Jul 2005
Posts: 20

Rep: Reputation: 0
locales


Hi.

I uninstalled locales in my linux (mandriva10.1) in order to install glibc after installation of wget. And now I cannot install locales back (I traid with GUI package installer), I getting errors each time I selecting packages to install. And in the konsole showing this:

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory

What to do? How can I fix it? Please help me.

I also installed "gcc" but when I used "make" it shows that "cc" not found and cannot continue.

make: cc: Command not found
-----------------
For new compiler path that is installed
Files:
‎/lib/cpp
‎/usr/bin/cpp-4.0.1
‎/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/cc1
‎/usr/share/man/man1/cpp.1.bz2
-------------------------
For old compiler path that I cannot install
Files:
‎/usr/bin/c89
‎/usr/bin/c99
‎/usr/bin/cc
‎/usr/bin/gcc-3.4.1
‎/usr/bin/gcc3.4-version
‎/usr/bin/gcov
.....
-------------------------

How can I get "cc" back? What package do I need to install?
cc as I undestod is "c compiler"
cpp is "c++ compiler"
Why I cannot install cc?

Last edited by mrbabis; 10-27-2005 at 06:27 PM.
 
Old 10-27-2005, 06:51 PM   #2
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 640

Rep: Reputation: 65
If you have gcc installed correctly, in most cases you can use
'gcc' instead of 'cc'. Use for it 'CC=gcc' option when you are
configuring any source or even create a symlink named 'cc' which
points to the 'gcc' itself. It works in most cases.
 
Old 10-27-2005, 07:21 PM   #3
mrbabis
LQ Newbie
 
Registered: Jul 2005
Posts: 20

Original Poster
Rep: Reputation: 0
Compilers not working good
"gcc" not exist
when I installing compilers from *.rpm it says that packages is alredy installed. But nothing working. Not forward and not back . I have just reinstalled linux after partition crash and now I think that I need to reinstall it again .
How easy can it be to install some new updated packages? ehhh...damn...
 
Old 10-27-2005, 07:30 PM   #4
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 640

Rep: Reputation: 65
Check it out with 'ls $(rpm -ql gcc | grep bin | grep gcc)'
if this file does not exist, simply uninstall it and
install from scratch. If gcc will not appear it is a bad case.
 
Old 10-28-2005, 12:16 PM   #5
mrbabis
LQ Newbie
 
Registered: Jul 2005
Posts: 20

Original Poster
Rep: Reputation: 0
I reinstalled linux and test all again from begining. And now I know that I got those errors efter installing of glibc (ash-0.3.8-8mdk.i586.rpm and glibc-2.3.5-5mdk.i586.rpm)

After replacing them with old packages, I got "cc" back but
"locale: Cannot set LC_CTYPE to default locale: No such file or directory"
is still left. And "cc" not working good. When I traing to use make I getting those errors:
---------------------------------------------------------------
[root@localhost heme-0.4]# make
cc -Wall -DHAVE_MMAP -c heme.c -o heme.o
heme.c:11:20: curses.h: No such file or directory
heme.c:28: error: syntax error before '*' token
heme.c:28: warning: type defaults to `int' in declaration of `w_main'
heme.c:28: warning: type defaults to `int' in declaration of `w_offset'
.....
........
---------------------------------------------------------------
heme is hexeditor. It worked good befor I reinstalled linux but compiler not want to work.
 
Old 10-28-2005, 04:24 PM   #6
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 640

Rep: Reputation: 65
It seems your compiler works excellent now!
What do you want is a ncurses-dev package.

About locales you could try to reconfigure
the 'locales' package. As far as I remember
it is exactly what do you need. If it is not,
try /etc/locales.gen
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
once again locales mib_ths Ubuntu 1 07-26-2005 04:23 PM
locales? trendkiller Linux - Newbie 1 03-05-2004 08:53 AM
locales what are they citrus Linux - General 2 02-17-2004 06:27 AM
locales raven Linux - Software 18 11-03-2002 01:34 PM
locales-en jimjamz Linux - General 2 06-07-2001 08:59 PM


All times are GMT -5. The time now is 08:15 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration