vsftpd with PAM... errors in builddefs.h
i want to run vsftpd simply because i need a nice ftp server on the linux side. initially i installed this program without any additional switches set, but i guess because of that, i can only login locally. (annoying as hell). i read somewhere that it might be a good idea to install PAM. so i uninstalled vsftpd. and wanted to reinstall it this time with PAM. i understand you have edit the builddefs.h file before you 'make' so i uncommented the line where pam is. but when i 'make' after that i get an error. first view my builddefs.h file:
#ifndef VSF_BUILDDEFS_H
#define VSF_BUILDDEFS_H
#undef VSF_BUILD_TCPWRAPPERS
define VSF_BUILD_PAM
#undef VSF_BUILD_SSL
#endif /* VSF_BUILDDEFS_H */
now the error when make is put in:
builddefs.h:5: error: parse error before "VSF_BUILD_PAM"
In file included from tcpwrap.c:12:
utility.h:4: error: syntax error before "struct"
make: *** [tcpwrap.o] Error 1 .
ive even tried uncommenting the whole builddefs file, and i pretty much get the same error. ive read the docs over and over again, and i must be missing something. any help here would be greatly appreciated.
thanks for your time guys
|