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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
07-15-2014, 02:21 PM
|
#1
|
Member
Registered: Oct 2012
Posts: 567
Rep: 
|
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
|
|
|
07-15-2014, 08:16 PM
|
#2
|
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,795
|
It looks like it didn't compiled vsftpd, no?
No errors when you did "make" in your vsftpd 3.x directory?
|
|
|
07-17-2014, 10:29 AM
|
#3
|
Member
Registered: Oct 2012
Posts: 567
Original Poster
Rep: 
|
When I type in "make", it says that the compilation was terminated. make: *** [ftppolicy.o] Error 1.
|
|
|
07-17-2014, 12:20 PM
|
#4
|
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,795
|
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
|
|
|
07-17-2014, 02:12 PM
|
#5
|
Member
Registered: Oct 2012
Posts: 567
Original Poster
Rep: 
|
where can I find it, or what is it called?
|
|
|
07-17-2014, 04:30 PM
|
#6
|
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,795
|
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 04:31 PM.
|
|
|
07-18-2014, 11:02 AM
|
#7
|
Member
Registered: Oct 2012
Posts: 567
Original Poster
Rep: 
|
I do not see a config.log file in the vsftpd directory.
Not sure what you mean - so "make: *** [ftppolicy.o] Error 1. make"?
|
|
|
07-18-2014, 12:58 PM
|
#8
|
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,795
|
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.
|
|
|
07-22-2014, 01:12 PM
|
#9
|
Member
Registered: Oct 2012
Posts: 567
Original Poster
Rep: 
|
Quote:
Originally Posted by keefaz
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
|
|
|
07-23-2014, 07:46 PM
|
#10
|
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,795
|
You need to install glibc header files. What is your linux distribution?
|
|
|
07-23-2014, 10:07 PM
|
#11
|
Member
Registered: Oct 2012
Posts: 567
Original Poster
Rep: 
|
I have a raspberry pi and Linux mint. I am trying to install it on either of those.
|
|
|
07-24-2014, 05:14 AM
|
#12
|
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,795
|
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
|
|
|
07-24-2014, 12:27 PM
|
#13
|
Member
Registered: Oct 2012
Posts: 567
Original Poster
Rep: 
|
it says that build-essential is already the newest version.
|
|
|
07-24-2014, 01:01 PM
|
#14
|
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,795
|
Uhh... Did you run ./configure before make ?
|
|
|
07-24-2014, 01:43 PM
|
#15
|
Member
Registered: Oct 2012
Posts: 567
Original Poster
Rep: 
|
It says that there is no such file or directory.
|
|
|
All times are GMT -5. The time now is 04:44 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|