Salut a tous

J'ai un probleme tres enervant : lorsque je compile une fichier .pas (qui inclut la librairie crt pour afficher des couleurs) dans la console avec gpc, il me dit ceci :

decouverte02.pas:5: erreur: module/unit interface `crt' could not be imported
J'ai beau mettre 36 librairies en plus, rien n y fait toujours pareil ...

J'ai trouvé ce site pour des librairies pascal :

http://www.gnu-pascal.de/gpc/h-libraries.html

et la partie pour crt :

http://www.gnu-pascal.de/libs/

lorsque je veux installer ncurses-5.0-19991023, il me dit :

sudo ./configure
loading cache ./config.cache
Configuring NCURSES 5.0 ABI 5 (Wed Dec 7 17:06:53 CET 2005)
checking host system type... i686-pc-linux-gnu
Configuring for linux-gnu
checking for prefix... /usr
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking version of gcc... gcc (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

checking for gcc... gcc
checking how to run the C preprocessor... gcc -E
checking whether gcc needs -traditional... no
checking for POSIXized ISC... no
checking for gcc option to accept ANSI C... -DCC_HAS_PROTOS
checking for ldconfig... /sbin/ldconfig
checking if you want to ensure bool is consistent with C++... yes
checking for c++... no
checking for g++... no
checking for gcc... gcc
checking whether the C++ compiler (gcc ) works... no
configure: error: installation or configuration problem: C++ compiler cannot create executables.
et pour installer PDCurses-2.6 j ai ceci :

sudo ./configure
loading cache ./config.cache
checking for one of the following C compilers: gcc acc cc c89... using /usr/bin/gcc
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for POSIXized ISC... no
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for maximum signal specifier:... NSIG
checking for main in -ldld... no
checking for main in -ldl... yes
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... yes
checking how to run the C preprocessor... gcc -E
checking for System V IPC support... checking for sys/ipc.h... yes
checking for ANSI C header files... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for time.h... yes
checking for sys/time.h... yes
checking for memory.h... yes
checking for string.h... yes
checking for stdarg.h... yes
checking for sys/select.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for dl.h... no
checking for errno.h... yes
checking if compiler supports ANSI prototypes... yes
checking for working const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for main in -lsocket... no
checking for main in -lnls... no
checking whether gcc understand -c and -o together... yes
checking whether gcc needs -traditional... no
checking for 8-bit clean memcmp... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for select... yes
checking for memmove... yes
checking for vsscanf... yes
checking for usleep... yes
checking for poll... yes
checking for location of X headers... configure: error: Cannot find required Xaw header file Box.h; XCurses cannot be configured
donc des erreurs a chaque fois ...

j'en ai marre, je sais pas comment installer cette librairie sans devoir installer 36 choses differentes

Pourriez vous m'aider ???

GRAND merci a tous et a toutes d avance