autotools

autotools 不会在新计算机上创建 Makefile.im 或 Makefile
autotools

autotools 不会在新计算机上创建 Makefile.im 或 Makefile

所以我在新电脑上编译软件项目时遇到了问题。不幸的是,我的旧电脑坏了,我不得不使用新电脑。我的问题是,我无法像在旧电脑上那样构建我的软件项目。旧电脑运行在 Kubuntu 上,新电脑运行在 Arch 上。设置是一个现有项目,我尝试为它创建一个工具库。过去我只是创建一个文件夹并在 Makefile.am 中输入文件夹名称。在这个文件夹中,我把源代码和备份中的 Makefile.am 放进去。如果我运行 autoreconf -fi ./configure 它不会创建 Makefile.im 或 Makefile。我还尝试运行 aclocal autohe...

Admin

如何从非标准目录运行自动工具?
autotools

如何从非标准目录运行自动工具?

我正在尝试在远程 CI 服务器上构建一个库,但我没有 root 权限。该库需要安装 autoconf、automake 和 libtool 包。我无法使用 apt-get install 执行此操作,因此我尝试了一种解决方法:下载 .deb 包并导出 PATH,以便可以找到 autoconf、libtoolize 等。 问题是这些软件包中的二进制文件有一些指向附加脚本(作为软件包的一部分安装)的硬编码路径。现在我收到此错误: libtoolize: $pkgltdldir is not a directory: `/usr/share/libtool' ...

Admin

如何在 CentOS 7 上安装 POEdit?
autotools

如何在 CentOS 7 上安装 POEdit?

我想在 CentOS 7 上安装 POEdit。 运行后./configure,我收到一条消息,提示未安装几个库,例如 wxWidgets 和 Boost。我已安装这些库,并且配置已完成,但现在提示 LUCENE 库不可用。因此,我已下载、编译并安装了 Lucene++ 库,但问题仍未解决。有什么想法吗? 以下是抄录内容: checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checkin...

Admin

编辑
autotools

编辑

我正在使用“SUSE Linux Enterprise Server 10 (x86_64)”机器,该机器的 GVim 版本为 6.4.6,该版本相当旧,并且不受某些插件支持。 这是一台企业机器,没有人会因为我想要一个对齐插件而做任何管理变更…… 我已经下载并成功编译了 7.3 版本,使用“configure --prefix=/my/local/dir”命令。 但是,它无法识别 GTK2,并且继续使用丑陋的 Motif GUI。看来我安装了太旧的 GTK:“正在检查 GTK - 版本 >= 2.2.0... 没有” 我尝试手动将 GTK2 d...

Admin

如果我没有 root 权限,如何更新 autoconf?
autotools

如果我没有 root 权限,如何更新 autoconf?

运行失败autoreconf -iv,因为我正在使用旧的 autoconf,但由于我不是 root,我无法使用系统包管理器更新它 那么如何将 autoconf 从 2.59 更新到 2.64? 运行 autoreconf 时出现错误消息: [mirror@hugemeow gdb-7.5]$ autoreconf -iv autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal configure...

Admin

为什么 gdb 绑定到 autoconf 的固定版本?
autotools

为什么 gdb 绑定到 autoconf 的固定版本?

编辑1:我正在尝试从源代码构建 gdb。 为什么我不能使用 autoconf 2.65 而要使用 2.64?这很令人困惑:( /var/lib/gforge/chroot/home/users/mirror/ins/ins-autoconf/bin/autoreconf -iv autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal configure.ac:33: error: Please ...

Admin

为什么我构建 gdb 时找不到 termcap 库?
autotools

为什么我构建 gdb 时找不到 termcap 库?

make然后失败了: 配置:错误:未找到 termcap 库,但是 termcap 库就在那里,为什么找不到它? checking for library containing zlibVersion... -lz checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for library containing dlgetmodinfo... no checking for iconv... yes che...

Admin

为什么 rtorrent 构建失败?
autotools

为什么 rtorrent 构建失败?

我不是root,所以我必须从源代码构建 rtorrent 并希望将其安装在我的主目录中,但它失败了,为什么? [mirror@hugemeow rtorrent]$ ls AUTHORS autogen.sh ChangeLog configure.ac COPYING doc INSTALL Makefile.am NEWS rak README scripts src test [mirror@hugemeow rtorrent]$ ./autogen.sh aclocal... aclocal:configure.ac:7:...

Admin

为什么我无法从源代码构建 boost?
autotools

为什么我无法从源代码构建 boost?

这个问题与https://stackoverflow.com/questions/7644205/is-it-possible-to-have-an-unrelated-autotools-project-inside-an-autotools-projec 错误信息如下: [mirror@hugemeow tmp]$ ./configure configure: error: cannot run /bin/sh ./config.sub rm: cannot remove `core': Is a di...

Admin

为什么我无法为 vim 构建 ctags?
autotools

为什么我无法为 vim 构建 ctags?

我获得了最新未发布的版本标签使用 svn 存储库中的源代码 svn co https://ctags.svn.sourceforge.net/svnroot/ctags 我运行了./configure,但失败并出现以下错误: config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: error: cannot find input file: confi...

Admin

我应该怎么做才能构建 curl 并且不出现错误?
autotools

我应该怎么做才能构建 curl 并且不出现错误?

当我运行 ./buildconf 时失败了 错误信息如下: [mirror@home curl]$ ls acinclude.m4 CMakeLists.txt GIT-INFO MacOSX-Framework packages TODO-RELEASE Android.mk configure.ac include Makefile.am perl vc6curl.dsw buildconf COPYING ...

Admin

加快 ./configure 脚本失败时重新启动的速度
autotools

加快 ./configure 脚本失败时重新启动的速度

当./configure脚本失败时如何优化重新启动? 例如,启动 ./configure 找出缺失的依赖项;再次启动它找出下一个缺失的依赖项,依此类推。如果我们有 N 个缺失的依赖项,我们必须等待大约 N*(const+N/2) 次测试才能成功配置它。 “./configure -C”失败,并且“config.cache”为空。 ccache 已在使用中。./configure 由 /bin/dash 执行。 如何 强制其缓存部分结果? 让它在失败时继续并立即报告所有丢失的东西? 以某种方式大幅加快重新运行相同测试的速度。 是否有其他 ./c...

Admin

为什么 ./configure 找不到 Qt5?需要从源代码构建手机卡
autotools

为什么 ./configure 找不到 Qt5?需要从源代码构建手机卡

背景:我正在尝试构建和安装 ofono-phonesim来源,在 Ubuntu 20.04 aarch64 上,这样我就可以得到HFP 与 Pulseaudio 13.99 配合使用。我这样做的原因如下:这个答案说去这里,但是那里的包对我来说仍然不可用,我猜测是因为它是 amd64。 然而,当在 repo 目录上运行 ./configure 时,我收到通知说找不到 Qt,尽管我已经安装了 Qt5: 检查 QT...没有 配置:错误:需要 Qt configure.ac 中的行: PKG_CHECK_MODULES(QT, Qt5Core Qt5Gui Qt5...

Admin

使用自动工具构建 gtkmm 时出错
autotools

使用自动工具构建 gtkmm 时出错

我已经开始学习 gtkmm 编程,但第一步就卡住了。我使用的是 GNOME builder IDE 和 Ubuntu 17.10 64 位。 侏儒有一个很好的 gtkmm 教程,但构建代码在构建器中返回错误! 问题: 根据教程,源代码必须用g++编译,而builder使用gcc,因为文件名是main.c。 mohammad@Artful-K43SD:~/Projects/test/src$ g++ main.c -o simple `pkg-config gtkmm-3.0 --cflags --libs` -no-pie mohammad@Artfu...

Admin

找不到 Clementine 工具栏
autotools

找不到 Clementine 工具栏

我刚开始使用 Clementine,找不到工具栏。它没有显示在屏幕上。我怎样才能让它自己显示出来?在此先感谢所有能提供帮助的人。 ...

Admin