SqlCipher Mingw/msys 问题

2023-12-23

我有一个问题 - 我无法编译 SqlCipher。 我正在用这个http://groups.google.com/group/sqlcipher/browse_thread/thread/55c6296b56bf4533/c792bbec6df7d4f4?tvc=2#c792bbec6df7d4f4 http://groups.google.com/group/sqlcipher/browse_thread/thread/55c6296b56bf4533/c792bbec6df7d4f4?tvc=2#c792bbec6df7d4f4说明(感谢 Sam)但仍然无法编译它。我执行以下操作:

$ ./configure --disable-tcl CFLAGS="-DSQLITE_HAS_CODEC -I/usr/usr/src/openssl/i
nclude" LDFLAGS="-leay32"
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking for gcc... gcc
checking for C compiler default output file name... rm: cannot remove directory
`conftest': Is a directory
a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
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... c:/mingw/mingw32/bin/ld.exe
checking if the linker (c:/mingw/mingw32/bin/ld.exe) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /mingw/bin/nm
checking the name lister (/mingw/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 8192
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for c:/mingw/mingw32/bin/ld.exe option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|
^x86 DLL
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /mingw/bin/nm 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... no
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... ./configure: line 10444:  4076 Segmenta
tion fault      (core dumped) $RM -r conftest 2>/dev/null
mkdir: cannot create directory `conftest': File exists
mkdir: cannot create directory `out': File exists
rmdir: out: Directory not empty
      0 [main] rm 5688 open_stackdumpfile: Dumping stack trace to rm.exe.stackdu
mp
./configure: line 10444:  5688 Segmentation fault      (core dumped) $RM -r conf
test
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (c:/mingw/mingw32/bin/ld.exe) supports shared li
braries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
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...       0 [main] rm 468 open_stackdumpfil
e: Dumping stack trace to rm.exe.stackdump
./configure: line 10509:   468 Segmentation fault      (core dumped) rm -rf conf
test.one conftest.two conftest.dir
mkdir: cannot create directory `conftest.dir': File exists
      0 [main] rm 5040 open_stackdumpfile: Dumping stack trace to rm.exe.stackdu
mp
./configure: line 10554:  5040 Segmentation fault      (core dumped) rm -rf conf
test.one conftest.two conftest.dir
/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... unknown
checking for _LARGE_FILES value needed for large files... unknown
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 for usleep... yes
checking for fdatasync... no
checking for localtime_r... no
checking for gmtime_r... no
checking for localtime_s... no
checking for tclsh8.4... no
checking for tclsh... no
Warning: can't find tclsh - defaulting to non-amalgamation build.
./configure: line 12322: tclsh: command not found
configure: Version set to 3.6
configure: Release set to 3.6.21
configure: Version number set to 3006021
checking whether to support threadsafe operation... yes
checking for library containing pthread_create... no
checking whether to allow connections to be shared across threads... no
checking whether threads can override each others locks... 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... no
checking if executables have the .exe suffix... unknown
checking host system type... (cached) i686-pc-mingw32
checking for library containing tgetent... no
checking for readline in -lreadline... no
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... no
checking for /usr/local/include/readline.h... no
checking for /usr/local/include/readline/readline.h... no
checking for /usr/local/readline/include/readline.h... no
checking for /usr/local/readline/include/readline/readline.h... no
checking for /usr/contrib/include/readline.h... no
checking for /usr/contrib/include/readline/readline.h... no
checking for /mingw/include/readline.h... no
checking for /mingw/include/readline/readline.h... no
checking for library containing fdatasync... no
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
      0 [main] rm 5064 open_stackdumpfile: Dumping stack trace to rm.exe.stackdu
mp
./config.status: line 1895:  5064 Segmentation fault      (core dumped) rm -fr "
$tmp"

ilukyanov@DEPONEOS-230-3 /usr/usr/src/sqlcipher
$ make
make: *** No targets specified and no makefile found.  Stop.

ilukyanov@DEPONEOS-230-3 /usr/usr/src/sqlcipher
$ mingw32-make
tclsh ./tool/mksqlite3h.tcl . >sqlite3.h
/bin/sh: sqlite3.h: No such file or directory
mingw32-make: *** [sqlite3.h] Error 1

怎么了?


我有完全相同的问题,这就是我解决它的方法

你必须首先安装 tclhere http://www.activestate.com/activetcl/downloads

现在,使用文本编辑器打开 C:\msys\1.0\etc\fstab 并在末尾添加以下行: c:/Tcl /tcl

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

SqlCipher Mingw/msys 问题 的相关文章

随机推荐

  • 在 Servlet 中使用 Bean

    我有一个 jsp 页面 index jsp 其中包含两个文本字段用户名和密码的表单
  • 我如何学习设计这样的用户界面?

    我最近在使用该应用程序Secret https www secret ly 并正在观察它拥有的令人惊叹的用户界面 如果您正在打开 Secret 的网页 请向下滚动一点以查看 UI 作为一个Android新手 想学习的人 我想问一下这个UI是
  • 如何使用 PagingAndSortingRepository 不返回特定列

    我知道标题可能听起来有点令人困惑 但我不知道如何在标题上总结我的问题 我的主要问题是我不想使用 PagingAndSortingRepository 返回特定列 想象一下以下场景 我有两个实体 一个称为 用户 Entity Table na
  • 阻止直到按下按键或一天中的给定时间

    如何阻止直到 1 按键或 2 之前输入的一天中的时间 以较早者为准 hh mm格式已达到 我正在使用 Windows 以防万一 这DOS汇编程序 http www robvanderwoude com downloads batchman
  • Android Bundle 简单单元测试不起作用

    我对 android 很陌生 并试图了解捆绑包的工作原理 我被以下单元测试阻止 有人可以解释一下为什么失败吗 Test public void testBundle throws Exception Bundle bundle new Bu
  • 当“react-native run-ios”时端口 8081 已被使用

    是的 我已经读过这篇文章 但仍然不知道如何使其发挥作用 反应本机 端口 8081 已在使用中 打包器未运行或未正确运行命令 bin sh 失败 退出代码为 2 https stackoverflow com questions 302164
  • ES6 标记模板实用性

    我了解ES6的语法标记模板 https developer mozilla org en US docs Web JavaScript Reference template strings Tagged template strings 我
  • epoll_wait 中的 epoll 事件顺序

    我已将一个程序从 select 移植到 epoll 以增加我们可以处理的套接字数量 我已经将socket添加到epoll FD中并且可以愉快地读写了 但是 即使我使用级别触发事件 我也担心套接字可能会饥饿 我担心的情况是 准备好的套接字数量
  • 如何从函数中获取结果(输出)?以后如何使用结果?

    假设我有一个类似的函数 def foo x hello world 如何让函数返回x 这样我就可以将它用作另一个函数的输入或在程序体内使用该变量 我尝试使用return然后使用x另一个函数中的变量 但我得到了NameError那样 For
  • Rails - url_for 在使用命名空间时表现不同(基于当前使用的控制器)

    假设命名空间是 abc 我们有一个控制器 abcs 另一个使用命名空间 abc 的控制器是 defs 为了便于理解 AbcsController Abc DefsController 当电流处于AbcsController url for
  • 使用现有字符串定义定义“resValue”

    我更感兴趣的是在 strings xml 文件而不是 build gradle 中定义我的应用程序的多种风格 鉴于多种风格 我想要一个简化的发布 调试变体 buildTypes release signingConfig signingCo
  • 依赖类型的 ghc-7.6 类实例

    异构列表是 ghc 7 6 的新依赖类型工具给出的示例之一 data HList gt where HNil HList HCons a gt HList t gt HList a t 示例列表 li 编译良好 li HCons Int H
  • Windows Phone 8.1:设备唯一 ID 的 DeviceExtendedProperties 或 DeviceStatus

    我想获取 Windows Phone 中的设备 ID8 1 The 设备扩展属性 http msdn microsoft com library windows apps microsoft phone info deviceextende
  • 让链接执行 2 个操作

    首先 我不知道我是否采取了正确的方法来解决这个问题 所以请耐心等待 我的问题如下 我尝试使用手风琴 其中每个选项卡都是一个类别 展开时 手风琴会显示该类别中的艺术家 到目前为止 一切都很好 现在 我想要实现的另一部分是 一旦我单击选项卡 其
  • 使用 GORM 和 Postgresql 时如何节省 Go 中数据库的时间?

    我目前正在解析时间字符串并将其保存到数据库 Postgresql event Time time Parse 3 04 PM 9 00 PM value of event Time now is 0000 01 01 21 00 00 00
  • Apache Ignite 使用 Spring-Boot 加载两次?

    我正在使用 Spring Boot 1 2 7 RELEASE 和 Apache Ignite 1 4 0 进行原型设计 并注意到有些奇怪的东西 也许这只是一个日志配置 看起来 Apache Ignite 正在尝试用 Spring 启动两次
  • 在重定向之前设置 cookie

    我试图在标头重定向之前设置 cookie 但它不起作用 我读过在标头重定向行之后设置 cookie 应该可以解决问题 但我没有运气 同样 之前的一篇文章建议 如果您在位置重定向中使用 人类 URL 则应该在 cookie 的路径参数中使用
  • 在 Interface Builder 中将文本标记为不需要翻译

    我在 Interface Builder 中使用虚拟文本 这是一个例子 The MYNAME不是真正的界面文本 它是以编程方式设置的viewDidLoad 我可以用特殊方式标记它 以便默认将其从我的翻译文件中排除吗 如果您正在使用ibtoo
  • Capistrano 使用 sudo 甚至使用“set :use_sudo, false”

    我不希望使用 sudo 通过 Capistrano 执行任何远程命令 具体来说 当我跑步时cap deploy setup 第一次时要求我输入 sudo 密码mkdir命令 我添加了set use sudo false到我的deploy r
  • SqlCipher Mingw/msys 问题

    我有一个问题 我无法编译 SqlCipher 我正在用这个http groups google com group sqlcipher browse thread thread 55c6296b56bf4533 c792bbec6df7d4