COMPILATION : erreur

Bonjour,

J’ai trouvé un p’tit soft pour virermes fichiers en double : j’en ai 11 000 !!! Je ne me vois pas cliquer 1 pendant 3 heures avec ‘fdupes’

Voilà le soft
rmlint : rmlint.readthedocs.org/en/latest … pendencies

Alors, j’ai suivi l’install sur le site du développeur et forcément…j’ai un message d’erreur à la compilation. Je me tourne vers vous car c’est de l’hébreu :

[code]~/rmlint$ scons config
scons: Reading SConscript files …
Checking whether the C compiler worksyes
Checking for git revision… (cached) e754965
Checking for pkg-config… yes
Checking for glib-2.0 >= 2.32… yes
Checking for gio-unix-2.0… yes
Checking for blkid… no
Checking for json-glib-1.0… yes
cc1: erreur: unrecognized command line option ‘-std=c11’
Checking for -std=c11 support…(cached) no
Checking whether SSE4_2 is declared… no
Checking whether blkid_devno_to_wholedisk is declared… no
Checking for existence of /sys/block… (cached) yes
Checking for C function sysctlbyname()… no
Checking for C header file libelf.h… no
Checking for C type struct fiemap… yes
Checking for C function getxattr()… yes
Checking for C function setxattr()… yes
Checking for C function removexattr()… yes
Checking size of off_t … yes
Checking for C function stat64()… yes
Checking whether G_CHECKSUM_SHA512 is declared… no
Checking for C header file locale.h… yes
Checking for C header file sqlite3.h… no
Checking for C library sqlite3… no
scons: done reading SConscript files.
scons: Building targets …
Printing configuration…
Using sphinx-build binary: /usr/bin/sphinx-build

rmlint will be compiled with the following features:

Find non-stripped binaries (needs libelf)             : no
Optimize using ioctl(FS_IOC_FIEMAP) (needs linux)     : yes
Support for SHA512 (needs glib >= 2.31)               : no
Support for SSE4.2 instructions for fast CityHash     : no
Support for swapping metadata to disk (needs SQLite3) : no
Build manpage from docs/rmlint.1.rst                  : yes, using /usr/bin/sphinx-build
Support for caching checksums in file's xattr         : yes
Support for reading json caches (needs json-glib)     : yes
Checking for proper support of big files >= 4GB       : yes
    (needs either sizeof(off_t) >= 8 ...)             : no
    (... or presence of stat64)                       : yes

Optimize non-rotational disks                         : no
    (needs libblkid for resolving dev_t to path)      : no
    (needs gio-unix-2.0)                              : yes

Enable gettext localization                           : yes
    (needs <locale.h> for compile side support)       : yes
    (needs msgfmt to compile .po files)               : yes

The following constants will be used during the build:

Version information  : 2.2.0 "Dreary Dropbear" (rev e754965)
Compiler             : gcc
Install prefix       : /usr/local
Actual prefix        : /usr/local
Verbose building     : no
Adding debug symbols : no

Type ‘scons’ to actually compile rmlint now. Good luck.

scons: done building targets.[/code]

[code]~/rmlint$ scons DEBUG=1 -j4
scons: Reading SConscript files …
Checking whether the C compiler works(cached) yes
Checking for git revision… (cached) e754965
Checking for pkg-config… (cached) yes
Checking for glib-2.0 >= 2.32… (cached) yes
Checking for gio-unix-2.0… (cached) yes
Checking for blkid… (cached) no
Checking for json-glib-1.0… (cached) yes
cc1: erreur: unrecognized command line option ‘-std=c11’
Checking for -std=c11 support…(cached) no
Checking whether SSE4_2 is declared… no
Checking whether blkid_devno_to_wholedisk is declared… no
Checking for existence of /sys/block… (cached) yes
Checking for C function sysctlbyname()… no
Checking for C header file libelf.h… no
Checking for C type struct fiemap… yes
Checking for C function getxattr()… yes
Checking for C function setxattr()… yes
Checking for C function removexattr()… yes
Checking size of off_t … yes
Checking for C function stat64()… yes
Checking whether G_CHECKSUM_SHA512 is declared… no
Checking for C header file locale.h… yes
Checking for C header file sqlite3.h… no
Checking for C library sqlite3… no
scons: done reading SConscript files.
scons: Building targets …
Building manpage from rst…
Using sphinx-build binary: /usr/bin/sphinx-build
build_config_template([“lib/config.h”], [“lib/config.h.in”])
Compiling ==> lib/checksums/murmur3.c
Compiling ==> lib/checksums/spooky-c.c
Compiling ==> lib/cfg.c
Compiling ==> lib/checksum.c
Compiling ==> lib/checksums/city.c
Compiling ==> lib/cmdline.c
Compiling ==> lib/file.c
Compiling ==> lib/formats/csv.c
Compiling ==> lib/formats/fdupes.c
Compiling ==> lib/formats/json.c
Compiling ==> lib/formats/null.c
Compiling ==> lib/formats/pretty.c
Compiling ==> lib/formats/progressbar.c
build_python_formatter([“lib/formats/py.c”], [“lib/formats/py.c.in”])
Compiling ==> lib/formats/py.c
build_sh_formatter([“lib/formats/sh.c”], [“lib/formats/sh.c.in”])
Compiling ==> lib/formats/sh.c
Compiling ==> lib/formats/summary.c
Compiling ==> lib/formats/timestamp.c
Compiling ==> lib/formats.c
Compiling ==> lib/libart/art.c
In file included from lib/libart/art.c:5:0:
/usr/lib/gcc/i686-linux-gnu/4.6/include/emmintrin.h:32:3: error: #error "SSE2 instruction set not enabled"
lib/libart/art.c: In function ‘find_child’:Compiling ==> lib/preprocess.c

lib/libart/art.c:148:13: error: unknown type name '__m128i’
lib/libart/art.c:154:17: warning: implicit declaration of function ‘_mm_cmpeq_epi8’ [-Wimplicit-function-declaration]
lib/libart/art.c:154:17: warning: implicit declaration of function ‘_mm_set1_epi8’ [-Wimplicit-function-declaration]
lib/libart/art.c:154:17: warning: implicit declaration of function ‘_mm_loadu_si128’ [-Wimplicit-function-declaration]
lib/libart/art.c:154:67: error: ‘__m128i’ undeclared (first use in this function)
lib/libart/art.c:154:67: note: each undeclared identifier is reported only once for each function it appears in
lib/libart/art.c:154:76: error: expected expression before ‘)’ token
lib/libart/art.c:158:13: warning: implicit declaration of function ‘_mm_movemask_epi8’ [-Wimplicit-function-declaration]
lib/libart/art.c: In function ‘add_child16’:
lib/libart/art.c:405:9: error: unknown type name '__m128i’
lib/libart/art.c:408:9: warning: implicit declaration of function ‘_mm_cmplt_epi8’ [-Wimplicit-function-declaration]
lib/libart/art.c:408:65: error: ‘__m128i’ undeclared (first use in this function)
lib/libart/art.c:408:74: error: expected expression before ‘)’ token
scons: *** [lib/libart/art.o] Error 1
scons: building terminated because of errors.[/code]

Sans DEBUG=1 j’ai le même message.

Activation SSE/SSE2 au niveau du BIOS ?

Activation SSE/SSE2 au niveau du BIOS ?

t’as l’art de te compliquer la vie.

man fdupes :

       -d --delete
              prompt user for files to  preserve,  deleting  all  others  (see
              CAVEATS below)

       -N --noprompt
              when  used  together  with  --delete, preserve the first file in
              each set of duplicates and delete the others  without  prompting
              the user