Subject: Re: webalizer compiling problem
To: None <thiesi@NetWorkXXIII.Sytes.NET>
From: Adam Ciarcinski <adam@albedo.art.pl>
List: tech-pkg
Date: 02/04/2004 16:58:17
Hi,

Could you, please, try with gd-2.0.22?
Thanks :)

- Adam



> Hi there,
>
> while trying to "make update" webalizer I get the following error message
> at configure stage:
>
> (09:59:21) root@ReLink [/usr/pkgsrc/www/webalizer] # make update
> pkg_info: No matching pkg for webalizer-[0-9]*.
> ===> Checking for vulnerabilities in webalizer-2.1.10nb1
> => Checksum OK for webalizer-2.01-10-src.tar.bz2.
> ===> Extracting for webalizer-2.1.10nb1
> ===> Required installed package gd>=2.0.15: gd-2.0.21 found
> ===> Required installed package pth>=2.0.0: pth-2.0.0 found
> ===> Required installed package jpeg>=6b: jpeg-6bnb1 found
> ===> Required installed package png>=1.2.4: png-1.2.5nb2 found
> ===> Required installed package x11-links>=0.20: x11-links-0.20 found
> ===> Patching for webalizer-2.1.10nb1
> ===> Applying pkgsrc patches for webalizer-2.1.10nb1
> ===> Overriding tools for webalizer-2.1.10nb1
> ===> Buildlinking for webalizer-2.1.10nb1
> ===> Configuring for webalizer-2.1.10nb1
> creating cache ./config.cache
> checking for gcc... cc
> checking whether the C compiler (cc -O2 -I/usr/pkg/include
> -I/usr/X11R6/include  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R6/lib
> -Wl,-R/usr/X11R6/lib) works... yes
> checking whether the C compiler (cc -O2 -I/usr/pkg/include
> -I/usr/X11R6/include  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R6/lib
> -Wl,-R/usr/X11R6/lib) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether cc accepts -g... yes
> checking whether ln -s works... yes
> checking for a BSD compatible install... /usr/bin/install -c -o root -g
> wheel
> checking how to run the C preprocessor... cc -E
> checking whether char is unsigned... no
> checking for dbopen... yes
> checking for db_185.h... no
> checking for errno.h... yes
> checking for socket... yes
> checking for sys/socket.h... yes
> checking for main in -lnsl... no
> checking for main in -l44bsd... no
> checking for main in -lm... yes
> checking for main in -lz... yes
> checking for gzrewind in -lz... yes
> checking for main in -lpng... yes
> checking for gdImagePng in -lgd... no
> checking for libgd.a... no
> checking for libgd.so... (cached) no
> configure: error: gd library not found... please install gd.
> *** Error code 1
>
> Stop.
> make: stopped in /usr/pkgsrc/www/webalizer
> *** Error code 1
>
> Stop.
> make: stopped in /usr/pkgsrc/www/webalizer
> *** Error code 1
>
> Stop.
> make: stopped in /usr/pkgsrc/www/webalizer
> (09:59:51) root@ReLink [/usr/pkgsrc/www/webalizer] # pkg_info -a | grep
> gd-2
> gd-2.0.21           Graphics library for the dynamic creation of images
> (10:00:12) root@ReLink [/usr/pkgsrc/www/webalizer] #
>
> I verified that gd is installed correctly -- the libs are in place. Any
> ideas?
>
> Bye, K&K,
> T-Zee
> --
> thiesi@NetWork23.Sytes.NET ---- NetBSD: Power to the people!
> Tel.: ++49-(0)171-416 05 09 -- Fax: ++49-(0)171-134 16 05 09
> Mirko Thiesen, P.O. Box 26 03 54, D-13413 Berlin, W. Germany
>              "We're with you all the way, mostly"
>