微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

sqlcipher ./configuration linux

我想用OpenSSL为我的RaspBerry Pi交叉编译sql-Cipher。 我使用crosstool-ng作为编译器工具链。

./configure --enable-tempstore=yes CFLAGS="-DsqlITE_HAS_CODEC" LDFLAGS="/home/USER1/openssl-1.0.1c/libcrypto.a"

给我以下错误

checking build system type... x86_64-unkNown-linux-gnu checking host system type... x86_64-unkNown-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 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 for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok 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 -m elf_x86_64) 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 a BSD-compatible install... /usr/bin/install -c checking for gawk... gawk checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for int8_t... yes checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for intptr_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uintptr_t... yes checking for sys/types.h... (cached) yes checking for stdlib.h... (cached) yes checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for usleep... yes checking for fdatasync... yes checking for localtime_r... yes checking for gmtime_r... yes checking for localtime_s... no checking for utime... yes checking for malloc_usable_size... yes checking for tclsh8.5... no checking for tclsh... no Warning: can't find tclsh - defaulting to non-amalgamation build. ./configure: line 12321: tclsh: command not found configure: Version set to 3.7 configure: Release set to 3.7.12.1 configure: Version number set to 3007012 checking whether to support threadsafe operation... yes checking for library containing pthread_create... -lpthread checking whether to allow connections to be shared across threads... no checking whether to support shared library linked as release mode or not... no checking whether to use an in-ram database for temporary tables... yes checking if executables have the .exe suffix... unkNown checking host system type... (cached) x86_64-unkNown-linux-gnu checking for Tcl configuration... ./configure: line 12912: tclsh: command not found configure: WARNING: Can't find Tcl configuration deFinitions configure: WARNING: *** Without Tcl the regression tests cannot be executed *** configure: WARNING: *** Consider using --with-tcl=... to define location of Tcl *** checking for library containing tgetent... -lncurses checking for readline in -lreadline... yes checking readline.h usability... no checking readline.h presence... no checking for readline.h... no checking for /usr/include/readline.h... no checking for /usr/include/readline/readline.h... yes checking for library containing fdatasync... none required configure: creating ./config.status config.status: creating Makefile config.status: creating sqlite3.pc config.status: creating config.h config.status: config.h is unchanged config.status: executing libtool commands matze@matze-F5SR:~/Studienarbeit/sqlcipher-sqlcipher-ceee996$ ./configure --enable-tempstore=yes CFLAGS="-DsqlITE_HAS_CODEC" LDFLAGS="/home/matze/Studienarbeit/openssl-1.0.1c/libcrypto.a" checking build system type... x86_64-unkNown-linux-gnu checking host system type... x86_64-unkNown-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 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 for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok 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 -m elf_x86_64) 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 a BSD-compatible install... /usr/bin/install -c checking for gawk... gawk checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for int8_t... yes checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for intptr_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uintptr_t... yes checking for sys/types.h... (cached) yes checking for stdlib.h... (cached) yes checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for usleep... yes checking for fdatasync... yes checking for localtime_r... yes checking for gmtime_r... yes checking for localtime_s... no checking for utime... yes checking for malloc_usable_size... yes checking for tclsh8.5... no checking for tclsh... no Warning: can't find tclsh - defaulting to non-amalgamation build. ./configure: line 12321: tclsh: command not found configure: Version set to 3.7 configure: Release set to 3.7.12.1 configure: Version number set to 3007012 checking whether to support threadsafe operation... yes checking for library containing pthread_create... -lpthread checking whether to allow connections to be shared across threads... no checking whether to support shared library linked as release mode or not... no checking whether to use an in-ram database for temporary tables... yes checking if executables have the .exe suffix... unkNown checking host system type... (cached) x86_64-unkNown-linux-gnu checking for Tcl configuration... ./configure: line 12912: tclsh: command not found configure: WARNING: Can't find Tcl configuration deFinitions configure: WARNING: *** Without Tcl the regression tests cannot be executed *** configure: WARNING: *** Consider using --with-tcl=... to define location of Tcl *** checking for library containing tgetent... -lncurses checking for readline in -lreadline... yes checking readline.h usability... no checking readline.h presence... no checking for readline.h... no checking for /usr/include/readline.h... no checking for /usr/include/readline/readline.h... yes checking for library containing fdatasync... none required configure: creating ./config.status config.status: creating Makefile config.status: creating sqlite3.pc config.status: creating config.h config.status: config.h is unchanged config.status: executing libtool commands

我怎样才能得到缺失的项目? 我怎么能告诉configuration脚本使用不同的编译器?

用python交叉编译gdb for arm失败

从Linux部署Qt程序到Windows

交叉编译:检查是否可以在64位机器上构build32位

交叉编译Qt 5

Haskell 32到64位交叉编译

将Linux上的Python脚本交叉编译为Windows可执行文件

如何在Linux mint for windows中编译C GTK3 +程序?

在windows上交叉编译一个python脚本到linux可执行文件

Cygwin GCC交叉编译二进制文件

铛交叉编译为ARM?

要设置一个新的编译器,只需分配给CC。

./configure CC=/path/to/compiler ...

要找到tclsh ,请安装tcl并在运行配置脚本时确保包含tclsh的目录位于PATH中。

解决这个问题,请在你的PC上安装tcl软件包。 在你的终端上运行这个命令

sudo apt-get install tcl

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐