LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installing using ./config (https://www.linuxquestions.org/questions/linux-newbie-8/installing-using-config-404719/)

jmrother 01-17-2006 08:09 PM

installing using ./config
 
I'm a brand new Linux user (Fedora C4) and I've been trying to follow the forums regarding installing programs. I use cd in the terminal to get to the directory after extracting and then type ./config and I always get the same error (when installing Mozilla Thunderbird or a screensaver).

current directory: /usr/share/xscreensaver-4.14
command line was: ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

Do I not have a proper compiler or am I totally off track? Thanks!

pixellany 01-17-2006 08:17 PM

It sounds as if gcc is not installed. First, check the package manager to see what it says.
If in doubt, simply download and install gcc (preferably using your package manager.)

syg00 01-17-2006 08:32 PM

You'd have to think there'd be rpm's available for things like that.
For a distro like Fedora, has to be the preferred way to go.

jmrother 01-17-2006 10:42 PM

I downloaded gcc-3.4.4-2.fc3.i386.rpm from the fedora website and tried to open it with the install packages option, but i got an error window that said "The following package could not be found on your system" and listed "ccp".

It seems like everytime I go to download and install something, it requires another compiler that I don't have.

Thanks for the quick responses, if I could figure out how to install stuff, I'd definitely use Linux primarily!

DanTaylor 01-17-2006 11:57 PM

Don't Give Up
 
First of all, don't give up on using Linux as your primary OS if you work with it, you will find it can be a lot more stable and even convenient(This does not mean ease of use) than that other OS I won't mention.

I recently switched over to Linux and found that the best way to learn Linux is to just start poking. I don't know what kind of background you have in computers but when I switched I just started poking. I ran into several problems like this and figured out that I just needed to keep messing with stuff until I got it to work.

Just keep downloading and installing the modules it tells you it is missing, and it should* eventually work.

*If you are installing and configuring everything right



"Without Linux, the world would be a dark and dismal place."

btmiller 01-18-2006 02:37 AM

Cpp is the C preprocessor, which is also needed to compile C code. The best solution for you is to set up yum (numerous directions available via Google). Then you can just do "yum install gcc" and it will fetch gcc and all the dependencies and install them for you.

jmrother 01-18-2006 09:50 AM

I found a good site online, that seemed to spell out the installation of yum, which unfortunately I can't post, since this is my first.

As far as I could tell, it simply dowloaded and installed it directly from the website. I thin I have it installed, but I got some errors in the terminal that I don't really understand.

When I went to install gcc with yum, it seemed like everything was going fine until I got to the end:

Added 2929 new packages, deleted 0 old in 16.19 seconds
Parsing package install arguments
No Match for argument: gcc-3.4.4-2.fc3.i386.rpm
Nothing to do

So, I'm not sure if it worked or not. To check it, I went to install another program that before I couldn't (a KDE theme), due to gcc and it said it installed successfully, but it was not under the themes menu.

I'm not sure, it seems like I may have made a breathrough, it's certainly doing things it didn't before.


All times are GMT -5. The time now is 06:32 PM.