I have installed squid proxy server and now I try to find how to change password for any accounts via web. I search google and find chpasswd.cgi has this feature. I download the chpasswd-cgi.tar.gz and extract it :
tar zxf chpasswd-cgi.tar.gz
then, I read the README to find out how to install it. It says that just type ./configure, Then I try to enter make, then make install.
Getting below error
[root@proxy chpasswd-1.9.1]# make
gcc -c -O2 -w -I. -DHAVE_LIBCRYPT=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_CRYPT_H=1 -DHAVE_PWD_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRSTR=1 -DPREFIX=\"/usr/local/etc/chpasswd\" -DEnglish chpasswd.c
chpasswd.c:686: error: static declaration of ‘strip_latin’ follows non-static declaration
chpasswd.c:602: note: previous implicit declaration of ‘strip_latin’ was here
make: *** [chpasswd.o] Error 1
[root@proxy chpasswd-1.9.1]# make install
gcc -c -O2 -w -I. -DHAVE_LIBCRYPT=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_CRYPT_H=1 -DHAVE_PWD_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRSTR=1 -DPREFIX=\"/usr/local/etc/chpasswd\" -DEnglish chpasswd.c
chpasswd.c:686: error: static declaration of ‘strip_latin’ follows non-static declaration
chpasswd.c:602: note: previous implicit declaration of ‘strip_latin’ was here
make: *** [chpasswd.o] Error 1
How do I resolve that?