LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-15-2014, 01:21 PM   #1
sniper8752
Member
 
Registered: Oct 2012
Posts: 564

Rep: Reputation: Disabled
Installing VSFTPD


When I type "make install" in my vsftpd 3.x directory, it tells me:
Code:
if [ -x /usr/local/sbin ]; then \
      install -m 755 vsftpd /usr/local/sbin/vsftpd; \
   else \
      install -m 755 vsftpd /usr/sbin/vsftpd; fi
install: cannot stat `vsftpd': No such file or directory
make: *** [install] Error 1
 
Old 07-15-2014, 07:16 PM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
It looks like it didn't compiled vsftpd, no?

No errors when you did "make" in your vsftpd 3.x directory?
 
Old 07-17-2014, 09:29 AM   #3
sniper8752
Member
 
Registered: Oct 2012
Posts: 564

Original Poster
Rep: Reputation: Disabled
When I type in "make", it says that the compilation was terminated. make: *** [ftppolicy.o] Error 1.
 
Old 07-17-2014, 11:20 AM   #4
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Yup it didn't finish the compilation, ended it with an error

Look into your vsftpd source directory for compilation log files, they surelly contain detailed error lines
 
Old 07-17-2014, 01:12 PM   #5
sniper8752
Member
 
Registered: Oct 2012
Posts: 564

Original Poster
Rep: Reputation: Disabled
where can I find it, or what is it called?
 
Old 07-17-2014, 03:30 PM   #6
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
First check config.log in the source directory, make sure there is no error here as configure script has to finish cleanly before attempting a make

You can also try another "make" and post output errors lines before the
"make: *** [ftppolicy.o] Error 1."

Last edited by keefaz; 07-17-2014 at 03:31 PM.
 
Old 07-18-2014, 10:02 AM   #7
sniper8752
Member
 
Registered: Oct 2012
Posts: 564

Original Poster
Rep: Reputation: Disabled
I do not see a config.log file in the vsftpd directory.
Not sure what you mean - so "make: *** [ftppolicy.o] Error 1. make"?
 
Old 07-18-2014, 11:58 AM   #8
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Well I am not sure myself, I am curious to see the lines that you get in your terminal

the lines just before you see:

make: *** [ftppolicy.o] Error 1.
 
Old 07-22-2014, 12:12 PM   #9
sniper8752
Member
 
Registered: Oct 2012
Posts: 564

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by keefaz View Post
Well I am not sure myself, I am curious to see the lines that you get in your terminal

the lines just before you see:

make: *** [ftppolicy.o] Error 1.
Code:
~/Desktop/vsftpd-3.0.2 $ make
gcc -c ftppolicy.c -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wall -W -Wshadow -Werror -Wformat-security -D_FORTIFY_SOURCE=2  -idirafter dummyinc
ftppolicy.c:17:23: fatal error: sys/types.h: No such file or directory
 #include <sys/types.h>
                       ^
compilation terminated.
make: *** [ftppolicy.o] Error 1
 
Old 07-23-2014, 06:46 PM   #10
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
You need to install glibc header files. What is your linux distribution?
 
Old 07-23-2014, 09:07 PM   #11
sniper8752
Member
 
Registered: Oct 2012
Posts: 564

Original Poster
Rep: Reputation: Disabled
I have a raspberry pi and Linux mint. I am trying to install it on either of those.
 
Old 07-24-2014, 04:14 AM   #12
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
On Linux mint, you don't need to compile VSFTPD to install it, just do:
Code:
sudo apt-get install vsftpd
Or if you want to compile programs, you need at least build essential
Code:
sudo apt-get install build-essential
 
Old 07-24-2014, 11:27 AM   #13
sniper8752
Member
 
Registered: Oct 2012
Posts: 564

Original Poster
Rep: Reputation: Disabled
it says that build-essential is already the newest version.
 
Old 07-24-2014, 12:01 PM   #14
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Uhh... Did you run ./configure before make ?
 
Old 07-24-2014, 12:43 PM   #15
sniper8752
Member
 
Registered: Oct 2012
Posts: 564

Original Poster
Rep: Reputation: Disabled
It says that there is no such file or directory.
 
  


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
installing vsftpd http error 404? cody995 Red Hat 3 06-07-2013 02:08 AM
Installing vsftpd with yum Arty Ziff Linux - Server 1 03-13-2010 04:06 PM
[SOLVED] Installing VSFTPD and configuring IPTables to match another server anon091 Linux - Newbie 17 11-16-2009 08:48 AM
SSH stopped working after installing vsftpd! ezjam Linux - Security 8 08-14-2009 05:25 PM
Installing Virtual users for vsftpd need berkeley Wimpie22 Linux - Software 0 02-07-2005 08:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:56 AM.

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
Open Source Consulting | Domain Registration