Web Hosting Talk







View Full Version : Installing webalizer


Surfboard
01-07-2003, 05:09 PM
I'm trying to install this soft on my dedicated server

Now i got an error "configure: error: png library not found... please install png."

I searched on PNG Library site's but couldn't find much. I mean, I found a lot of information in what relates to for what it is, etc etc .. but can't find information on how to install it. Where to grab it, etc.

If someone could give me a hande please ....

Thanks

Xanie
01-07-2003, 05:15 PM
If your running FreeBSD with Ports you can do the following

cd /usr/ports/graphics/png | make | make install | make clean

If not, you can go to the following to get information

http://www.libpng.org/pub/png/libpng.html

Surfboard
01-07-2003, 05:24 PM
Thanks a lot.

Seem's that is installed correctly. I'm gonna try now the webalizer. Hope that it works.

Surfboard
01-07-2003, 10:55 PM
When I run ./configure for the webalizer (With the options of course)

It gives me this :

loading cache ./config.cache
checking for gcc... 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... yes
checking whether gcc accepts -g... yes
checking whether ln -s works... yes
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -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... no
configure: error: png library not found... please install png.

Note the "configure: error: png library not found... please install png."

With the previous thing that Xanie told me, Didn't the PNG Library got installed ?

cortices
01-07-2003, 11:11 PM
You might want to try running the command 'ldconfig'...then try rerunning the configure script.

Typically, the makefile for the lib will do this automatically but I've had it not happen several times. Basically, the command updates the cache for the run-time linker.

If that doesn't work. Make sure that the directory in which libpng is installed, is listed in the /etc/ld.so.conf file. If not, add it, then rerun 'ldconfig', then rerun the configure script.

Surfboard
01-08-2003, 12:29 AM
Thanks.

Running perfectly now :)