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

Re: mrtg ze zrodel - brak biblioteki GD ?



Witajcie

Na wstepie chcialbym podziekowac  Krzysztofowi Krzyzaniakowi za niezwykle
szybka odpowiedz :) (5 min :) )) 

Ale do rzeczy:
> > (pakiet ten sciagnalem - ale chce make install z roota :( a ja juz mam
> > chyba paczke GD.
> 
> Ale nie masz plików nag³ówkowych i wersji bibliotek do kompilowania.  Czyli
> brakuje pakietu libgd-dev.

tez tak myslalem ale spojrz:

[root@host ~]# apt-get install libgd-dev
Reading Package Lists... Done
Building Dependency Tree... Done
Package libgd-dev is a virtual package provided by:
  libgd1g-dev 1.7.3-0.1
  libgd-gif1-dev 1.3-2
You should explicitly select one to install.
E: Package libgd-dev has no installation candidate

oki wole png (gifow nie chce z uwagi na restrykcje licencyjne) czyli :

[root@host ~]# apt-get install libgd1g-dev
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  libgd1g-dev
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/80.7kB of archives. After unpacking 426kB will be used.
Selecting previously deselected package libgd1g-dev.
(Reading database ... 12665 files and directories currently installed.)
Unpacking libgd1g-dev (from .../libgd1g-dev_1.7.3-0.1_i386.deb) ...
Setting up libgd1g-dev (1.7.3-0.1) ...

hmm ok ? nie bo :

..............
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.

czyli nadal to samo :(


> Poza tym chyba lepiej zainstalowaæ mrtg z paczek.

Hmm zadam chyba lamerskie pytanie : a dlaczego ? (jzeeli pojawi sie dziura
to update pomoze ? Pewnie tak  - nie wiem dlaczego zale jakos bardziej
wole zrodla. Tak jakos ;)

Pozdrawiam,
Marcin.



Reply to: