Привет всем
проблема такая:
хочу поставить MRTG (на fBSD 4.7)
делаю все как написано здесь
http://people.ee.ethz.ch/~oetiker/webtools/mrtg/unix-guide.html
gd, zlib, libpng поставил
после етого,
cd /usr/local/src/mrtg
./configure --prefix=/usr/local/mrtg --with-gd=/usr/local/src/gd --with-z=/usr/local/src/zlib --with-png=/usr/local/src/libpng
но видает такую ошибку
** Ooops, one of many bad things happened:
a) You don't have the GD library installed.
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.
b) You have the GD library installed, but not the gd.h
header file. Download the source (see above) and use
--with-gd-inc=DIR to specify where the file can be found.
c) You have the library and the header file installed, but
you also have a shared GD library in the same directory.
Remove the shared library files and/or links (e.g.
libgd.so.2.0.0, libgd.so and libgd.so.2). This is especially
likely if you're using a recent (post 1.8.4) version of GD
and didn't configure it with --disable-shared.
Consider following the instructions in doc/unix-guide.txt
пробовал и так
./configure --prefix=/usr/local/mrtg --with-gd-lib=/usr/local/src/gd --with-gd-inc=/usr/local/src/gd/ --with-z-lib=/usr/local/src/zlib --with-z-inc=/usr/local/src/zlib --with-png-lib=/usr/local/src/libpng --with-png-inc=/usr/local/src/libpng
не помогает
всеравно то же ошибка
что делать ?
проблема такая:
хочу поставить MRTG (на fBSD 4.7)
делаю все как написано здесь
http://people.ee.ethz.ch/~oetiker/webtools/mrtg/unix-guide.html
gd, zlib, libpng поставил
после етого,
cd /usr/local/src/mrtg
./configure --prefix=/usr/local/mrtg --with-gd=/usr/local/src/gd --with-z=/usr/local/src/zlib --with-png=/usr/local/src/libpng
но видает такую ошибку
** Ooops, one of many bad things happened:
a) You don't have the GD library installed.
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.
b) You have the GD library installed, but not the gd.h
header file. Download the source (see above) and use
--with-gd-inc=DIR to specify where the file can be found.
c) You have the library and the header file installed, but
you also have a shared GD library in the same directory.
Remove the shared library files and/or links (e.g.
libgd.so.2.0.0, libgd.so and libgd.so.2). This is especially
likely if you're using a recent (post 1.8.4) version of GD
and didn't configure it with --disable-shared.
Consider following the instructions in doc/unix-guide.txt
пробовал и так
./configure --prefix=/usr/local/mrtg --with-gd-lib=/usr/local/src/gd --with-gd-inc=/usr/local/src/gd/ --with-z-lib=/usr/local/src/zlib --with-z-inc=/usr/local/src/zlib --with-png-lib=/usr/local/src/libpng --with-png-inc=/usr/local/src/libpng
не помогает
всеравно то же ошибка
что делать ?