[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

chpasswd



Mam pytanie co może być nie tak google powiedziały, że może to

Być wina gcc, posiadam wersje 3.3.1, ponieważ staram się zainstalować chpasswd.cgi

I w trakcie kompilacji jak odpalam skrypt ./build-sh to mi wywala następujące rzeczy:

 

create-html.sh for chpasswd 2.0, make by ml0dy

 

conwerting... 'error1' file

conwerting... 'error2' file

conwerting... 'error3' file

conwerting... 'error4' file

conwerting... 'error5' file

conwerting... 'error6' file

conwerting... 'error7' file

conwerting... 'error8' file

conwerting... 'index' file

conwerting... 'ok' file

done.

Configure script for chpasswd 2.0, make by ml0dy <mlody@popnet.pl>

        ...finded HTTP daemon (/usr/local/apache/bin/httpd)

        ...COOL, Apache HTTP daemon (ver.1.3.29)

        ...configure file: /etc/apache/httpd.conf

        ...Group = www-data

        CGI-BIN directory: /var/www/cgi-bin

...correcting Makefile

gcc -DHAVE_CONFIG_H -I. -O2 -Wall -c libs/commonio.c -o libs/commonio.o

gcc -DHAVE_CONFIG_H -I. -O2 -Wall -c libs/pwio.c -o libs/pwio.o

gcc -DHAVE_CONFIG_H -I. -O2 -Wall -c libs/shadowio.c -o libs/shadowio.o

gcc -DHAVE_CONFIG_H -I. -O2 -Wall -c libs/sgetpwent.c -o libs/sgetpwent.o

gcc -Wall -O2 -c salt.c

salt.c: In function `salt':

salt.c:23: warning: implicit declaration of function `clock'

gcc -Wall -O2 -c pw_encrypt.c

gcc -Wall -O2 -c md5_crypt.c

gcc -Wall -O2 -c des_crypt.c

gcc -Wall -O2 -c cgilib.c

gcc -Wall -O2 -c mgets.c

gcc -Wall -O2 -DHAVE_SHADOW -o chpasswd chpasswd.c salt.o pw_encrypt.o md5_crypt.o des_crypt.o cgilib.o mgets.o libs/pwio.o libs/shadowio.o libs/commonio.o libs/sgetpwent.o

In file included from chpasswd.c:32:

html.h:2:20: missing terminating " character

In file included from chpasswd.c:32:

html.h:3: error: parse error before '<' token

html.h:7: error: stray '\' in program

html.h:7:16: missing terminating " character

html.h:12:9: warning: character constant too long for its type

html.h:15: error: stray '\' in program

html.h:15:64: missing terminating " character

html.h:18:1: missing terminating " character

html.h:20:20: missing terminating " character

html.h:25: error: stray '\' in program

html.h:25:16: missing terminating " character

html.h:30:9: missing terminating ' character

html.h:30:9: warning: character constant too long for its type

html.h:33: error: stray '\' in program

html.h:33:64: missing terminating " character

html.h:36:1: missing terminating " character

html.h:38:20: missing terminating " character

html.h:43: error: stray '\' in program

html.h:43:16: missing terminating " character

html.h:51: error: stray '\' in program

html.h:51:64: missing terminating " character

html.h:54:1: missing terminating " character

html.h:56:20: missing terminating " character

html.h:61: error: stray '\' in program

html.h:61:16: missing terminating " character

html.h:66:8: missing terminating ' character

html.h:66:8: warning: character constant too long for its type

html.h:69: error: stray '\' in program

html.h:69:64: missing terminating " character

html.h:72:1: missing terminating " character

html.h:74:20: missing terminating " character

html.h:79: error: stray '\' in program

html.h:79:16: missing terminating " character

html.h:87: error: stray '\' in program

html.h:87:64: missing terminating " character

html.h:90:1: missing terminating " character

html.h:92:20: missing terminating " character

html.h:97: error: stray '\' in program

html.h:97:16: missing terminating " character

html.h:102:9: missing terminating ' character

html.h:102:9: warning: character constant too long for its type

html.h:105: error: stray '\' in program

html.h:105:64: missing terminating " character

html.h:108:1: missing terminating " character

html.h:110:20: missing terminating " character

html.h:115: error: stray '\' in program

html.h:115:16: missing terminating " character

html.h:123: error: stray '\' in program

html.h:123:64: missing terminating " character

html.h:126:1: missing terminating " character

html.h:128:20: missing terminating " character

html.h:133: error: stray '\' in program

html.h:133:16: missing terminating " character

html.h:138:9: missing terminating ' character

html.h:138:9: warning: character constant too long for its type

html.h:141: error: stray '\' in program

html.h:141:64: missing terminating " character

html.h:144:1: missing terminating " character

html.h:146:19: missing terminating " character

html.h:151: error: stray '\' in program

html.h:151:16: missing terminating " character

html.h:154: error: stray '\' in program

html.h:154:15: missing terminating " character

html.h:155: error: stray '\' in program

html.h:155:18: missing terminating " character

html.h:157: error: stray '\' in program

html.h:157:18: missing terminating " character

html.h:158: error: stray '\' in program

html.h:158:24: missing terminating " character

html.h:159: error: stray '\' in program

html.h:159:14: missing terminating " character

html.h:162: error: stray '\' in program

html.h:162:18: missing terminating " character

html.h:163: error: stray '\' in program

html.h:163:24: missing terminating " character

html.h:164: error: stray '\' in program

html.h:164:14: missing terminating " character

html.h:167: error: stray '\' in program

html.h:167:18: missing terminating " character

html.h:168: error: stray '\' in program

html.h:168:24: missing terminating " character

html.h:169: error: stray '\' in program

html.h:169:14: missing terminating " character

html.h:172: error: stray '\' in program

html.h:172:18: missing terminating " character

html.h:173: error: stray '\' in program

html.h:173:24: missing terminating " character

html.h:174: error: stray '\' in program

html.h:174:14: missing terminating " character

html.h:177: error: stray '\' in program

html.h:177:23: missing terminating " character

html.h:178: error: stray '\' in program

html.h:178:23: missing terminating " character

html.h:179: error: stray '\' in program

html.h:179:14: missing terminating " character

html.h:180: error: stray '\' in program

html.h:180:14: missing terminating " character

html.h:185: error: stray '\' in program

html.h:185:64: missing terminating " character

html.h:188:1: missing terminating " character

html.h:190:16: missing terminating " character

html.h:195: error: stray '\' in program

html.h:195:16: missing terminating " character

html.h:202: error: stray '\' in program

html.h:202:64: missing terminating " character

html.h:205:1: missing terminating " character

chpasswd.c: In function `main':

chpasswd.c:79: warning: zero-length printf format string

chpasswd.c:89: warning: zero-length printf format string

chpasswd.c:93: warning: zero-length printf format string

chpasswd.c:98: warning: zero-length printf format string

chpasswd.c:103: warning: zero-length printf format string

chpasswd.c:105: warning: zero-length printf format string

chpasswd.c:114: warning: zero-length printf format string

chpasswd.c:121: warning: zero-length printf format string

chpasswd.c:125: warning: zero-length printf format string

chpasswd.c:127: warning: zero-length printf format string

make: *** [all] Error 1

cp chpasswd /var/www/cgi-bin/chpasswd.cgi

chown root /var/www/cgi-bin/chpasswd.cgi

chgrp www-data /var/www/cgi-bin/chpasswd.cgi

chmod u+s /var/www/cgi-bin/chpasswd.cgi

chmod a-rx /var/www/cgi-bin/chpasswd.cgi

chmod g+rx /var/www/cgi-bin/chpasswd.cgi

 

jeżeli ktoś wie co może być nie tak proszę o informację.

 

Pozdrawiam i dziękuje od razu za pomoc

Adam.


Reply to: