Click to See Complete Forum and Search --> : CATCH 22 SITUATION!!!
Mr Myaghi
11-13-2001, 03:47 PM
I downloaded a program (source) only to find out that I didn't have a compiler on the system. So I got gcc only to find out I needed a compiler to install it. It suggested I use GNU make which I got only to find out I need a compiler to install it. So I need to install a compiler so I can compile the compiler needed to compile the compiler....u following??? Cause I'm not.
The Whizzard
11-13-2001, 03:51 PM
Your distro should have binaries of gcc and make that don't need to be compiled.
Mr Myaghi
11-13-2001, 04:10 PM
I think so to (that a compiler should already be there). I use mandrake 8.1. I looked in the package manager and found something with gcc. But I couldn't find any binaries. I've looked particulary in the /usr/local/bin and -"- bins. I've searched for the files but havn't found them. Maybe it's just a linking problem. What should I do. Guess it's "ln -s blabla blabla or something in that way. I'm a total newbie so I'm in desperate need of help. I've been spending alot of hours on this issue (two days).
Try upgrading your install by booting from the mandrake cd and installing the development rpm's.
Slackmonster
11-13-2001, 09:44 PM
You could also download the binary rpms from www.rpmfind.net. (http://www.rpmfind.net.) That was where I went to get a bunch of the stuff I use. Make sure to look through the results carefully to find the correct one to use. It will give you a bunch of results. Good luck.
bdg1983
11-14-2001, 04:40 AM
Originally posted by p2:
<STRONG>Try upgrading your install by booting from the mandrake cd and installing the development rpm's.</STRONG>
That would be the easiest and probably best way to get all the development packages you need.
EyesWideOpen
11-14-2001, 09:56 AM
What do you get when you type which make and which gcc? If you haven't already upgraded yet.
Mr Myaghi
11-14-2001, 05:08 PM
When I type which gcc and make I simply get a note sayin no gcc in... And it lists a number of directories. In the package manager I've found gcc and I pressed the file tab. There aren't any files named anything with gcc, only cp, cpp etc. Could this be something. The development packages I think are on the second cd, I've only downloaded the first. But I'll try and see.
Mr Myaghi
11-14-2001, 06:13 PM
I downloaded gcc-3.0.1-0.1.i686.rpm but when I tried to install it it says (I'll try to translate it from swedish): "error: unqualified dependencies:
binutils >= 2.9.1.0.25 is needed by gcc
cpp = 3.0.1 is needed by gcc
I know I have cpp 3.0.1, it's in /usr/bin, I don't know about 2.9.1.0.25
And another question. As I understand linux makes up some kind of partition table for the different directories(???). When I try to update the develepor package (that's nearly 300Mb) I don't have enough space. And I'm not completely sure it's on the first cd because of mandrakes very unclear installation program
Mr Myaghi
11-14-2001, 07:14 PM
I downloaded the cpp and binutils rpms. The binutils install works but when I try to install cpp it says:
file /lib/cpp from installation of cpp-3.0.1-01 is in conflict with the file from package gcc3.0-cpp-3.0.1-1mdk
file /usr/bin/cpp from installation of cpp-3.0.1-01 is in conflict with the file from package gcc3.0-cpp-3.0.1-1mdk
Strange. What can you make of it. It seems as it is already installed but maybe not linked properly or something???
Mr Myaghi
11-15-2001, 08:01 AM
I went to the package manager and uninstalled the gcc there. I then downloaded gcc as rpm and installed. I also installed gnu make rpm and all other needed. When I try to configure a program it goes fine at first, but when it's gonna check the compiler it says:
checking for gcc... gcc
checking wether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables