IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Programmation et administration système Perl Discussion :

cpan pbs installation


Sujet :

Programmation et administration système Perl

  1. #1
    Membre régulier
    Profil pro
    Inscrit en
    Juillet 2006
    Messages
    161
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juillet 2006
    Messages : 161
    Points : 78
    Points
    78
    Par défaut cpan pbs installation
    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__

  2. #2
    Expert éminent
    Avatar de Jedai
    Homme Profil pro
    Enseignant
    Inscrit en
    Avril 2003
    Messages
    6 245
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Côte d'Or (Bourgogne)

    Informations professionnelles :
    Activité : Enseignant

    Informations forums :
    Inscription : Avril 2003
    Messages : 6 245
    Points : 8 586
    Points
    8 586
    Par défaut
    Citation Envoyé par Fluxy Voir le message
    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 ?
    Dès lors qu'on veut compiler un programme/librairie qui dépend d'une autre librairie, on a besoin des paquetages *-dev correspondants, quelque soit le langage (autrement dit tu dois installer libpng12-0-dev et compagnie). Les paquetage non-dev ne contiennent pas les headers nécessaires.

    --
    Jedaï

  3. #3
    Membre régulier
    Profil pro
    Inscrit en
    Juillet 2006
    Messages
    161
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juillet 2006
    Messages : 161
    Points : 78
    Points
    78
    Par défaut
    Merci beaucoup,

    la compilation a l'air de se passer normalement pour le moment.

    ++

    Fluxy__

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. pbs installation php et mySql
    Par muhaddib dans le forum Installation
    Réponses: 3
    Dernier message: 05/03/2011, 20h06
  2. [Solaris 10] problem d'installation de modules CPAN
    Par wodel dans le forum Modules
    Réponses: 1
    Dernier message: 03/04/2007, 16h58
  3. Problème d'installation d'un module CPAN
    Par craquinette dans le forum Modules
    Réponses: 2
    Dernier message: 17/05/2006, 13h56
  4. installation d'un module perl avec CPAN
    Par wodel dans le forum Modules
    Réponses: 1
    Dernier message: 14/01/2006, 12h52
  5. [Eclipse 3.1][install][gros débutant] Pbs d' "installat
    Par Beldin dans le forum Eclipse Java
    Réponses: 7
    Dernier message: 22/07/2005, 11h36

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo