Título: Codecrypt (criptografia asimétrica, resistente a ataques). Ayuda instalación Publicado por: z3bvh80nbnodaxe en 9 Septiembre 2013, 02:49 am Hola
Estoy tratando de instalar en Debian 7.0 este programa de cifrado asimétrico, similar a GnuPG que supuestamente utiliza algoritmos e implentaciones de hash resistentes a ataques con computadores cuánticos ;D Se basan en el criptosistema de McEliece y variante FMTSeq para el hash de la firma de archivos. http://e-x-a.org/codecrypt/files/ Aquí su tesis de grado medio en la facultad de matemáticas de Praga, explicando el desarrollo y bases del programa http://e-x-a.org/codecrypt/mk_bachelor.pdf http://e-x-a.org/codecrypt/mk_bachelor.pdf Sigo al pie de las letra las instrucciones para compilar e instalar y supuestamente tengo todas las librerias necesarias . ¿Alguien se anima a instalarlo (aunque sea en maquina virtual) y me comenta como ha solucionado los problemas? Registros de mi instalación: ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking how to print strings... printf checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether gcc and cc understand -c and -o together... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking how to run the C preprocessor... gcc -E checking gmp.h usability... yes checking gmp.h presence... yes checking for gmp.h... yes checking for __gmpz_init in -lgmp... yes checking for memset... yes checking for mkdir... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking for unistd.h... (cached) yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for inline... inline checking for size_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands config.status: executing libtool commands make gcc -DPACKAGE_NAME=\"codecrypt\" -DPACKAGE_TARNAME=\"codecrypt\" -DPACKAGE_VERSION=\"1.2\" -DPACKAGE_STRING=\"codecrypt\ 1.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"codecrypt\" -DVERSION=\"1.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GMP_H=1 -DHAVE_LIBGMP=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_FCNTL_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE__BOOL=1 -I. -I.// -I/usr/local/include -Wall -g -O2 -MT src/ccr-ripemd128.o -MD -MP -MF src/.deps/ccr-ripemd128.Tpo -c -o src/ccr-ripemd128.o `test -f 'src/ripemd128.c' || echo './'`src/ripemd128.c mv -f src/.deps/ccr-ripemd128.Tpo src/.deps/ccr-ripemd128.Po gcc -DPACKAGE_NAME=\"codecrypt\" -DPACKAGE_TARNAME=\"codecrypt\" -DPACKAGE_VERSION=\"1.2\" -DPACKAGE_STRING=\"codecrypt\ 1.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"codecrypt\" -DVERSION=\"1.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GMP_H=1 -DHAVE_LIBGMP=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_FCNTL_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE__BOOL=1 -I. -I.// -I/usr/local/include -Wall -g -O2 -MT src/ccr-sha2.o -MD -MP -MF src/.deps/ccr-sha2.Tpo -c -o src/ccr-sha2.o `test -f 'src/sha2.c' || echo './'`src/sha2.c mv -f src/.deps/ccr-sha2.Tpo src/.deps/ccr-sha2.Po gcc -DPACKAGE_NAME=\"codecrypt\" -DPACKAGE_TARNAME=\"codecrypt\" -DPACKAGE_VERSION=\"1.2\" -DPACKAGE_STRING=\"codecrypt\ 1.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"codecrypt\" -DVERSION=\"1.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GMP_H=1 -DHAVE_LIBGMP=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_FCNTL_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE__BOOL=1 -I. -I.// -I/usr/local/include -Wall -g -O2 -MT src/ccr-tiger.o -MD -MP -MF src/.deps/ccr-tiger.Tpo -c -o src/ccr-tiger.o `test -f 'src/tiger.c' || echo './'`src/tiger.c mv -f src/.deps/ccr-tiger.Tpo src/.deps/ccr-tiger.Po g++ -DPACKAGE_NAME=\"codecrypt\" -DPACKAGE_TARNAME=\"codecrypt\" -DPACKAGE_VERSION=\"1.2\" -DPACKAGE_STRING=\"codecrypt\ 1.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"codecrypt\" -DVERSION=\"1.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GMP_H=1 -DHAVE_LIBGMP=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_FCNTL_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE__BOOL=1 -I. -I.// -I/usr/local/include -g -O2 -MT src/ccr-ios.o -MD -MP -MF src/.deps/ccr-ios.Tpo -c -o src/ccr-ios.o `test -f 'src/ios.cpp' || echo './'`src/ios.cpp In file included from src/ios.h:24, from src/ios.cpp:19: src/polynomial.h:61: error: ‘vector’ has not been declared src/polynomial.h:61: error: expected ‘,’ or ‘...’ before ‘<’ token make: *** [src/ccr-ios.o] Error 1 Muchas gracias y perdón por el tocho Título: Re: Codecrypt (criptografia asimétrica, resistente a ataques). Ayuda instalación Publicado por: Gh057 en 21 Octubre 2013, 19:42 pm hola z3bvh80nbnodaxe, estaba hojeando un poco el foro desde el trabajo y por casualidad encontré tu consulta; por favor fíjate en las últimas líneas el compilador te tira un error en una biblioteca, deberías editarla con algún editor plano por ejemplo Nano ya que es muy problable que a la línea superior (la 60) le esté faltando un símbolo de fin de línea";" o algo similar:
src/polynomial.h:61: error: ‘vector’ has not been declared src/polynomial.h:61: error: expected ‘,’ or ‘...’ before ‘<’ token make: *** [src/ccr-ios.o] Error 1 Generalmente al tener un error de este tipo el compilador no puede procesar correctamente la posterior, por lo cual solicita "espera" un símbolo en ella; igualmente si puedo ver el código luego te confirmo si es eso lo que te está trabando la compilación o no. saludos |