我正在尝试按照此处的步骤从源代码构建 FileZilla 3:
https://wiki.filezilla-project.org/Compiling_FileZilla_3_under_Windows
我一直成功到达构建 libfilezilla 部分:
cd ~
svn co https://svn.filezilla-project.org/svn/libfilezilla/trunk libfilezilla
cd libfilezilla
autoreconf -i
./configure --prefix="$HOME/prefix" --enable-shared --disable-static
make && make install
...在那
configure
行(第 5 行)命令上,它执行了一大堆操作(显然成功了),最后它停止并显示以下消息:
配置:错误:未找到 GnuTLS 3.7.0 或更高版本。你可以得到 来自 https://gnutls.org/
即使 GnuTLS 已成功下载、提取并安装(按照文档在之前的一系列步骤中),但到了此时却找不到它。
注意:由于上一行失败,我没有尝试运行
make
行。
对于我来说,为什么
libfilezilla
配置命令找不到 GnuTLS 没有任何意义。我可以在哪里调查以了解为什么这不起作用?
我返回并在 GnuTLS 上运行 make 命令,并收到许多这样的错误:
coff/aesni-x86_64.s:3508: Error: `leaq' is only supported in 64-bit mode
coff/aesni-x86_64.s:3510: Error: bad register name `%rax)'
coff/aesni-x86_64.s:3512: Error: bad register name `%rax)'
coff/aesni-x86_64.s:3514: Error: bad register name `%rax)'
coff/aesni-x86_64.s:3516: Error: bad register name `%rax)'
coff/aesni-x86_64.s:3518: Error: bad register name `%rax)'
coff/aesni-x86_64.s:3520: Error: `leaq' is only supported in 64-bit mode
coff/aesni-x86_64.s:3523: Error: bad register name `%rsp)'
coff/aesni-x86_64.s:3524: Error: bad register name `%rsp)'
coff/aesni-x86_64.s:3533: Error: bad register name `%xmm9'
coff/aesni-x86_64.s:3534: Error: bad register name `%rbx'
coff/aesni-x86_64.s:3535: Error: bad register name `%xmm10'
coff/aesni-x86_64.s:3536: Error: bad register name `%rbx'
coff/aesni-x86_64.s:3537: Error: bad register name `%xmm10'
coff/aesni-x86_64.s:3538: Error: bad register name `%xmm15'
coff/aesni-x86_64.s:3539: Error: bad register name `%rbx'
coff/aesni-x86_64.s:3540: Error: bad register name `%xmm10'
coff/aesni-x86_64.s:3541: Error: bad register name `%xmm10'
coff/aesni-x86_64.s:3542: Error: bad register name `%xmm11'
coff/aesni-x86_64.s:3543: Error: bad register name `%xmm11'
coff/aesni-x86_64.s:3544: Error: bad register name `%xmm12'
coff/aesni-x86_64.s:3545: Error: bad register name `%xmm12'
coff/aesni-x86_64.s:3546: Error: bad register name `%xmm13'
coff/aesni-x86_64.s:3547: Error: bad register name `%xmm13'
coff/aesni-x86_64.s:3548: Error: bad register name `%xmm14'
coff/aesni-x86_64.s:3549: Error: bad register name `%xmm14'
coff/aesni-x86_64.s:3550: Error: bad register name `%xmm15'
coff/aesni-x86_64.s:3551: Error: bad register name `%r11)'
coff/aesni-x86_64.s:3553: Error: `leaq' is only supported in 64-bit mode
coff/aesni-x86_64.s:3554: Error: `leaq' is only supported in 64-bit mode
coff/aesni-x86_64.s:3555: Error: `leaq' is only supported in 64-bit mode
coff/aesni-x86_64.s:3556: Error: `addq' is only supported in 64-bit mode
coff/aesni-x86_64.s:3557: Error: bad register name `%xmm9'
这只是错误消息的一小部分,但它们都与您在上面看到的类似。我该如何解决这个问题?
我怀疑您刚刚安装了
gnutls
,但您可能还需要安装gnutls-dev
。