Loading ...
Sorry, an error occurred while loading the content.

Re: Re: [webalizer] webalizer make errer!

Expand Messages
  • icelandbjork
    Thank you ! Although It could successfully executed,there are also some mistakes: -rw-r--r-- 1 root root 2.3K Oct 30 09:14 ctry_usage_200510.png -rw-r--r-- 1
    Message 1 of 2 , Oct 29, 2005
    • 0 Attachment

      Thank you !
      Although It could successfully executed,there are also some mistakes:
      -rw-r--r--  1 root root 2.3K Oct 30 09:14 ctry_usage_200510.png
      -rw-r--r--  1 root root 4.1K Oct 30 09:14 daily_usage_200510.png
      -rw-r--r--  1 root root 2.3K Oct 30 09:14 hourly_usage_200510.png
      -rw-r--r--  1 root root  34M Oct 30 09:14 url_200510.html
      -rw-r--r--  1 root root 110K Oct 30 09:14 usage_200510.html
      -rw-r--r--  1 root root  287 Oct 29 13:40 for_total_200510
      -rw-r--r--  1 root root 1.3K Oct 29 13:40 for_total_new_200510
      -rw-r--r--  1 root root  827 Oct 29 13:40 hour_stat_200510
      -rw-r--r--  1 root root  588 Oct 29 13:40 top_ref_200510
      -rw-r--r--  1 root root  612 Oct 29 13:40 top_site_200510
      -rw-r--r--  1 root root 1.1K Oct 29 13:40 top_url_200510

      The blue lines have no changes,because the "output.c" have not successfully compiled.


      > These are only informative warnings from the compiler. Your program has
      > been compiled successfully. You can execute it by doing this in the
      > program directory:
      >
      > ./webalizer
      >
      >
      >
      > --- icelandbjork <icelandbjork@...> wrote:
      >
      > > when I type "make",there are lots of errers :
      > >
      > _____________________________________________________________________________
      > > [root@localhost webalizer-2.01-10]# ./configure
      > > --prefix=/home/webalizer
      > > loading cache ./config.cache
      > > checking for gcc... (cached) gcc
      > > checking whether the C compiler (gcc  ) works... yes
      > > checking whether the C compiler (gcc  ) is a cross-compiler... no
      > > checking whether we are using GNU C... (cached) yes
      > > checking whether gcc accepts -g... (cached) yes
      > > checking whether ln -s works... (cached) yes
      > > checking for a BSD compatible install... (cached) /usr/bin/install -c
      > > checking how to run the C preprocessor... (cached) gcc -E
      > > checking whether char is unsigned... (cached) no
      > > checking for main in -l44bsd... (cached) no
      > > checking for main in -lm... (cached) yes
      > > checking for main in -lz... (cached) yes
      > > checking for gzrewind in -lz... (cached) yes
      > > checking for main in -lpng... (cached) yes
      > > checking for gdImagePng in -lgd... (cached) yes
      > > checking for gd.h... (cached) /usr/include
      > > checking for getopt.h... (cached) yes
      > > checking for math.h... (cached) yes
      > > checking default config dir... (cached) /etc
      > > checking for language file... (cached) yes - english
      > > creating ./config.status
      > > creating Makefile
      > > linking ./lang/webalizer_lang.english to webalizer_lang.h
      > > [root@localhost webalizer-2.01-10]# make
      > > gcc -Wall -O2 -DETCDIR=\"/etc\"  -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 
      > > -c webalizer.c
      > > gcc -Wall -O2 -DETCDIR=\"/etc\"  -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 
      > > -c hashtab.c
      > > hashtab.c: In function `new_hnode':
      > > hashtab.c:129: warning: int format, different type arg (arg 4)
      > > hashtab.c: In function `new_unode':
      > > hashtab.c:319: warning: int format, different type arg (arg 4)
      > > hashtab.c: In function `new_rnode':
      > > hashtab.c:446: warning: int format, different type arg (arg 4)
      > > hashtab.c: In function `new_anode':
      > > hashtab.c:565: warning: int format, different type arg (arg 4)
      > > hashtab.c: In function `new_snode':
      > > hashtab.c:681: warning: int format, different type arg (arg 4)
      > > hashtab.c: In function `new_inode':
      > > hashtab.c:786: warning: int format, different type arg (arg 4)
      > > gcc -Wall -O2 -DETCDIR=\"/etc\"  -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 
      > > -c linklist.c
      > > gcc -Wall -O2 -DETCDIR=\"/etc\"  -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 
      > > -c preserve.c
      > > gcc -Wall -O2 -DETCDIR=\"/etc\"  -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 
      > > -c dns_resolv.c
      > > gcc -Wall -O2 -DETCDIR=\"/etc\"  -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 
      > > -c parser.c
      > > gcc -Wall -O2 -DETCDIR=\"/etc\"  -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 
      > > -c output.c
      > > output.c: In function `top_sites_table':
      > > output.c:830: warning: cast to pointer from integer of different size
      > > output.c:830: warning: cast from pointer to integer of different size
      > > output.c: In function `top_urls_table':
      > > output.c:1016: warning: cast to pointer from integer of different
      > > size
      > > output.c:1016: warning: cast from pointer to integer of different
      > > size
      > > output.c: In function `top_entry_table':
      > > output.c:1217: warning: cast to pointer from integer of different
      > > size
      > > output.c:1217: warning: cast from pointer to integer of different
      > > size
      > > output.c: In function `top_refs_table':
      > > output.c:1321: warning: cast to pointer from integer of different
      > > size
      > > output.c:1321: warning: cast from pointer to integer of different
      > > size
      > > output.c: In function `top_agents_table':
      > > output.c:1483: warning: cast to pointer from integer of different
      > > size
      > > output.c:1483: warning: cast from pointer to integer of different
      > > size
      > > output.c: In function `top_users_table':
      > > output.c:1746: warning: cast to pointer from integer of different
      > > size
      > > output.c:1746: warning: cast from pointer to integer of different
      > > size
      > > gcc -Wall -O2 -DETCDIR=\"/etc\"  -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 
      > > -I/usr/include -c graphs.c
      > > gcc  -o webalizer webalizer.o hashtab.o linklist.o preserve.o
      > > parser.o output.o dns_resolv.o graphs.o -lgd -lpng -lz -lm
      > > rm -f webazolver
      > > ln -s webalizer webazolver
      > >
      > _____________________________________________________________________________________
      > >
      > > please help me !
      > >
      > > My system is linux AS4
      > > [root@localhost webalizer-2.01-10]# uname -a
      > > Linux localhost.localdomain 2.6.9-11.ELsmp #1 SMP Fri May 20 18:25:30
      > > EDT 2005 x86_64 x86_64 x86_64 GNU/Linux
      >
      >
      > Enric Naval
      > Estudiante de Inform�tica de Gesti�n en la Udl (Lleida)
      > GRIHO webalizer.conf
      > http://griho.udl.es/webalizer/webalizer.conf.txt
      >
      >
      >   
      > __________________________________
      > Yahoo! FareChase: Search multiple travel sites in one click.
      > http://farechase.yahoo.com
      >
      >
      > ------------------------ Yahoo! Groups Sponsor --------------------~-->
      > Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
      > http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/NhFolB/TM
      > --------------------------------------------------------------------~->
      >
      > Webalizer homepage: http://www.webalizer.org

      > Yahoo! Groups Links
      >
      > <*> To visit your group on the web, go to:
      >     http://groups.yahoo.com/group/webalizer/
      >
      > <*> To unsubscribe from this group, send an email to:
      >     webalizer-unsubscribe@yahoogroups.com
      >
      > <*> Your use of Yahoo! Groups is subject to:
      >     http://docs.yahoo.com/info/terms/

      >
      >
      >








      想 要 一 个 快 n 倍 的 免 费 邮 箱 吗 ?
      126 专 业 电 子 邮 局 ―― 全 球 领 先 的 中 文 邮 箱 服 商 带 你 进 入 极 速 之 旅
    • Enric Naval
      No, the output of the compiler says that output.c has compiled successfully. Those files have not changed because in webalizer.conf you haven t told webalizer
      Message 2 of 2 , Oct 29, 2005
      • 0 Attachment
        No, the output of the compiler says that output.c has compiled
        successfully. Those files have not changed because in webalizer.conf
        you haven't told webalizer to create them. For example, it didn't
        create top_url because it is using a webalizer.conf that has the TopURL
        list disabled.

        If you haven't still configured webalizer, then it's normal. If you had
        used webalizer before, then check that you are using the correct
        webalizer.conf. Use the -c switch, for example:

        webalizer -c /myhome/mywebalizer.conf


        If you execute ./webalizer with no command line options, then it will
        start searching for the webalizer.conf file. Please check the FAQ in
        www.webalizer.org to see where webalizer is searching for the file. You
        are probably using the webalizer.conf file in the program directory,
        instead of the correct file.


        --- icelandbjork <icelandbjork@...> wrote:

        > Thank you !
        > Although It could successfully executed,there are also some mistakes:
        > -rw-r--r-- 1 root root 2.3K Oct 30 09:14 ctry_usage_200510.png
        > -rw-r--r-- 1 root root 4.1K Oct 30 09:14 daily_usage_200510.png
        > -rw-r--r-- 1 root root 2.3K Oct 30 09:14 hourly_usage_200510.png
        > -rw-r--r-- 1 root root 34M Oct 30 09:14 url_200510.html
        > -rw-r--r-- 1 root root 110K Oct 30 09:14 usage_200510.html
        > -rw-r--r-- 1 root root 287 Oct 29 13:40 for_total_200510
        > -rw-r--r-- 1 root root 1.3K Oct 29 13:40 for_total_new_200510
        > -rw-r--r-- 1 root root 827 Oct 29 13:40 hour_stat_200510
        > -rw-r--r-- 1 root root 588 Oct 29 13:40 top_ref_200510
        > -rw-r--r-- 1 root root 612 Oct 29 13:40 top_site_200510
        > -rw-r--r-- 1 root root 1.1K Oct 29 13:40 top_url_200510
        > The blue lines have no changes,because the "output.c" have not
        > successfully compiled.
        >
        >
        > > These are only informative warnings from the compiler. Your program
        > has
        > > been compiled successfully. You can execute it by doing this in the
        > > program directory:
        > >
        > > ./webalizer
        > >
        > >
        > >
        > > --- icelandbjork <icelandbjork@...> wrote:
        > >
        > > > when I type "make",there are lots of errers :
        > > >
        > >
        >
        _____________________________________________________________________________
        > > > [root@localhost webalizer-2.01-10]# ./configure
        > > > --prefix=/home/webalizer
        > > > loading cache ./config.cache
        > > > checking for gcc... (cached) gcc
        > > > checking whether the C compiler (gcc ) works... yes
        > > > checking whether the C compiler (gcc ) is a cross-compiler... no
        > > > checking whether we are using GNU C... (cached) yes
        > > > checking whether gcc accepts -g... (cached) yes
        > > > checking whether ln -s works... (cached) yes
        > > > checking for a BSD compatible install... (cached)
        > /usr/bin/install -c
        > > > checking how to run the C preprocessor... (cached) gcc -E
        > > > checking whether char is unsigned... (cached) no
        > > > checking for main in -l44bsd... (cached) no
        > > > checking for main in -lm... (cached) yes
        > > > checking for main in -lz... (cached) yes
        > > > checking for gzrewind in -lz... (cached) yes
        > > > checking for main in -lpng... (cached) yes
        > > > checking for gdImagePng in -lgd... (cached) yes
        > > > checking for gd.h... (cached) /usr/include
        > > > checking for getopt.h... (cached) yes
        > > > checking for math.h... (cached) yes
        > > > checking default config dir... (cached) /etc
        > > > checking for language file... (cached) yes - english
        > > > creating ./config.status
        > > > creating Makefile
        > > > linking ./lang/webalizer_lang.english to webalizer_lang.h
        > > > [root@localhost webalizer-2.01-10]# make
        > > > gcc -Wall -O2 -DETCDIR=\"/etc\" -DHAVE_GETOPT_H=1
        > -DHAVE_MATH_H=1
        > > > -c webalizer.c
        > > > gcc -Wall -O2 -DETCDIR=\"/etc\" -DHAVE_GETOPT_H=1
        > -DHAVE_MATH_H=1
        > > > -c hashtab.c
        > > > hashtab.c: In function `new_hnode':
        > > > hashtab.c:129: warning: int format, different type arg (arg 4)
        > > > hashtab.c: In function `new_unode':
        > > > hashtab.c:319: warning: int format, different type arg (arg 4)
        > > > hashtab.c: In function `new_rnode':
        > > > hashtab.c:446: warning: int format, different type arg (arg 4)
        > > > hashtab.c: In function `new_anode':
        > > > hashtab.c:565: warning: int format, different type arg (arg 4)
        > > > hashtab.c: In function `new_snode':
        > > > hashtab.c:681: warning: int format, different type arg (arg 4)
        > > > hashtab.c: In function `new_inode':
        > > > hashtab.c:786: warning: int format, different type arg (arg 4)
        > > > gcc -Wall -O2 -DETCDIR=\"/etc\" -DHAVE_GETOPT_H=1
        > -DHAVE_MATH_H=1
        > > > -c linklist.c
        > > > gcc -Wall -O2 -DETCDIR=\"/etc\" -DHAVE_GETOPT_H=1
        > -DHAVE_MATH_H=1
        > > > -c preserve.c
        > > > gcc -Wall -O2 -DETCDIR=\"/etc\" -DHAVE_GETOPT_H=1
        > -DHAVE_MATH_H=1
        > > > -c dns_resolv.c
        > > > gcc -Wall -O2 -DETCDIR=\"/etc\" -DHAVE_GETOPT_H=1
        > -DHAVE_MATH_H=1
        > > > -c parser.c
        > > > gcc -Wall -O2 -DETCDIR=\"/etc\" -DHAVE_GETOPT_H=1
        > -DHAVE_MATH_H=1
        > > > -c output.c
        > > > output.c: In function `top_sites_table':
        > > > output.c:830: warning: cast to pointer from integer of different
        > size
        > > > output.c:830: warning: cast from pointer to integer of different
        > size
        > > > output.c: In function `top_urls_table':
        > > > output.c:1016: warning: cast to pointer from integer of different
        > > > size
        > > > output.c:1016: warning: cast from pointer to integer of different
        > > > size
        > > > output.c: In function `top_entry_table':
        > > > output.c:1217: warning: cast to pointer from integer of different
        > > > size
        > > > output.c:1217: warning: cast from pointer to integer of different
        > > > size
        > > > output.c: In function `top_refs_table':
        > > > output.c:1321: warning: cast to pointer from integer of different
        > > > size
        > > > output.c:1321: warning: cast from pointer to integer of different
        > > > size
        > > > output.c: In function `top_agents_table':
        > > > output.c:1483: warning: cast to pointer from integer of different
        > > > size
        > > > output.c:1483: warning: cast from pointer to integer of different
        > > > size
        > > > output.c: In function `top_users_table':
        > > > output.c:1746: warning: cast to pointer from integer of different
        > > > size
        > > > output.c:1746: warning: cast from pointer to integer of different
        > > > size
        > > > gcc -Wall -O2 -DETCDIR=\"/etc\" -DHAVE_GETOPT_H=1
        > -DHAVE_MATH_H=1
        > > > -I/usr/include -c graphs.c
        > > > gcc -o webalizer webalizer.o hashtab.o linklist.o preserve.o
        > > > parser.o output.o dns_resolv.o graphs.o -lgd -lpng -lz -lm
        > > > rm -f webazolver
        > > > ln -s webalizer webazolver
        > > >
        > >
        >
        _____________________________________________________________________________________
        > > >
        > > > please help me !
        > > >
        > > > My system is linux AS4
        > > > [root@localhost webalizer-2.01-10]# uname -a
        > > > Linux localhost.localdomain 2.6.9-11.ELsmp #1 SMP Fri May 20
        > 18:25:30
        > > > EDT 2005 x86_64 x86_64 x86_64 GNU/Linux
        > >
        > >
        > > Enric Naval
        > > Estudiante de Informática de Gestión en la Udl (Lleida)
        > > GRIHO webalizer.conf
        > > http://griho.udl.es/webalizer/webalizer.conf.txt
        > >
        > >
        > >
        > > __________________________________
        > > Yahoo! FareChase: Search multiple travel sites in one click.
        > > http://farechase.yahoo.com
        > >
        > >
        > > ------------------------ Yahoo! Groups Sponsor
        > --------------------~-->
        > > Get Bzzzy! (real tools to help you find a job). Welcome to the
        > Sweet Life.
        > > http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/NhFolB/TM
        > >
        >
        --------------------------------------------------------------------~->
        >
        > >
        > > Webalizer homepage: http://www.webalizer.org
        > >
        > > Yahoo! Groups Links
        > >
        > >
        > >
        > >
        > >
        > >
        > >


        Enric Naval
        Estudiante de Informática de Gestión en la Udl (Lleida)
        GRIHO webalizer.conf
        http://griho.udl.es/webalizer/webalizer.conf.txt




        __________________________________
        Yahoo! Mail - PC Magazine Editors' Choice 2005
        http://mail.yahoo.com
      Your message has been successfully submitted and would be delivered to recipients shortly.