Здравейте, опитах се на инсталирам MRTG na slackware 8.1 ,
но се натъкнах на следния проблем:
root@localhost:/usr/local/src# ./cfgmaker --global
'WorkDir: /var/www/htdocs/m
rtg' --global 'Options[_]: bits,growright' --outout
/usr/src/mrtg/mrtg.cf
g
bash: ./cfgmaker: No such file or directory
root@localhost:/usr/local/src# cd mrtg-2.9.17
root@localhost:/usr/local/src/mrtg-2.9.17# ./configure
--prefix=/usr/local/mrtg
-2
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 how to run the C preprocessor... gcc -E
checking whether make sets ${MAKE}... yes
checking for a BSD compatible install... /usr/bin/ginstall
-c
checking for perl... /usr/bin/perl
checking for groff... /usr/bin/groff
checking for sqrt in -lm... yes
checking for acos in -lm... yes
checking for gdImageGif in -lgd... no
checking for gdImagePng in -lgd... no
checking for gdImagePng_jpg in -lgd... no
checking for gdImagePng_jpg_ft in -lgd... no
checking for gd.h... no
** The GD library is required for rateup to compile.
Get it from http://www.boutell.com, compile it and
use either --with-gd-lib=DIR and --with-gd-inc=DIR to
specify
its location. You might also have to use --with-z-inc,
--with-z-lib
and --with-png-inc, --with-png-lib for gd versions 1.6
and higher.
Check config.log for more information on the problem. If
your system
has libgd installed, you probably mis the gd.h header
file.
Consider following the instructions in
doc/unix-guide.txt
как да оправя тези липсващи хедър-файлове?
Димитър
|