[CentOS5] Cacti probleem

Pagina: 1
Acties:

  • Mattie112
  • Registratie: Januari 2007
  • Laatst online: 27-01 14:48
Hallo mensen.

Met behulp van http://www.cacti.net/down...ib/Cacti-Linux-How-To.pdf probeer ik cacti te instaleren op mijn server. Bij het instaleren van rrdtool gaat het echter mis:

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Findr 3rd-Party Libraries
checking for art_vpath_add_point in -lart_lgpl_2... no
checking for pkg-config... no
configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of libart-2.0. Check config.log for hints on why
  this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
  so that compiler and the linker can find libart_lgpl_2 and its header files. If
  you have not installed libart-2.0, you can get it either from its original home on

     ftp://ftp.gnome.org/pub/GNOME/sources/libart_lgpl/2.3/

  You can find also find an archive copy on

     http://oss.oetiker.ch/rrdtool/pub/libs

  The last tested version of libart-2.0 is 2.3.17.

       LIBS=-lm
   LDFLAGS=
  CPPFLAGS= -I/usr/include/libart-2.0

----------------------------------------------------------------------------

checking for zlibVersion in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for png_access_version_number in -lpng... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for FT_Init_FreeType in -lfreetype... yes
checking ft2build.h usability... no
checking ft2build.h presence... no
checking for ft2build.h... no
checking for pkg-config... no
configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of freetype2. Check config.log for hints on why
  this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
  so that compiler and the linker can find libfreetype and its header files. If
  you have not installed freetype2, you can get it either from its original home on

     http://prdownloads.sourceforge.net/freetype/

  You can find also find an archive copy on

     http://oss.oetiker.ch/rrdtool/pub/libs

  The last tested version of freetype2 is 2.1.10.

       LIBS=-lpng -lz -lm
   LDFLAGS=
  CPPFLAGS= -I/usr/include/freetype2

----------------------------------------------------------------------------

configure: error: Please fix the library issues listed above and try again.


Eerst maar is geprobeerd freetype2 te instaleren:
laatste stukje van ./configure:
code:
1
2
3
4
5
6
7
8
configure: creating ./config.status
config.status: creating unix-cc.mk
config.status: creating unix-def.mk
config.status: creating freetype-config
config.status: creating freetype2.pc
config.status: creating ftconfig.h
config.status: executing libtool commands
make: Nothing to be done for `unix'.

'make':
code:
1
2
[root@s01 freetype-2.3.7]# make
make: Nothing to be done for `all'.

laatste stuk make install:
code:
1
2
3
4
5
6
/usr/bin/install -c -m 755 ./builds/unix/freetype-config \
          /usr/local/bin/freetype-config
/usr/bin/install -c -m 644 ./builds/unix/freetype2.m4 \
          /usr/local/share/aclocal/freetype2.m4
/usr/bin/install -c -m 644 ./builds/unix/freetype2.pc \
          /usr/local/lib/pkgconfig/freetype2.pc


Nu maar weer './configure --prefix=/usr/local/rrdtool':

en weer dezelfde error als hierboven.

Wat doe ik fout? Of nog beter, hoe los ik het op?

P.S. ook met deze tutorial lukt het me niet:
http://www.server-world.i...n/note?os=ce5&p=cacti&f=1
Ik krijg deze foutmelding:
code:
1
2
3
4
5
6
Error: Missing Dependency: webserver is needed by package cacti
Error: Missing Dependency: php-mysql is needed by package cacti
Error: Missing Dependency: libmysqlclient_r.so.15(libmysqlclient_15) is needed by package cacti-spine
Error: Missing Dependency: libmysqlclient_r.so.15 is needed by package cacti-spine
Error: Missing Dependency: php is needed by package cacti
Error: Missing Dependency: php-snmp is needed by package cacti

3780wP (18x 210wP EC Solar) | 2x Marstek Venus E (5.12kWh)


Verwijderd

Freetype2 en libart_lgpl zitten gewoon in de CentOS repo's. Dus dus eerst eens een "yum install freetype freetype-devel libart_lgpl libart_lgpl-devel".