Urgent Help Needed! Error: Must set the environment variable CC to a working compiler
Hi,
Im relatively new to linux and Im trying to setup a Linux Web Server using Slackware 9. Ive completed the install fine but have been having trouble installing anything because when I come to run ./configure it gives me this error: *** You must set the environment variable CC to a working compiler. I had selected GCC as one of the packages to install on setup so im unsure why im getting this, I even downloaded the source for GCC again to trying setting that up again but I get the same error as well. How do I get this sorted?? Thanks... - Carl S |
I am urgently here to help you ;)
What do you get when you type: gcc -v And when you type: env Post up those results. Cool |
I think I might know where I went wrong... I think my install was a bit too 'Minimal' !!
Although I installed these: [X] gcc GNU gcc-3.2.2 C compiler [X] gcc-g++ GNU C++ compiler for gcc-3.2.2 I never installed any PACKAGES FROM SERIES L (Libraries) Am I right in thinking one of these are crucial for compiling C ?? If this is true which packages from the Libraries series should I install?? I dont really want to put them all on as the HDD on my test server is a bit on the slim side!! - Carl S P.S. Sorry MasterC im half way hru the 2nd reinstall so I will post those results if im still havin problems!! If u know which bits out of Libraries packages I need then please shout up tho :) |
Off hand, I'm sure you'll need libc :D ;) Look also for things like binutils, make, automake and so on (check LFS for more info on truly basic tools ( www.linuxfromsratch.org ) ).
Cool |
All times are GMT -5. The time now is 03:55 PM. |