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

problems compiling latest version.

Expand Messages
  • Andrew
    Hi - I have searched google for solutions to this one - but no luck... any ideas? [root@alpha webalizer-2.01-10]# ./configure loading cache ./config.cache
    Message 1 of 1 , Jul 19, 2002
    • 0 Attachment
      Hi - I have searched google for solutions to this one - but no luck...
      any ideas?

      [root@alpha webalizer-2.01-10]# ./configure
      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) no
      checking for libgd.a... (cached) /usr/lib
      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@alpha webalizer-2.01-10]# make
      gcc -L/usr/lib -o webalizer webalizer.o hashtab.o linklist.o preserve.o
      parser.o output.o dns_resolv.o graphs.o -lgd -lpng -lz -lm
      graphs.o: In function `year_graph6x':
      graphs.o(.text+0xef9): undefined reference to `gdImagePng'
      graphs.o: In function `month_graph6':
      graphs.o(.text+0x1e1a): undefined reference to `gdImagePng'
      graphs.o: In function `day_graph3':
      graphs.o(.text+0x254a): undefined reference to `gdImagePng'
      graphs.o: In function `pie_chart':
      graphs.o(.text+0x2b80): undefined reference to `gdImagePng'
      collect2: ld returned 1 exit status
      make: *** [webalizer] Error 1

      [root@alpha webalizer-2.01-10]# rpm -q gd
      gd-1.7.3-1
      gd-2.0.1-5


      Cheers,
      Andrew
    Your message has been successfully submitted and would be delivered to recipients shortly.