Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Glutton For Punishment

Status
Not open for further replies.

Ztrek7

IS-IT--Management
Mar 12, 2004
100
US
I have decided to "learn" more about linux by starting with a "minimum" system and installing what I want. I know, there will be problems, and there already is!

Background:

Suse 9.3 on 900 Mhz Compaq with 256 MB RAM on 6 GB HD

I have successfully installed Suse with the minimum option.

I turn on machine, to a command prompt. I figure the first thing I will do is install a gui, KDE.

I checked there website, and one prerequisite is qt, so I figured I would start with that.

I used command line to ftp and download it, on ./configure, i get g++ no installed. So I ftp and get GCC 4.0.0.

On the ./configure of it, I get no acceptable cc in path. I take CC is a c compiler, but I thought that is what gcc was.

If I am installing a c compiler, why is it wanting a c compiler?
 
A lot of programs are written in c including c compilers. I would start with a slightly less "minimum" system until you learn a little more about linux.
 
Thats no fun! I have been learning linux for a while now, ./configure, make and make install, fstab, mounting, rpm's and etc.

I have read books about file structure and blah blah blah.

It is time to get me hands dirty. I have a laptop with the full suse 9.3 installed and working. This is just a side project.

franklin, I appreciate your post, but, I want answers, not advice.

Thanks,
 
keep in mind that gcc and g++ are 2 separated packages.. I use ubuntu (Debian based-same thing anyway) and if I issue an [tt]apt-cache search gcc[/tt] I get (in short):
[tt]
cpp-3.3 - The GNU C preprocessor
gcc-3.3-base - The GNU Compiler Collection (base package)
gcc-3.3 - The GNU C compiler
cpp - The GNU C preprocessor (cpp)
gcc - The GNU C compiler
cpp-3.4 - The GNU C preprocessor
[red]g++-3.4 - The GNU C++ compiler[/red]
g77 - The GNU Fortran 77 compiler
g77-3.3 - The GNU Fortran 77 compiler
gcc-3.3-doc - Documentation for the GNU compilers (gcc, gobjc, g++)
[red]gcc-3.4 - The GNU C compiler[/red]
gcc-3.4-base - The GNU Compiler Collection (base package)
gcc-4.0-base - The GNU Compiler Collection (base package)
gcc-doc - Documentation for the GNU C compilers (gcc, gobjc, g++)
gcj - The GNU Java compiler
gcj-3.3 - The GNU compiler for Java(TM)
gnat-3.3 - The GNU Ada compiler
gobjc - The GNU Objective-C compiler
gobjc-3.3 - The GNU Objective-C compiler
lib64gcc1 - GCC support library (64bit)
libgcc1 - GCC support library
libgcj4 - Java runtime library for use with gcj
libgcj4-common - Java runtime library for use with gcj (jar files)
libgcj4-dev - Java development headers and static library for use with gcj
[/tt]

Cheers.
 
I was under the impression that gcc was a "suite" that had all the stuff it needed.

If I need a c compiler to install a c compiler, what c compiler do I use to install my c compiler? :)

Thanks,
 
If you're running "configure", then you've downloaded the source code for gcc, which must be compiled. Since you have no compiler installed, you have a problem.

Install the binary (RPM) version and you should be fine. It's probably in the "development tools" package section, or similar.
 
Your mistake was installing SuSE. It is quite bloated. Give Debian a try. It does well on minimum systems. If a Linux distribution doesn't like old hardware, you might as well use Microsoft Windows. Debian also doesn't sound like it has all these dependency issues that others have.
 
Installing SuSE isn't a mistake, langleymass, but your advice is. Don't tell favours as facts - not to beginners at least! (I favour debian myself.)

SuSE should contain a binary gcc-package as well.

seeking a job as java-programmer in Berlin:
 
I did get gcc installed using binaries from suse, but, when compiling qt for kde, I still get the g++ error. I went ahead and formatted and installed suse the "correct", install programs on OS install way. I figure, I will just practice on it. Might as well close this case.

BTW - I chose SUSE because of the Novell connection. I figure they have money for R&D to make linux into a true OS contender.

I heard debian limited you to "old" versions of programs and not all linux programs worked. Just what I read on a forum somewhere.
 
I heard debian limited you to "old" versions of programs and not all linux programs worked. Just what I read on a forum somewhere.

this is half true. Debian has 3 kind of releases: woody (stable), sarge(test) and cid (unstable). Woody is the most stable distribution but ussualy the packages are old (that's why they are stable, too much tested!), and in the opposite side, cid (unstable) is the most updated release, all packages are in the last releases.
 
Fair enough. I know that you said that you installed gcc. Just to be clear, remember that the C and C++ compilers are different. On my system:

# rpm -qf /usr/bin/g++
gcc-c++-3.4.3-9.EL4

and
# rpm -qf /usr/bin/gcc
gcc-3.4.3-9.EL4

 
For future reference, where is a good place to get software? I mean, I could not find an rpm for g++ for suse 9.3. There has to be some kind of listing like download.com or tucows?

Side note, I am not sure If I should get another thread or not, but, I decided to use apt for suse 9.3. I needed to update firefox for extensions and YOU did not have it. APT did and worked fine. I installed the synaptic frontend which makes things purty, but, I went to upgrade all and spent all the time downloading, but like two keys were missing or bad. I even said do not check for signatures. How do I know which keys? I did a rpmkey search and installed all the keys, at least i thought i got them all.Any ideas?

Also, Now, when i boot suse, it comes to the login and i try to login in and it just flashes back to the login. I can get in by going to failsafe, then typing kde, but what is the deal?
 
The user name and pass are right, if i put the wrong pass it, it states invalid password.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top