LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-24-2004, 04:50 PM   #1
ylkien
LQ Newbie
 
Registered: May 2004
Posts: 16

Rep: Reputation: 0
VSFTPD installation problem


Hi,

i am trying to install VSFTPD 1.2.2 (the latest) on Mandrake. after unzipping the .tar file into a folder, i tried the command "make" and this came out :

gcc -c main.c -O2 -Wall -W -Wshadow -idirafter dummyinc
make: gcc: Command not found
make: *** [main.o] Error 127


What have i done wrong?

Last edited by ylkien; 05-24-2004 at 11:54 PM.
 
Old 05-24-2004, 05:01 PM   #2
OEP
Member
 
Registered: Apr 2004
Location: AL, USA
Distribution: FC4, Gentoo
Posts: 58

Rep: Reputation: 15
It sounds like gcc wasn't installed. Did you install gcc when you installed mandrake?
 
Old 05-24-2004, 08:08 PM   #3
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
try the command

which gcc

That should produce the directory gcc is installed in. If this produces an error stating that there is no gcc, then you don't have it on.

Also do as root in console:

updatedb (this could take a few minutes)
locate gcc

This should produce all the files containing gcc in them. Post both here.
 
Old 05-24-2004, 11:53 PM   #4
ylkien
LQ Newbie
 
Registered: May 2004
Posts: 16

Original Poster
Rep: Reputation: 0
Thanks.

the command "which gcc" came out with this output :


which: no gcc in (/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin)


The command "locate gcc" after updatedb has this :

/usr/share/ghostscript/Resource/CMap/HKgccs-B5-H
/usr/share/ghostscript/Resource/CMap/HKgccs-B5-V
/usr/share/ghostscript/Resource/ac14/CMap/HKgccs-B5-H
/usr/share/ghostscript/Resource/ac14/CMap/HKgccs-B5-V
/usr/lib/gcc-lib
/usr/lib/openoffice/program/libcppuhelper3gcc3.so
/usr/lib/openoffice/program/libcomphelp3gcc3.so
/usr/lib/openoffice/program/libcppuhelpergcc3.so.3.1.0
/usr/lib/openoffice/program/libcppuhelpergcc3.so
/usr/lib/openoffice/program/libcppuhelpergcc3.so.3
/usr/lib/openoffice/program/libgcc3_uno.so
/usr/lib/openoffice/program/libjvmaccessgcc3.so.3.1.0
/usr/lib/openoffice/program/libi18nregexpgcc3.so
/usr/lib/openoffice/program/libi18nutilgcc3.so
/usr/lib/openoffice/program/libjvmaccessgcc3.so
/usr/lib/openoffice/program/libjvmaccessgcc3.so.3
/usr/lib/openoffice/program/libsalhelpergcc3.so.3.1.0
/usr/lib/openoffice/program/libsalhelper3gcc3.so
/usr/lib/openoffice/program/libsalhelpergcc3.so
/usr/lib/openoffice/program/libsalhelpergcc3.so.3
/usr/lib/openoffice/program/libstlport_gcc.so
/usr/lib/openoffice/program/libucbhelper2gcc3.so
/usr/lib/openoffice/program/libvos3gcc3.so
/usr/X11R6/man/man1/gccmakedep.1x.bz2
/lib/libgcc_s-3.3.1.so.1
/lib/libgcc_s.so.1



May i ask what gcc is for?

Can i install gcc through command lines only (w/o x window)

thanks.

Last edited by ylkien; 05-24-2004 at 11:58 PM.
 
Old 05-25-2004, 12:25 AM   #5
ylkien
LQ Newbie
 
Registered: May 2004
Posts: 16

Original Poster
Rep: Reputation: 0
I tried the command "urpmi gcc" and i am able to install it (24mb), but it required me to insert disc 1 of mandrake into the cdrom. The only thing is that, i left the cdrom at home...Is there anyway to install it w/o the cdrom?
 
Old 05-25-2004, 02:40 AM   #6
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
gcc is a C program language compiler. It is used to compile programs, written in C. Ther is also g++, which is a C++ compiler. As obviously the program you are trying to install (VSFTPD) is written in C, you need the gcc program first. You should be ablo to download it from the net. Search for a RPM or source, however it is strange to me, of how you will be able to install, or how was you able to install anything without gcc.
 
Old 05-29-2004, 03:04 PM   #7
ylkien
LQ Newbie
 
Registered: May 2004
Posts: 16

Original Poster
Rep: Reputation: 0
Hi.

Well, i have installed gcc. I am following the guide in the INSTALL file. I have already done "make" and created the directory "nobody". But, now, when i type the "make install", nothing comes out...only these...

[root@localhost vsftpd-1.2.2]# make install
if [ -x /usr/local/sbin ]; then \
install -m 755 vsftpd /usr/local/sbin/vsftpd; \
else \
install -m 755 vsftpd /usr/sbin/vsftpd; fi
if [ -x /usr/local/man ]; then \
install -m 644 vsftpd.8 /usr/local/man/man8/vsftpd.8; \
install -m 644 vsftpd.conf.5 /usr/local/man/man5/vsftpd.conf.5; \
elif [ -x /usr/share/man ]; then \
install -m 644 vsftpd.8 /usr/share/man/man8/vsftpd.8; \
install -m 644 vsftpd.conf.5 /usr/share/man/man5/vsftpd.conf.5; \
else \
install -m 644 vsftpd.8 /usr/man/man8/vsftpd.8; \
install -m 644 vsftpd.conf.5 /usr/man/man5/vsftpd.conf.5; fi
if [ -x /etc/xinetd.d ]; then \
install -m 644 xinetd.d/vsftpd /etc/xinetd.d/vsftpd; fi


am i missing a program that i must install?
 
Old 06-02-2004, 07:59 AM   #8
padonker
LQ Newbie
 
Registered: Jun 2004
Posts: 9

Rep: Reputation: 0
Did you even concider to read the install document at all?
I could tell you that after compiling and installing the vsftpd binary is copied to /usr/local/sbin, but I guess that your next question(s) will be about how to get it to work
Go to http://www.vsftpdrocks.org/ and READ how to install and get it to work....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftpd settingd and VSFTPD DEAD BUT SUBSYS LOCKED pc_copat Linux - Newbie 15 11-05-2009 11:31 PM
vsftpd.conf/chroot/vsftpd.chroot_list issue Jerman Linux - Security 2 06-01-2007 08:24 PM
vsftpd installation problem Spreegem Debian 15 05-30-2005 09:49 AM
VSFTPD with 500 oops :vsftpd: missing argv[0] mole_13 Linux - Newbie 0 05-04-2005 02:05 AM
Installation vsftpd - Virtual Users Yoss Linux - Networking 7 07-11-2003 04:00 AM


All times are GMT -5. The time now is 08:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration