Axil S/E kdk019
				  1997. 4. 16
				  Kim Do Kyung

SUBJECT: WEB Counter Install Guide

DESCRIPTION:

★ WEB Counter Install Guide

root /tmp> 
root /tmp> 
root /tmp> tar xvf wwwcount2.2.tar
x ./wwwcount2.2, 0 bytes, 0 tape blocks
x ./wwwcount2.2/configure, 38569 bytes, 76 테이프 블럭
x ./wwwcount2.2/install-sh, 4772 bytes, 10 테이프 블럭
x ./wwwcount2.2/docs, 0 bytes, 0 tape blocks
x ./wwwcount2.2/docs/Count.html, 42061 bytes, 83 테이프 블럭
x ./wwwcount2.2/docs/c-c.html, 4610 bytes, 10 테이프 블럭
x ./wwwcount2.2/docs/confi.html, 1102 bytes, 3 테이프 블럭
x ./wwwcount2.2/docs/gen-c.html, 1675 bytes, 4 테이프 블럭
x ./wwwcount2.2/docs/rgb.txt.html, 52360 bytes, 103 테이프 블럭
x ./wwwcount2.2/docs/images, 0 bytes, 0 tape blocks
x ./wwwcount2.2/docs/images/countdst.gif, 9150 bytes, 18 테이프 블럭
x ./wwwcount2.2/docs/images/styleE.gif, 132 bytes, 1 테이프 블럭
x ./wwwcount2.2/docs/images/styleET.gif, 217 bytes, 1 테이프 블럭
x ./wwwcount2.2/docs/images/styleA.gif, 430 bytes, 1 테이프 블럭
x ./wwwcount2.2/docs/images/styleB.gif, 2703 bytes, 6 테이프 블럭
x ./wwwcount2.2/docs/images/styleC.gif, 952 bytes, 2 테이프 블럭
x ./wwwcount2.2/docs/images/styleD.gif, 201 bytes, 1 테이프 블럭
x ./wwwcount2.2/docs/images/latest.gif, 83 bytes, 1 테이프 블럭
x ./wwwcount2.2/docs/Count2ex.html, 7423 bytes, 15 테이프 블럭
x ./wwwcount2.2/count.h, 4488 bytes, 9 테이프 블럭
x ./wwwcount2.2/main.c, 29520 bytes, 58 테이프 블럭
x ./wwwcount2.2/Gen-conf, 8722 bytes, 18 테이프 블럭
x ./wwwcount2.2/rgb.txt, 16992 bytes, 34 테이프 블럭
x ./wwwcount2.2/strimage.c, 1605 bytes, 4 테이프 블럭
x ./wwwcount2.2/RCS, 0 bytes, 0 tape blocks
x ./wwwcount2.2/RCS/Count-config,v, 15326 bytes, 30 테이프 블럭
x ./wwwcount2.2/RCS/Count-install,v, 10479 bytes, 21 테이프 블럭
x ./wwwcount2.2/RCS/Gen-conf,v, 9153 bytes, 18 테이프 블럭
x ./wwwcount2.2/RCS/Makefile.in,v, 1539 bytes, 4 테이프 블럭
x ./wwwcount2.2/RCS/README,v, 1047 bytes, 3 테이프 블럭
x ./wwwcount2.2/RCS/configure,v, 39497 bytes, 78 테이프 블럭
x ./wwwcount2.2/RCS/configure.in,v, 1265 bytes, 3 테이프 블럭
x ./wwwcount2.2/RCS/count.h,v, 4971 bytes, 10 테이프 블럭
x ./wwwcount2.2/RCS/install-sh,v, 5151 bytes, 11 테이프 블럭
x ./wwwcount2.2/RCS/main.c,v, 33368 bytes, 66 테이프 블럭
x ./wwwcount2.2/RCS/mkdirhier,v, 1285 bytes, 3 테이프 블럭
x ./wwwcount2.2/RCS/parse.c,v, 44526 bytes, 87 테이프 블럭
x ./wwwcount2.2/RCS/rgb.txt,v, 17365 bytes, 34 테이프 블럭
x ./wwwcount2.2/RCS/sample.dat,v, 375 bytes, 1 테이프 블럭
x ./wwwcount2.2/RCS/strimage.c,v, 2052 bytes, 5 테이프 블럭
x ./wwwcount2.2/RCS/testcount-sh,v, 1443 bytes, 3 테이프 블럭
x ./wwwcount2.2/combine, 0 bytes, 0 tape blocks
x ./wwwcount2.2/combine/allocim.c, 1512 bytes, 3 테이프 블럭
x ./wwwcount2.2/combine/alphaim.c, 3187 bytes, 7 테이프 블럭
x ./wwwcount2.2/combine/combine.c, 2478 bytes, 5 테이프 블럭
x ./wwwcount2.2/combine/combine.h, 5957 bytes, 12 테이프 블럭
x ./wwwcount2.2/combine/compcmap.c, 2585 bytes, 6 테이프 블럭
x ./wwwcount2.2/combine/compimg.c, 1893 bytes, 4 테이프 블럭
x ./wwwcount2.2/combine/crbasei.c, 3056 bytes, 6 테이프 블럭
x ./wwwcount2.2/combine/defines.h, 2417 bytes, 5 테이프 블럭
x ./wwwcount2.2/combine/dstraimg.c, 1424 bytes, 3 테이프 블럭
x ./wwwcount2.2/combine/duplicim.c, 2483 bytes, 5 테이프 블럭
x ./wwwcount2.2/combine/errcds.h, 1674 bytes, 4 테이프 블럭
x ./wwwcount2.2/combine/flatten.c, 6977 bytes, 14 테이프 블럭
x ./wwwcount2.2/combine/frameim.c, 5874 bytes, 12 테이프 블럭
x ./wwwcount2.2/combine/gdfonts.c, 17534 bytes, 35 테이프 블럭
x ./wwwcount2.2/combine/gdfonts.h, 368 bytes, 1 테이프 블럭
x ./wwwcount2.2/combine/getfinfo.c, 1921 bytes, 4 테이프 블럭
x ./wwwcount2.2/combine/imgstr.c, 1903 bytes, 4 테이프 블럭
x ./wwwcount2.2/combine/lsbfwrs.c, 1862 bytes, 4 테이프 블럭
x ./wwwcount2.2/combine/lzwdec.c, 5284 bytes, 11 테이프 블럭
x ./wwwcount2.2/combine/lzwenc.c, 6381 bytes, 13 테이프 블럭
x ./wwwcount2.2/combine/modulate.c, 2101 bytes, 5 테이프 블럭
x ./wwwcount2.2/combine/negate.c, 827 bytes, 2 테이프 블럭
x ./wwwcount2.2/combine/quantize.c, 55473 bytes, 109 테이프 블럭
x ./wwwcount2.2/combine/rddata.c, 972 bytes, 2 테이프 블럭
x ./wwwcount2.2/combine/readblk.c, 1694 bytes, 4 테이프 블럭
x ./wwwcount2.2/combine/readgif.c, 8232 bytes, 17 테이프 블럭
x ./wwwcount2.2/combine/readim.c, 2258 bytes, 5 테이프 블럭
x ./wwwcount2.2/combine/rgbtran.c, 7966 bytes, 16 테이프 블럭
x ./wwwcount2.2/combine/setpixel.c, 2125 bytes, 5 테이프 블럭
x ./wwwcount2.2/combine/signature.c, 17812 bytes, 35 테이프 블럭
x ./wwwcount2.2/combine/syncimg.c, 987 bytes, 2 테이프 블럭
x ./wwwcount2.2/combine/tranrgb.c, 7312 bytes, 15 테이프 블럭
x ./wwwcount2.2/combine/uncmpimg.c, 2027 bytes, 4 테이프 블럭
x ./wwwcount2.2/combine/writegif.c, 5944 bytes, 12 테이프 블럭
x ./wwwcount2.2/combine/rotate.c, 4120 bytes, 9 테이프 블럭
x ./wwwcount2.2/combine/Makefile.in, 1321 bytes, 3 테이프 블럭
x ./wwwcount2.2/combine/Makefile, 1539 bytes, 4 테이프 블럭
x ./wwwcount2.2/combine/combine.o, 12200 bytes, 24 테이프 블럭
x ./wwwcount2.2/combine/crbasei.o, 12304 bytes, 25 테이프 블럭
x ./wwwcount2.2/combine/allocim.o, 11168 bytes, 22 테이프 블럭
x ./wwwcount2.2/combine/readgif.o, 17784 bytes, 35 테이프 블럭
x ./wwwcount2.2/combine/rddata.o, 10704 bytes, 21 테이프 블럭
x ./wwwcount2.2/combine/dstraimg.o, 10828 bytes, 22 테이프 블럭
x ./wwwcount2.2/combine/readblk.o, 10664 bytes, 21 테이프 블럭
x ./wwwcount2.2/combine/lzwdec.o, 13480 bytes, 27 테이프 블럭
x ./wwwcount2.2/combine/syncimg.o, 10560 bytes, 21 테이프 블럭
x ./wwwcount2.2/combine/duplicim.o, 12056 bytes, 24 테이프 블럭
x ./wwwcount2.2/combine/writegif.o, 16208 bytes, 32 테이프 블럭
x ./wwwcount2.2/combine/lsbfwrs.o, 10444 bytes, 21 테이프 블럭
x ./wwwcount2.2/combine/lzwenc.o, 15400 bytes, 31 테이프 블럭
x ./wwwcount2.2/combine/uncmpimg.o, 11152 bytes, 22 테이프 블럭
x ./wwwcount2.2/combine/readim.o, 12148 bytes, 24 테이프 블럭
x ./wwwcount2.2/combine/flatten.o, 14060 bytes, 28 테이프 블럭
x ./wwwcount2.2/combine/signature.o, 17896 bytes, 35 테이프 블럭
x ./wwwcount2.2/combine/quantize.o, 31360 bytes, 62 테이프 블럭
x ./wwwcount2.2/combine/compimg.o, 11936 bytes, 24 테이프 블럭
x ./wwwcount2.2/combine/rgbtran.o, 17172 bytes, 34 테이프 블럭
x ./wwwcount2.2/combine/tranrgb.o, 16596 bytes, 33 테이프 블럭
x ./wwwcount2.2/combine/compcmap.o, 12120 bytes, 24 테이프 블럭
x ./wwwcount2.2/combine/frameim.o, 15924 bytes, 32 테이프 블럭
x ./wwwcount2.2/combine/modulate.o, 10956 bytes, 22 테이프 블럭
x ./wwwcount2.2/combine/alphaim.o, 12180 bytes, 24 테이프 블럭
x ./wwwcount2.2/combine/setpixel.o, 11400 bytes, 23 테이프 블럭
x ./wwwcount2.2/combine/getfinfo.o, 11064 bytes, 22 테이프 블럭
x ./wwwcount2.2/combine/imgstr.o, 12020 bytes, 24 테이프 블럭
x ./wwwcount2.2/combine/gdfonts.o, 17300 bytes, 34 테이프 블럭
x ./wwwcount2.2/combine/negate.o, 10952 bytes, 22 테이프 블럭
x ./wwwcount2.2/combine/rotate.o, 13392 bytes, 27 테이프 블럭
x ./wwwcount2.2/combine/libCombine.a, 425994 bytes, 833 테이프 블럭
x ./wwwcount2.2/digits, 0 bytes, 0 tape blocks
x ./wwwcount2.2/digits/A, 0 bytes, 0 tape blocks
x ./wwwcount2.2/digits/A/eight.gif, 99 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/A/five.gif, 91 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/A/four.gif, 90 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/A/nine.gif, 95 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/A/one.gif, 78 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/A/seven.gif, 84 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/A/six.gif, 95 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/A/three.gif, 91 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/A/two.gif, 90 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/A/zero.gif, 96 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/A/colon.gif, 77 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/A/am.gif, 86 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/A/pm.gif, 86 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/A/dash.gif, 92 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/B, 0 bytes, 0 tape blocks
x ./wwwcount2.2/digits/B/eight.gif, 1109 bytes, 3 테이프 블럭
x ./wwwcount2.2/digits/B/five.gif, 1117 bytes, 3 테이프 블럭
x ./wwwcount2.2/digits/B/four.gif, 1110 bytes, 3 테이프 블럭
x ./wwwcount2.2/digits/B/nine.gif, 1121 bytes, 3 테이프 블럭
x ./wwwcount2.2/digits/B/one.gif, 1078 bytes, 3 테이프 블럭
x ./wwwcount2.2/digits/B/seven.gif, 1094 bytes, 3 테이프 블럭
x ./wwwcount2.2/digits/B/six.gif, 1116 bytes, 3 테이프 블럭
x ./wwwcount2.2/digits/B/three.gif, 1110 bytes, 3 테이프 블럭
x ./wwwcount2.2/digits/B/two.gif, 1095 bytes, 3 테이프 블럭
x ./wwwcount2.2/digits/B/zero.gif, 1103 bytes, 3 테이프 블럭
x ./wwwcount2.2/digits/C, 0 bytes, 0 tape blocks
x ./wwwcount2.2/digits/C/eight.gif, 947 bytes, 2 테이프 블럭
x ./wwwcount2.2/digits/C/five.gif, 940 bytes, 2 테이프 블럭
x ./wwwcount2.2/digits/C/four.gif, 917 bytes, 2 테이프 블럭
x ./wwwcount2.2/digits/C/nine.gif, 940 bytes, 2 테이프 블럭
x ./wwwcount2.2/digits/C/one.gif, 874 bytes, 2 테이프 블럭
x ./wwwcount2.2/digits/C/seven.gif, 901 bytes, 2 테이프 블럭
x ./wwwcount2.2/digits/C/six.gif, 955 bytes, 2 테이프 블럭
x ./wwwcount2.2/digits/C/three.gif, 936 bytes, 2 테이프 블럭
x ./wwwcount2.2/digits/C/two.gif, 918 bytes, 2 테이프 블럭
x ./wwwcount2.2/digits/C/zero.gif, 931 bytes, 2 테이프 블럭
x ./wwwcount2.2/digits/E, 0 bytes, 0 tape blocks
x ./wwwcount2.2/digits/E/zero.gif, 46 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/E/one.gif, 45 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/E/two.gif, 46 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/E/three.gif, 45 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/E/four.gif, 46 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/E/five.gif, 46 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/E/six.gif, 45 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/E/seven.gif, 45 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/E/eight.gif, 46 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/E/nine.gif, 46 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/E/colon.gif, 83 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/E/am.gif, 82 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/E/pm.gif, 82 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/E/dash.gif, 80 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/D, 0 bytes, 0 tape blocks
x ./wwwcount2.2/digits/D/eight.gif, 76 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/D/five.gif, 73 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/D/four.gif, 73 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/D/nine.gif, 75 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/D/one.gif, 68 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/D/seven.gif, 71 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/D/six.gif, 75 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/D/three.gif, 74 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/D/two.gif, 74 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/D/zero.gif, 76 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/D/colon.gif, 86 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/D/am.gif, 55 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/D/pm.gif, 53 bytes, 1 테이프 블럭
x ./wwwcount2.2/digits/D/dash.gif, 45 bytes, 1 테이프 블럭
x ./wwwcount2.2/mkdirhier, 912 bytes, 2 테이프 블럭
x ./wwwcount2.2/sample.dat, 2 bytes, 1 테이프 블럭
x ./wwwcount2.2/testcount-sh, 1031 bytes, 3 테이프 블럭
x ./wwwcount2.2/Count-install, 9981 bytes, 20 테이프 블럭
x ./wwwcount2.2/Makefile.in, 1119 bytes, 3 테이프 블럭
x ./wwwcount2.2/configure.in, 886 bytes, 2 테이프 블럭
x ./wwwcount2.2/Count-config, 14657 bytes, 29 테이프 블럭
x ./wwwcount2.2/README, 512 bytes, 1 테이프 블럭
x ./wwwcount2.2/parse.c, 43762 bytes, 86 테이프 블럭
x ./wwwcount2.2/config.log, 127 bytes, 1 테이프 블럭
x ./wwwcount2.2/main.o, 46216 bytes, 91 테이프 블럭
x ./wwwcount2.2/.alfcf, 0 bytes, 0 테이프 블럭
x ./wwwcount2.2/config.h, 2975 bytes, 6 테이프 블럭
x ./wwwcount2.2/Config.tmpl, 365 bytes, 1 테이프 블럭
x ./wwwcount2.2/Makefile, 1339 bytes, 3 테이프 블럭
x ./wwwcount2.2/config.cache, 1609 bytes, 4 테이프 블럭
x ./wwwcount2.2/config.status, 3712 bytes, 8 테이프 블럭
x ./wwwcount2.2/parse.o, 47492 bytes, 93 테이프 블럭
x ./wwwcount2.2/strimage.o, 14612 bytes, 29 테이프 블럭
x ./wwwcount2.2/Count.cgi, 490740 bytes, 959 테이프 블럭
x ./wwwcount2.2/count.conf, 1361 bytes, 3 테이프 블럭
x ./wwwcount2.2/Install.guide, 75 bytes, 1 테이프 블럭
x ./wwwcount2.2/parameter.txt, 13655 bytes, 27 테이프 블럭
root /tmp> 
root /tmp> 
root /tmp> 
root /tmp> cd wwwcount2.2
root /tmp/wwwcount2.2> ls -F
Config.tmpl     Makefile.in     config.status*  install-sh*     rgb.txt
Count-config*   RCS/            configure*      main.c          sample.dat
Count-install*  README          configure.in    main.o          strimage.c
Count.cgi*      combine/        count.conf      mkdirhier*      strimage.o
Gen-conf*       config.cache    count.h         parameter.txt   testcount-sh*
Install.guide   config.h        digits/         parse.c
Makefile        config.log      docs/           parse.o
root /tmp/wwwcount2.2> 
root /tmp/wwwcount2.2> 
root /tmp/wwwcount2.2> 
root /tmp/wwwcount2.2> ./Count-config
    Welcome to the configuration procedure of Count 2.2
    ---------------------------------------------------

    o You must know where your system keeps CGI programs (cgi-bin directory)
      It is necessary to generate the install program.
      This directory must exist. If this directory does not exist, the
      configuration procedure will Abort!

    o You have to decide a directory, where you will keep all counter related
      stuff. This directory will have other directories inside. Default
      values will be supplied, press Return key to accept the default value.
      Accept the default value, it will make your life much easier.

    During installation, the directories will be created for you
    if they do not exist and if you have the permission to do so.
    ++
Continue [y|n]y

    You need to enter the full path of the directory where you system
    keeps the CGI programs. This directory must exist!

*cgi-bin dierctory [/usr/local/etc/httpd/cgi-bin]:

    You need to enter the base directory of the counter related stuff.

*Base directory [/usr/local/etc/Counter]:/usr/local/etc/httpd/Counter

    You need to enter the directory of the configuration file.

* Config directory [/usr/local/etc/httpd/Counter/conf]:

    You need to enter the name of the configuration file.
    This file contains the information about

        o if you want to ignore access from certain hosts
        o host acccess authentication

    You will create this file later by running the program "Gen_conf".

* Name of the configuration file [count.conf]:
              
    You need to enter the directory of the counter data file.
    
*Data directory [/usr/local/etc/httpd/Counter/data]:

    Now you need to decide if you will allow the users to create datafiles
    for them automatically. If you allow, the counter datafile will be
    created for the user if it does not exist and a pre-determined counter
    number will be inserted to it. If you do not allow, you have to create
    the datafile for each user, provided that the data diectory has proper
    write permission.
    
    Allowing users to create datafile is very convenient, as you do not
    have to be asked all the time when someone decides to use the counter.
    But the dark side of this is, anyone will be able create datafiles in
    the data directory. The decision is yours.
    
* Allow automatic data file creation [y|n]y

    Now you need to decide if you want to compile the program in strict
    mode. If you compile the program in strict mode, the browsers which
    do not return the environment variable HTTP_REFERER, will not be
    served, that is no access hit will be recorded, no time or date
    will be displayed. Instead, a string 888888 will be displayed. There
    are many browsers including NCSA Mosaic does not return that variable.

    The strict mode ensures that your counter data file can not be messed
    by accesing the counter remotely from a browser which does not return
    that variable. This strict mode is experimental at this time!

* Compile in strict mode [y|n]n

    You need to enter the directory of the Log file.

*Log directory [/usr/local/etc/httpd/Counter/Log]:

    You need to enter the name of the Log file.
    This file hold the error messages of the counter. It also
    logs if someone tried to access your counter remotely.

* Name of the log file [Count2.2.log]:

    Ok, do you want the users to use the file rgb.txt for color name
    lookup? It is very inefficient to search this file every time the
    web page is loaded. If you answer yes, the color name
    will be looked up and used. If you answer no, the color will be
    looked up but instead of the counter image, the RGB value will
    be displayed and the user will be asked to use the RGB value
    instead. This will prevent users to use this file.

* Allow using the rgb.txt file[y|N]:
* Allow using the rgb.txt file[y|N]:N

You entered:
++++++++++++++++++++++++++++++
CgiBinDir=/usr/local/etc/httpd/cgi-bin
BaseDir= /usr/local/etc/httpd/Counter
DigitDir= /usr/local/etc/httpd/Counter/digits
ConfDir = /usr/local/etc/httpd/Counter/conf
ConfFile= count.conf
DataDir= /usr/local/etc/httpd/Counter/data
LogDir= /usr/local/etc/httpd/Counter/Log
LogFile= Count2.2.log
++++++++++++++++++++++++++++++
Everything looks ok [y|n]y
Great! creating header file config.h
creating variables template file ./Config.tmpl for the install program..
now run ./configure
root /tmp/wwwcount2.2> 
root /tmp/wwwcount2.2> 
root /tmp/wwwcount2.2> 
root /tmp/wwwcount2.2> 
root /tmp/wwwcount2.2> ./configure
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ranlib... (cached) ranlib
checking checking if datafile creation is allowed... yes
checking checking if strict mode is decided... no
checking whether make sets ${MAKE}... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking whether cross-compiling... (cached) no
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for string.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for malloc.h... (cached) yes
checking for sys/file.h... (cached) yes
checking for unistd.h... (cached) yes
checking for working const... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for flock... (cached) no
creating ./config.status
creating combine/Makefile
creating Makefile
root /tmp/wwwcount2.2> 
root /tmp/wwwcount2.2> 
root /tmp/wwwcount2.2> 
root /tmp/wwwcount2.2> 
root /tmp/wwwcount2.2> 
root /tmp/wwwcount2.2> make
(cd combine; make)
rm -f combine.o
gcc -c -g -I. -I.. -DALLOW_FILE_CREATION=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -D__USE_FIXED_PROTOTYPES__ combine.c
rm -f crbasei.o
gcc -c -g -I. -I.. -DALLOW_FILE_CREATION=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -D__USE_FIXED_PROTOTYPES__ crbasei.c
rm -f allocim.o
gcc -c -g -I. -I.. -DALLOW_FILE_CREATION=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -D__USE_FIXED_PROTOTYPES__ allocim.c
rm -f readgif.o
gcc -c -g -I. -I.. -DALLOW_FILE_CREATION=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -D__USE_FIXED_PROTOTYPES__ readgif.c
rm -f rddata.o
gcc -c -g -I. -I.. -DALLOW_FILE_CREATION=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -D__USE_FIXED_PROTOTYPES__ rddata.c
rm -f dstraimg.o
gcc -c -g -I. -I.. -DALLOW_FILE_CREATION=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -D__USE_FIXED_PROTOTYPES__ dstraimg.c
rm -f readblk.o
gcc -c -g -I. -I.. -DALLOW_FILE_CREATION=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -D__USE_FIXED_PROTOTYPES__ readblk.c
rm -f lzwdec.o
gcc -c -g -I. -I.. -DALLOW_FILE_CREATION=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -D__USE_FIXED_PROTOTYPES__ lzwdec.c
rm -f syncimg.o
gcc -c -g -I. -I.. -DALLOW_FILE_CREATION=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -D__USE_FIXED_PROTOTYPES__ syncimg.c
rm -f duplicim.o
gcc -c -g -I. -I.. -DALLOW_FILE_CREATION=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -D__USE_FIXED_PROTOTYPES__ duplicim.c
rm -f writegif.o
gcc -c -g -I. -I.. -DALLOW_FILE_CREATION=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -D__USE_FIXED_PROTOTYPES__ writegif.c
rm -f lsbfwrs.o
gcc -c -g -I. -I.. -DALLOW_FILE_CREATION=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -D__USE_FIXED_PROTOTYPES__ lsbfwrs.c
rm -f lzwenc.o
gcc -c -g -I. -I.. -DALLOW_FILE_CREATION=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -D__USE_FIXED_PROTOTYPES__ lzwenc.c
rm -f uncmpimg.o
gcc -c -g -I. -I.. -DALLOW_FILE_CREATION=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -D__USE_FIXED_PROTOTYPES__ uncmpimg.c
rm -f readim.o
gcc -c -g -I. -I.. -DALLOW_FILE_CREATION=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -D__USE_FIXED_PROTOTYPES__ readim.c
rm -f flatten.o
gcc -c -g -I. -I.. -DALLOW_FILE_CREATION=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -D__USE_FIXED_PROTOTYPES__ flatten.c
rm -f signature.o
gcc -c -g -I. -I.. -DALLOW_FILE_CREATION=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -D__USE_FIXED_PROTOTYPES__ signature.c
rm -f quantize.o
gcc -c -g -I. -I.. -DALLOW_FILE_CREATION=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -D__USE_FIXED_PROTOTYPES__ quantize.c
rm -f compimg.o
gcc -c -g -I. -I.. -DALLOW_FILE_CREATION=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -D__USE_FIXED_PROTOTYPES__ compimg.c
rm -f rgbtran.o
gcc -c -g -I. -I.. -DALLOW_FILE_CREATION=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -D__USE_FIXED_PROTOTYPES__ rgbtran.c
rm -f tranrgb.o
gcc -c -g -I. -I.. -DALLOW_FILE_CREATION=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -D__USE_FIXED_PROTOTYPES__ tranrgb.c
rm -f compcmap.o
gcc -c -g -I. -I.. -DALLOW_FILE_CREATION=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -D__USE_FIXED_PROTOTYPES__ compcmap.c
rm -f frameim.o
gcc -c -g -I. -I.. -DALLOW_FILE_CREATION=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -D__USE_FIXED_PROTOTYPES__ frameim.c
rm -f modulate.o
gcc -c -g -I. -I.. -DALLOW_FILE_CREATION=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -D__USE_FIXED_PROTOTYPES__ modulate.c
rm -f alphaim.o
gcc -c -g -I. -I.. -DALLOW_FILE_CREATION=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -D__USE_FIXED_PROTOTYPES__ alphaim.c
rm -f setpixel.o
gcc -c -g -I. -I.. -DALLOW_FILE_CREATION=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -D__USE_FIXED_PROTOTYPES__ setpixel.c
rm -f getfinfo.o
gcc -c -g -I. -I.. -DALLOW_FILE_CREATION=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -D__USE_FIXED_PROTOTYPES__ getfinfo.c
rm -f imgstr.o
gcc -c -g -I. -I.. -DALLOW_FILE_CREATION=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -D__USE_FIXED_PROTOTYPES__ imgstr.c
rm -f gdfonts.o
gcc -c -g -I. -I.. -DALLOW_FILE_CREATION=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -D__USE_FIXED_PROTOTYPES__ gdfonts.c
rm -f negate.o
gcc -c -g -I. -I.. -DALLOW_FILE_CREATION=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -D__USE_FIXED_PROTOTYPES__ negate.c
rm -f rotate.o
gcc -c -g -I. -I.. -DALLOW_FILE_CREATION=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -D__USE_FIXED_PROTOTYPES__ rotate.c
rm -f libCombine.a
ar cq libCombine.a combine.o crbasei.o allocim.o readgif.o rddata.o dstraimg.o readblk.o lzwdec.o syncimg.o duplicim.o writegif.o lsbfwrs.o lzwenc.o uncmpimg.o readim.o flatten.o signature.o quantize.o compimg.o rgbtran.o tranrgb.o compcmap.o frameim.o modulate.o alphaim.o setpixel.o getfinfo.o imgstr.o gdfonts.o negate.o rotate.o
ranlib libCombine.a
gcc -g -I. -I./combine -DALLOW_FILE_CREATION=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DACCESS_AUTH -D__USE_FIXED_PROTOTYPES__ -c main.c
gcc -g -I. -I./combine -DALLOW_FILE_CREATION=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DACCESS_AUTH -D__USE_FIXED_PROTOTYPES__ -c parse.c
gcc -g -I. -I./combine -DALLOW_FILE_CREATION=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DACCESS_AUTH -D__USE_FIXED_PROTOTYPES__ -c strimage.c
gcc -g -I. -I./combine -DALLOW_FILE_CREATION=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DACCESS_AUTH -D__USE_FIXED_PROTOTYPES__ -o Count.cgi main.o parse.o strimage.o ./combine/libCombine.a
root /tmp/wwwcount2.2> 
root /tmp/wwwcount2.2> 
root /tmp/wwwcount2.2> 
root /tmp/wwwcount2.2> 
root /tmp/wwwcount2.2> ./Gen-conf
    Welcome to the conf file generation procedure of Count 2.2

    Note: The counter program does not handle sub-masking, nor does this
    script. It creates a workable conf file for your host only, you have
    to edit it by hand if you want to add other hosts. The file will have
    enough comments in it to help you out. You also have to hand edit it
    for wildcard ignoring.

    First of all you must know your 
        1) fully qualified domain name (FQDN), for example,
            if your hostname is foo and your domain name is foobar.com,
            then your FQDN is
            foo.foobar.com

        2) IP address of your host, for example, 
            192.165.155.2 

        3) If your host has any nickname defined, for example,
            www.foobar.com. 

        4) If you want to ignore access hits from your own host.

Continue [y|n]y
        
    No Error checking will be done with your hostname, therfore,
    you better make sure you are entering the fully qualifed domain name.
          
* Enter your fully qualified domain name [no default]:atom.svc.hei.co.kr

    No Error checking will be done with your IP address, therfore,
    you better make sure you are entering the correct IP address.

* Enter your IP address [no default]:203.240.159.37

* Does your host have any nickname [y|Y]:n
* Do you want to ignore access hits from your own host [y|n]y

    Created conf file "count.conf"
    Please look at it, you might want to edit it!

root /tmp/wwwcount2.2> 
root /tmp/wwwcount2.2> 
root /tmp/wwwcount2.2> 
root /tmp/wwwcount2.2> 
root /tmp/wwwcount2.2> 
root /tmp/wwwcount2.2> ./Count-install
    
    *** You are installing Counter as root ***


===================
Your configuration:

cgi-bin directory= /usr/local/etc/httpd/cgi-bin
conf directory= /usr/local/etc/httpd/Counter/conf
conf file= count.conf
digit direcoty=/usr/local/etc/httpd/Counter/digits
data directory=/usr/local/etc/httpd/Counter/data
log directory=/usr/local/etc/httpd/Counter/Log
log file=Count2.2.log
rgb file= rgb.txt
===================

Continue [y|n]y
proceeding...
    
    Now if you know what user and group id child processes of http
    server use, I can change the ownership and access permission
    accordigly. If you do not know, they are usually defined in the
    file httpd.conf with User and Group. I suggest create a unique
    user and group say httpd and set the User and Group to httpd.

*Do you know the user and group id of httpd' child process[y|Y]:y
*Enter user id of httpd's child process [no default]:nobody
*Enter group id of httpd's child process [no default]:nobody
installing Count.cgi->/usr/local/etc/httpd/cgi-bin
installing count.conf->/usr/local/etc/httpd/Counter/conf
installing sample datafile sample.dat->/usr/local/etc/httpd/Counter/data
installing rgb.txt->/usr/local/etc/httpd/Counter
creating Log directory /usr/local/etc/httpd/Counter/Log
installing digit style A->/usr/local/etc/httpd/Counter/digits/A
installing digit style B->/usr/local/etc/httpd/Counter/digits/B
installing digit style C->/usr/local/etc/httpd/Counter/digits/C
installing digit style D->/usr/local/etc/httpd/Counter/digits/D
installing digit style E->/usr/local/etc/httpd/Counter/digits/E
UserId=nobody
GroupId=nobody
root /tmp/wwwcount2.2> 
root /tmp/wwwcount2.2> 
root /tmp/wwwcount2.2> 

※ 예제