forums.xandros.com Forum Index forums.xandros.com
Xandros User Forums
 
 FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

GCC installation issues

 
Post new topic   Reply to topic    forums.xandros.com Forum Index -> Developer Tools
View previous topic :: View next topic  
Author Message
*thump*
Xplorer


Joined: 11 Feb 2006
Posts: 2

PostPosted: Sun Feb 12, 2006 12:35 am    Post subject: GCC installation issues Reply with quote

I've been running Xandros for a whopping 2 weeks, and it's my first Linux platform, so I have no clue what's going on. I'm trying to install GCC.

COMPUTER:~# apt-get install gcc
Reading Package Lists... Done
Building Dependency Tree... Done
gcc is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up gaim (2.0.0beta1-1) ...
chown: `mark:mark': invalid user
chown: `mark:mark': invalid user
dpkg: error processing gaim (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
gaim
E: Sub-process /usr/bin/dpkg returned an error code (1)

Does anyone know what I can do to fix this?
Back to top
View user's profile Send private message
sqlpython
Xanalandingdonger


Joined: 22 Sep 2005
Posts: 5040
Location: Ct. USA

PostPosted: Sun Feb 12, 2006 1:37 pm    Post subject: Reply with quote

What are you trying to fix Question

Seems that gcc is installed by the messages that you are getting per a failed attempt to install.

Go to a console "Xterm"

type
whereis gcc

then
gcc -v

what do you see.
_________________

Criticism only accepted for Solutions that work. ;^)
RevLinux, Debian Squeeze"
Kubuntu 10.04 & 10.10
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger
Arne Anka
Xanspiration
Xanspiration


Joined: 21 Mar 2004
Posts: 4186
Location: Stockholm, Sweden

PostPosted: Sun Feb 12, 2006 6:09 pm    Post subject: Reply with quote

Your problem is not gcc. Its gaim that you have tried to install at some point and failed. Try this to clean up your system

apt-get -f remove gaim

Regarding GCC, its already installed in your system according to your printouts.
Back to top
View user's profile Send private message
*thump*
Xplorer


Joined: 11 Feb 2006
Posts: 2

PostPosted: Sun Feb 12, 2006 9:46 pm    Post subject: did em Reply with quote

I removed gaim, and here are the comands that I was told to run...

COMPUTER:~# whereis gcc
gcc: /usr/bin/gcc /usr/share/man/man1/gcc.1.gz
COMPUTER:~# gcc -v
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gci486-linux
Thread model: posix
gcc version 3.3.5 (Debian 1:3.3.5-Cool

I didn't go to a console "Xterm", because I don't know how to find any file on it other then the "read only" one.
_________________
Thats the sound of my head hitting the desk
Back to top
View user's profile Send private message
Chaotic Thought
Xandrosianding
Xandrosianding


Joined: 08 Jul 2005
Posts: 881
Location: Arlington TX

PostPosted: Sun Feb 12, 2006 10:17 pm    Post subject: Re: did em Reply with quote

*thump* wrote:
COMPUTER:~# whereis gcc
gcc: /usr/bin/gcc /usr/share/man/man1/gcc.1.gz
COMPUTER:~# gcc -v
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs
...

The above means that gcc is working.

*thump* wrote:
I didn't go to a console "Xterm"

Yes you did, actually. Otherwise, how did you enter the above commands (whereis and gcc). You'll see it a lot on Linux forums and web sites... when we say "go to an xterm" or something like that, we simply mean to go to a place where you can enter commands, and it looks like you know how to do that. Many programs emulate the original xterm program. Like konsole and gnome-terminal. You can also go to a straight console screen ala CTRL+F1 ... CTRL+F6. All these are equivalent to "xterm" in function.
Back to top
View user's profile Send private message
cprise
Xandrosianding
Xandrosianding


Joined: 26 Dec 2003
Posts: 592

PostPosted: Mon Feb 13, 2006 11:44 am    Post subject: Re: did em Reply with quote

Chaotic Thought wrote:
*thump* wrote:
COMPUTER:~# whereis gcc
gcc: /usr/bin/gcc /usr/share/man/man1/gcc.1.gz
COMPUTER:~# gcc -v
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs
...

The above means that gcc is working.

*thump* wrote:
I didn't go to a console "Xterm"

Yes you did, actually. Otherwise, how did you enter the above commands (whereis and gcc). You'll see it a lot on Linux forums and web sites... when we say "go to an xterm" or something like that, we simply mean to go to a place where you can enter commands, and it looks like you know how to do that. Many programs emulate the original xterm program. Like konsole and gnome-terminal. You can also go to a straight console screen ala CTRL+F1 ... CTRL+F6. All these are equivalent to "xterm" in function.

He probably used Konsole. Remember? KDE? Anyone home?? Laughing

There's no reason for a newbie to dig up Xterm or a hardware-mapped terminal screen to compile stuff.
_________________
"We need the computer power you're not using." Join ClimatePrediction.net at the BBC.
Back to top
View user's profile Send private message Yahoo Messenger
Chaotic Thought
Xandrosianding
Xandrosianding


Joined: 08 Jul 2005
Posts: 881
Location: Arlington TX

PostPosted: Mon Feb 13, 2006 2:05 pm    Post subject: Re: did em Reply with quote

cprise wrote:
There's no reason for a newbie to dig up Xterm or a hardware-mapped terminal screen to compile stuff.


The point was that there's no difference. Going to xterm or going to whatever equivalent program like gnome-terminal is the same thing. How else will you compile stuff?
Back to top
View user's profile Send private message
cprise
Xandrosianding
Xandrosianding


Joined: 26 Dec 2003
Posts: 592

PostPosted: Mon Feb 13, 2006 3:47 pm    Post subject: Re: did em Reply with quote

Chaotic Thought wrote:
cprise wrote:
There's no reason for a newbie to dig up Xterm or a hardware-mapped terminal screen to compile stuff.


The point was that there's no difference. Going to xterm or going to whatever equivalent program like gnome-terminal is the same thing. How else will you compile stuff?

But this is Xandros. The only obvious shell is Konsole.
_________________
"We need the computer power you're not using." Join ClimatePrediction.net at the BBC.
Back to top
View user's profile Send private message Yahoo Messenger
Chaotic Thought
Xandrosianding
Xandrosianding


Joined: 08 Jul 2005
Posts: 881
Location: Arlington TX

PostPosted: Mon Feb 13, 2006 5:41 pm    Post subject: Re: did em Reply with quote

cprise wrote:
The only obvious shell is Konsole.

The shell is bash, that's the point, so the commands and usage are the same no matter what terminal emulator you use. Bash is the shell, and konsole is the terminal emulator that presents it to you, or you can use xterm or whatever. This applies not only to Xandros but any Linux system.
Back to top
View user's profile Send private message
tyronet
Xplorer


Joined: 07 May 2007
Posts: 7

PostPosted: Mon May 07, 2007 8:21 am    Post subject: gcc Reply with quote

sqlpython wrote:
What are you trying to fix Question

Seems that gcc is installed by the messages that you are getting per a failed attempt to install.

Go to a console "Xterm"

type
whereis gcc

then
gcc -v

what do you see.


All I see is

xandros:~# whereis gcc
gcc:

So what do I do next?
_________________
Light travels faster than sound. That's why some people appear bright until you hear them speak
Back to top
View user's profile Send private message
jimallyn
Site Admin
Site Admin


Joined: 31 Jan 2003
Posts: 8195
Location: Wenatchee, Washington, USA

PostPosted: Mon May 07, 2007 6:35 pm    Post subject: Re: gcc Reply with quote

tyronet wrote:
All I see is

xandros:~# whereis gcc
gcc:

So what do I do next?


You install gcc next. Open the Xandros Networks application, type 'development' in the Search box and click the Search button. It should find "C/C++ Development Tools." Click the install button next to it. While you're at it, you might also want to install "Debian Development Tools" and "KDE Development Tools."

It might also be good to tell us what you are trying to compile, and maybe somebody has already done the work for you and can provide you with an easy to install DEB file instead.

Jim
_________________
I refuse to live in a country like this - and I'm not leaving. - Michael Moore
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.xandros.com Forum Index -> Developer Tools All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group