Forum Home
Press F1
 
Thread ID: 46270 2004-06-18 10:31:00 VSFTPD needs GCC which needs CC ... none of which work. Growly (6) Press F1
Post ID Timestamp Content User
245770 2004-06-18 10:31:00 Ok I wanted an FTP server...

So i downloaded VSFTPD and installed it, which asked me to compile it, which needed gcc.

So i downloaded gcc and 34MB later, i was asked to configure gcc with the srcdir/configure [option] [target] command, and i get this error:

[root@homeless objdir]# /root/gcc-3.4.0/configure --prefix=/root/gcc-3.4.0
loading cache ./config.cache
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
checking build system type... i686-pc-linux-gnuoldld
checking for a BSD compatible install... /usr/bin/install -c
/root/gcc-3.4.0/configure: line 2332: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
[root@homeless objdir]#


Why wont something work ?! :'(
Growly (6)
245771 2004-06-18 10:32:00 Oh right...

Then I went searching google, and I found a place where a guy had the same problem. Apparently I need the cc.bin file in my usr/bin directory (aren't all console commands stored here?), and without it I couldn't configure gcc. *sigh*.

Can anyone help?
Growly (6)
245772 2004-06-18 10:34:00 > Ok I wanted an FTP server...

Have you tried Pure-FTPd?

Chill is running that on his server & a few web host uses it as well....
stu120404 (268)
245773 2004-06-18 10:40:00 What OS Growly. Looks like your in Dependency Hell which is a Red Hat based distro affliction. Not that I can help you being a noob as well.

Cheers Murray P
Murray P (44)
245774 2004-06-18 11:17:00 So THATS what they mean by depndency....

Im running fedora core 1...

with lots of problems.
Growly (6)
245775 2004-06-19 04:02:00 You haven't got the "development" packages installed.

GCC or the the newer one is the C compiler. CC (cc) is the "C Compiler" command which causes a call of GCC. ;-)

What you have just tried to do is to compile the compiler from source. Because you haven't got a compiler, you can't compile anything. Even the compiler.


You will certainly have a ready compiled compiler for your Fedora on the distribution CDs. There will be a whole section in the package manager devoted to development tools. As well as the compiler, you will need (at least) the "kernel headers" to build things like FTP which talk to the OS.

This isn't a "dependency" problem. That's a different can of worms.
Graham L (2)
245776 2004-06-19 04:15:00 Firstly, run redhat-config-packages

It'll prompt you for the CDs

You want two things:
FTP Server software (they only have vsftpd, saves compiling it)
Development Tools (Has gcc, automake, and some other stuff you'll need).

Hope this helps


Chill.
Chilling_Silence (9)
1