| View previous topic :: View next topic |
| Author |
Message |
*thump* Xplorer
Joined: 11 Feb 2006 Posts: 2
|
Posted: Sun Feb 12, 2006 12:35 am Post subject: GCC installation issues |
|
|
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 |
|
 |
sqlpython Xanalandingdonger
Joined: 22 Sep 2005 Posts: 5040 Location: Ct. USA
|
Posted: Sun Feb 12, 2006 1:37 pm Post subject: |
|
|
What are you trying to fix
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 |
|
 |
Arne Anka Xanspiration

Joined: 21 Mar 2004 Posts: 4186 Location: Stockholm, Sweden
|
Posted: Sun Feb 12, 2006 6:09 pm Post subject: |
|
|
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 |
|
 |
*thump* Xplorer
Joined: 11 Feb 2006 Posts: 2
|
Posted: Sun Feb 12, 2006 9:46 pm Post subject: did em |
|
|
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-
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 |
|
 |
Chaotic Thought Xandrosianding

Joined: 08 Jul 2005 Posts: 881 Location: Arlington TX
|
Posted: Sun Feb 12, 2006 10:17 pm Post subject: Re: did em |
|
|
| *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 |
|
 |
cprise Xandrosianding

Joined: 26 Dec 2003 Posts: 592
|
Posted: Mon Feb 13, 2006 11:44 am Post subject: Re: did em |
|
|
| 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??
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 |
|
 |
Chaotic Thought Xandrosianding

Joined: 08 Jul 2005 Posts: 881 Location: Arlington TX
|
Posted: Mon Feb 13, 2006 2:05 pm Post subject: Re: did em |
|
|
| 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 |
|
 |
cprise Xandrosianding

Joined: 26 Dec 2003 Posts: 592
|
Posted: Mon Feb 13, 2006 3:47 pm Post subject: Re: did em |
|
|
| 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 |
|
 |
Chaotic Thought Xandrosianding

Joined: 08 Jul 2005 Posts: 881 Location: Arlington TX
|
Posted: Mon Feb 13, 2006 5:41 pm Post subject: Re: did em |
|
|
| 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 |
|
 |
tyronet Xplorer
Joined: 07 May 2007 Posts: 7
|
Posted: Mon May 07, 2007 8:21 am Post subject: gcc |
|
|
| sqlpython wrote: | What are you trying to fix
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 |
|
 |
jimallyn Site Admin

Joined: 31 Jan 2003 Posts: 8195 Location: Wenatchee, Washington, USA
|
Posted: Mon May 07, 2007 6:35 pm Post subject: Re: gcc |
|
|
| 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 |
|
 |
|