Bonjour,

J'aimerais compiler le programme dont le Makefile est repris ci-dessous. Or il se fait que je n'y connais pas grand-chose.

Ce programme (rlterm) n�cessite la libraire libreadline.a qui n'est malheureusement pas pr�sente dans Mandrake et que je ne trouve pas sous forme de packetage. Est-ce que les nouvelles libraires readline de mdk remplissent cette fonction et si oui comment dois-je faire ?

Merci d'avance,

Fr�d�ric

# replace this with the directory containing libreadline.a
# or blank if libreadline.a is visible to your compiler
LIBDIR = -L/home/munro/readline-2.0

# The following switches may be necessary in order for rlterm.c to
# find termio and signal headers on your system:
# -DUSE_TERMIOS to use termios.h (otherwise termio.h)
# -DUSE_SYS_TERMIO to use <sys/termio.h> or <sys/termios.h>
# -DPOSIX_TERMIO to use tc.etattr instead of ioctl (implies USE_TERMIOS)
# -DNO_SIGACTION if no sigaction or it doesn't take SA_NOCLDSTOP flag
RLDEFS =

LIBS = -lreadline -ltermcap
ALLFLAGS = $(CFLAGS) $(LDFLAGS) $(DEFS) $(RLDEFS)

rlterm: rlterm.c
$(CC) $(ALLFLAGS) rlterm.c ${LIBDIR} ${LIBS} -o rlterm

clean::
rm -f rlterm *~


Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft?
Rendez-vous sur "http://www.mandrakestore.com";


Répondre à