[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

mrtg ze zrodel - brak biblioteki GD ?



Witajcie.

Mam problem z MRTG :(
Z gory przepraszam tych ktorzy na modemie - troche tu tekstu :( ale
inaczej sie chyba nie dalo.

Do tej pory instalowalem mrtg z paczki ale wolalbym to ze zrodel.

marcin@host:/usr/src/mrtg/mrtg-2.8.12$ ./configure
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 perl... /usr/bin/perl
checking for acos in -lm... yes
checking for gdImageGif in -lgd... no
checking for gdImagePng in -lgd... 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.

(pakiet ten sciagnalem - ale chce make install z roota :( a ja juz mam
chyba paczke GD.
i jak zainstaluje to rozumiem ze moze byc konflikt . zatem wycofalem sie)
=======================================================
marcin@host:/usr/src/mrtg/mrtg-2.8.12$ dpkg -l | grep gd
ii  gdb            4.18.19990928- The GNU Debugger
ii  libgd1g        1.7.3-0.1      GD Graphics Library
ii  libgdbmg1      1.7.3-26.2     GNU dbm database routines (runtime
version).

freetype2 libgd1g libpng2 zlib1g  - rowniez sa zainstalowane.
=======================================================

Co ciekawe- instalujac z paczki brakuje tylko  libsnmp-session-perl
czyli jakby to powiedzial Kiepski "jest niepotrzebny ten potrzebny" ;)
- to czego ja nie chce - snmp :( nie chce by to wogole obslugiwal - i
niech nie istaluje 
niepotrzebnych bibliotek - zwlaszcza snmp.

[root@host /lib]# apt-get install mrtg
(...)
The following NEW packages will be installed:
  libsnmp-session-perl mrtg


Prosze o pomoc jezeli ktos wie co trzeba podac w linii do configure lub co
nalezy doinstalowac
(prosze nie odpowiadajcie w stylu www.google.com -> tam juz szukalem.
http://people.ee.ethz.ch/~oetiker/webtools/mrtg/unix-guide.html -> tez juz
przeczytalem -> jednak 
o ile dobrze rozumiem tutaj chca instalowac biblioteki ktore juz mam.

Thx :)
Marcin.

Ps. Dzikuje za cierpliwosc - bo ja juz ja stracilem - pewnie robie jakas
glupawke i nie moge sobie poradzic :( Bo sprawa jest raczej bardzo prosta.



Reply to: