ÀÌÀü °èÁ¤¿¡¼ CrazyGuestbookÀ» »ç¿ëÇÏ¿´´Âµ¥
°èÁ¤ À̵¿ÈÄ ¼³Ä¡°¡ Èûµé¾î
¿ìºÐÅõ ¼¹ö Àӽ÷Πµ¹·Á CrazyGuestbookÀ» ¼³Ä¡Çغ¸·Á°í Çϴµ¥¿ä.
ÄÄÆÄÀÏ È¯°æ°ú CrazyGuestbook ¼³Ä¡Çϴµ¥ ¾î·Á¿òÀÌ Àֳ׿ä ^^;
¼¹öȯ°æ
ubuntu server 14.04
PHP Version 5.5.9
Apache 2.4.7
CrazyGuestbook-3.2.2
ÄÄÆÄÀÏȯ°æ ±¸ÃàÇÏ´Â ³»¿ë°ú
CrazyGuestbook ÄÄÆÄÀϽà ¿¡·¯¿¡ ´ëÇÑ ³»¿ëÀÌ ±Ã±ÝÇÕ´Ï´Ù.
°í¼ö´Ô µµ¿ÍÁÖ¼¼¿ä ^^;
---------------------- ÄÄÆÄÀÏ ¿¡·¯ ------------------
root@localhost:/var/www/cgi-bin/guestbook-3.2.2# ./Install-sh
---- CrazyGuestbook Installation Manager
---- Step 1. Compiling CrazyGuestbook.cgi
rm -f qDecoder.o cgb.o cgb_list.o cgb_write.o cgb_delete.o cgb_admin.o CrazyGuestbook.cgi
gcc -Wall -c -o qDecoder.o qDecoder.c
qDecoder.c: In function ‘qContentType’:
qDecoder.c:413:10: warning: type defaults to ‘int’ in declaration of ‘flag’ [-Wimplicit-int]
static flag = 0;
^
gcc -Wall -c -o cgb.o cgb.c
cgb.c:26:6: warning: return type of ‘main’ is not ‘int’ [-Wmain]
void main(void){
^
cgb.c: In function ‘main’:
cgb.c:42:3: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration]
if(!strcmp(db.mode, "list")) cgb_list(&db, &conf);
^
gcc -Wall -c -o cgb_list.o cgb_list.c
gcc -Wall -c -o cgb_write.o cgb_write.c
cgb_write.c: In function ‘write_form0’:
cgb_write.c:27:3: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration]
if(strcmp(conf->WriteName, "false"))printf(" <tr><td bgcolor=f0f0f0 align=center><font size=2 face="arial"><b>Name</b></font></td><td><input type=text name=Name size=20 maxlength=20></td></tr>\n");
^
cgb_write.c: In function ‘cgb_savewrite’:
cgb_write.c:114:3: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration]
if((qValue("HomeURL")) != NULL && strcmp("", tmp=qRemoveSpace(qValue("HomeURL"))) && (strlen(qValue("HomeURL")) >= 12))fprintf(fp, "query-homeurl=%s\n", tmp);
^
cgb_write.c:114:90: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
if((qValue("HomeURL")) != NULL && strcmp("", tmp=qRemoveSpace(qValue("HomeURL"))) && (strlen(qValue("HomeURL")) >= 12))fprintf(fp, "query-homeurl=%s\n", tmp);
^
gcc -Wall -c -o cgb_delete.o cgb_delete.c
gcc -Wall -c -o cgb_admin.o cgb_admin.c
cgb_admin.c: In function ‘check_password’:
cgb_admin.c:19:3: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration]
if(!strcmp(conf->Password, db->password)) return 1;
^
gcc -Wall -o CrazyGuestbook.cgi qDecoder.o cgb.o cgb_list.o cgb_write.o cgb_delete.o cgb_admin.o
cgb_admin.o: In function `check_password":
cgb_admin.c:(.text+0x5f): undefined reference to `crypt"
cgb_admin.o: In function `admin_form":
cgb_admin.c:(.text+0x27d): undefined reference to `crypt"
cgb_admin.o: In function `cgb_adminsave":
cgb_admin.c:(.text+0x9a5): undefined reference to `crypt"
collect2: error: ld returned 1 exit status
make: *** [CrazyGuestbook.cgi] Error 1
---- Step 2. Installation...
cp: cannot stat ‘CrazyGuestbook.cgi’: No such file or directory
---- Installation Complete...