Bonjour,

Je n'ai pas l'habitude d'utiliser cpan.

Je cherche à installer le module RRDTool::OO.

Je fais donc un install RRDTool::OO, mais malheuresement à la fin de l'installation j'ai le message suivant :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
configure: error: Please fix the library issues listed above and try again.
make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lpng
Writing Makefile for RRDs
cp RRDs.pm blib/lib/RRDs.pm
cp ntmake.pl blib/lib/ntmake.pl
make: *** Pas de règle pour fabriquer la cible « ../../src/librrd.la », nécessaire pour « RRDs.c ». Arrêt.
make: *** Pas de règle pour fabriquer la cible « ../../src/librrd.la », nécessaire pour « RRDs.c ». Arrêt.
make: *** Pas de règle pour fabriquer la cible « ../../src/librrd.la », nécessaire pour « RRDs.c ». Arrêt.
Je regarde donc les messages du dessus :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
Find 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... no
checking for pkg-config... no
configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of zlib. 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 libz and its header files. If
  you have not installed zlib, you can get it either from its original home on
 
     http://www.gzip.org/zlib/
 
  You can find also find an archive copy on
 
     http://oss.oetiker.ch/rrdtool/pub/libs
 
  The last tested version of zlib is 1.2.3.
 
       LIBS=-lm 
   LDFLAGS=
  CPPFLAGS=
 
----------------------------------------------------------------------------
 
checking for png_access_version_number in -lpng... no
checking for pkg-config... (cached) no
configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of libpng. 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 libpng and its header files. If
  you have not installed libpng, you can get it either from its original home on
 
     http://prdownloads.sourceforge.net/libpng/
 
  You can find also find an archive copy on
 
     http://oss.oetiker.ch/rrdtool/pub/libs
 
  The last tested version of libpng is 1.2.10.
 
       LIBS=-lm 
   LDFLAGS=
  CPPFLAGS=
 
----------------------------------------------------------------------------
 
checking for FT_Init_FreeType in -lfreetype... no
checking for pkg-config... (cached) 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=-lm 
   LDFLAGS=
  CPPFLAGS= -I/usr/include/freetype2
 
----------------------------------------------------------------------------
Mais les packages nommés sont déja installés sur mon systeme

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
dpkg -l | grep -i "libart\|zlib\|libpng\|freetype2"
ii  freetype2-demos            2.2.1-5+etch2                   FreeType 2 demonstration programs
ii  libart-2.0-2               2.3.17-1                        Library of functions for 2D graphics - runti
ii  libpng12-0                 1.2.15~beta5-1                  PNG library - runtime
ii  zlib1g                     1.2.3-13                        compression library - runtime
Quel est donc le problème ?

Merci

++

Pour info je suis sous debian 4.0 et ma version de perl 5.8.8

Fluxy__