• [^] # Re: installer les libs manquantes ?

    Posté par . En réponse au message installation logiciel en ligne de commande (problème de make). Évalué à 4. Dernière modification le 14 novembre 2015 à 08:22.

    C'est peut-être cela pour la lib mais ils précisent bien d'éditer le Makefile (pas de ./configure) et de l'adapter. La section du Makefile en question:

     #---- Generic Unix -----------------------------------------------------------
     # Remove #'s from following 3 lines for generic Unix with X-windows. 
     # Add -DOOGL to CFLAGS if you are using geomview.
     # You might have to add something like -I/usr/X11R6/include to CFLAGS if 
     # there is a problem finding Xlib.h while compiling xgraph.c, and add
     # -L/usr/X11R6/lib to GRAPHLIB.
     #CFLAGS= -DGENERIC
     #GRAPH= xgraph.o 
     #GRAPHLIB= -lX11 
     #some places might have -lX11-mit

    Il est bien précisé add -I/usr/X11R6/include to CFLAGS if there is a problem finding Xlib.h while compiling xgraph.c, and add -L/usr/X11R6/lib to GRAPHLIB. Au final les trois lignes décommentées devraient ressembler à ceci :

    CFLAGS= -DGENERIC -I/usr/X11R6/include
    GRAPH= xgraph.o 
    GRAPHLIB= -lX11 -L/usr/X11R6/lib

    Avec peut-être d'autres erreurs de compilation