#1 Le 06/03/2008, à 00:24
- kamel555
installation logiciel foremost
salut tout le monde j'ai essayer d'installer le logiciel foremost sur kubuntu jai suivi le fichier readme avec les commande , la comande tar fonctionne mais la suite non , make et make install ne fonctionne pas je ne sais pas pourquoi j'ai pourtant tout fais come il est indiqué je suis debutant je precise merci d'avance
voici le message d'erreur dans la console , pourquoi ça ne marche pas??
root@moi:/home/bibi/Desktop/foremost-1.5.3# make
gcc -Wall -O2 -DVERSION=\"1.5.3\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c main.c
In file included from main.c:17:
main.h:33:19: error: stdio.h: No such file or directory
main.h:34:20: error: stdlib.h: No such file or directory
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.3/include/syslimits.h:7,
from /usr/lib/gcc/i486-linux-gnu/4.1.3/include/limits.h:11,
from main.h:35,
from main.c:17:
/usr/lib/gcc/i486-linux-gnu/4.1.3/include/limits.h:122:61: error: limits.h: No such file or directory
In file included from main.c:17:
main.h:36:20: error: dirent.h: No such file or directory
main.h:37:19: error: errno.h: No such file or directory
main.h:38:20: error: string.h: No such file or directory
main.h:39:20: error: unistd.h: No such file or directory
main.h:40:18: error: time.h: No such file or directory
main.h:41:18: error: math.h: No such file or directory
main.h:42:19: error: ctype.h: No such file or directory
main.h:43:22: error: sys/stat.h: No such file or directory
main.h:44:23: error: sys/types.h: No such file or directory
main.h:45:20: error: signal.h: No such file or directory
main.h:51:23: error: sys/ioctl.h: No such file or directory
main.h:52:23: error: sys/mount.h: No such file or directory
main.h:62:20: error: endian.h: No such file or directory
main.h:111:20: error: libgen.h: No such file or directory
In file included from main.c:17:
main.h:122: error: expected ‘)’ before ‘*’ token
main.h:123: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ftello’
main.h:137:19: error: fcntl.h: No such file or directory
main.h:293: error: expected specifier-qualifier-list before ‘off_t’
main.h:315: error: expected specifier-qualifier-list before ‘size_t’
main.h:325: error: expected specifier-qualifier-list before ‘size_t’
main.h:346: error: expected specifier-qualifier-list before ‘off_t’
main.h:388: error: expected declaration specifiers or ‘...’ before ‘off_t’
main.h:389: error: expected declaration specifiers or ‘...’ before ‘off_t’
main.h:399: error: expected declaration specifiers or ‘...’ before ‘size_t’
main.h:399: error: expected declaration specifiers or ‘...’ before ‘size_t’
main.h:427: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘find_file_size’
main.h:428: error: expected ‘)’ before ‘size’
main.h:432: error: expected declaration specifiers or ‘...’ before ‘size_t’
main.h:452: error: expected declaration specifiers or ‘...’ before ‘size_t’
main.h:452: error: expected declaration specifiers or ‘...’ before ‘size_t’
main.h:453: error: expected declaration specifiers or ‘...’ before ‘size_t’
main.h:454: error: expected declaration specifiers or ‘...’ before ‘size_t’
main.h:454: error: expected declaration specifiers or ‘...’ before ‘size_t’
main.h:455: error: expected declaration specifiers or ‘...’ before ‘size_t’
main.c: In function ‘catch_alarm’:
main.c:29: warning: implicit declaration of function ‘signal’
main.c: In function ‘register_signal_handler’:
main.c:36: error: ‘SIGINT’ undeclared (first use in this function)
main.c:36: error: (Each undeclared identifier is reported only once
main.c:36: error: for each function it appears in.)
main.c:36: error: ‘SIG_IGN’ undeclared (first use in this function)
main.c:38: error: ‘SIGTERM’ undeclared (first use in this function)
main.c: In function ‘try_msg’:
main.c:57: warning: implicit declaration of function ‘fprintf’
main.c:57: warning: incompatible implicit declaration of built-in function ‘fprintf’
main.c:57: error: ‘stderr’ undeclared (first use in this function)
main.c: In function ‘usage’:
main.c:64: warning: incompatible implicit declaration of built-in function ‘fprintf’
main.c:64: error: ‘stderr’ undeclared (first use in this function)
main.c: In function ‘process_command_line’:
main.c:104: warning: implicit declaration of function ‘getopt’
main.c:110: error: too many arguments to function ‘set_mode’
main.c:114: error: too many arguments to function ‘set_mode’
main.c:118: error: too many arguments to function ‘set_mode’
main.c:122: error: too many arguments to function ‘set_mode’
main.c:126: warning: implicit declaration of function ‘atoi’
main.c:126: error: ‘optarg’ undeclared (first use in this function)
main.c:134: error: too many arguments to function ‘set_mode’
main.c:138: error: too many arguments to function ‘set_mode’
main.c:146: error: too many arguments to function ‘set_mode’
main.c:161: error: ‘f_state’ has no member named ‘time_stamp’
main.c:175: warning: implicit declaration of function ‘exit’
main.c:175: warning: incompatible implicit declaration of built-in function ‘exit’
main.c:175: error: ‘EXIT_SUCCESS’ undeclared (first use in this function)
main.c:186: warning: incompatible implicit declaration of built-in function ‘exit’
main.c:201: warning: incompatible implicit declaration of built-in function ‘exit’
main.c:204: warning: implicit declaration of function ‘printf’
main.c:204: warning: incompatible implicit declaration of built-in function ‘printf’
main.c:214: error: ‘EXIT_FAILURE’ undeclared (first use in this function)
main.c: In function ‘main’:
main.c:229: error: ‘FILE’ undeclared (first use in this function)
main.c:229: error: ‘testFile’ undeclared (first use in this function)
main.c:229: error: ‘NULL’ undeclared (first use in this function)
main.c:230: warning: implicit declaration of function ‘malloc’
main.c:230: warning: incompatible implicit declaration of built-in function ‘malloc’
main.c:233: error: ‘DIR’ undeclared (first use in this function)
main.c:233: error: ‘dir’ undeclared (first use in this function)
main.c:236: warning: implicit declaration of function ‘basename’
main.c:236: warning: assignment makes pointer from integer without a cast
main.c:248: error: ‘f_state’ has no member named ‘num_builtin’
main.c:259: error: too many arguments to function ‘get_mode’
main.c:270: warning: implicit declaration of function ‘strcmp’
main.c:275: warning: implicit declaration of function ‘fopen’
main.c:278: warning: implicit declaration of function ‘fclose’
main.c:279: warning: implicit declaration of function ‘opendir’
main.c:282: warning: implicit declaration of function ‘strstr’
main.c:282: warning: incompatible implicit declaration of built-in function ‘strstr’
main.c:282: error: ‘f_state’ has no member named ‘config_file’
main.c:288: warning: implicit declaration of function ‘closedir’
main.c:297: error: too many arguments to function ‘set_mode’
main.c:311: warning: incompatible implicit declaration of built-in function ‘strstr’
main.c:311: error: ‘f_state’ has no member named ‘config_file’
main.c:343: warning: implicit declaration of function ‘free’
main.c:344: error: ‘EXIT_SUCCESS’ undeclared (first use in this function)
make: *** [main.o] Error 1
#2 Le 06/03/2008, à 07:49
- marc_qui
Re : installation logiciel foremost
as tu fait ./configure avant de lancer make ? des messages d'erreurs ?
Dernière modification par marc_qui (Le 06/03/2008, à 07:50)
Hors ligne
#3 Le 06/03/2008, à 18:33
- kamel555
Re : installation logiciel foremost
salut merci de ta réponse ; quand je fais ./configure j'ai ce message
-su: ./configure: No such file or directory
je ne sais que faire , peu etre que le logiciel ne passe pas sous kubuntu bizare pourtant j'ai suivi toute les procedures please helpppp
#4 Le 06/03/2008, à 21:18
- marc_qui
Re : installation logiciel foremost
cd /home/bibi/Desktop/foremost-1.5.3 (où se trouve le code source) puis ./configure tu dois utiliser sudo avec make install avec les droits du root seulement et pas avant
Hors ligne