Windows 7 上的 Autoconf 非常慢

发布于 2024-11-27 13:57:37 字数 486 浏览 8 评论 0原文

我正在开发一个使用 Google 的 cmockery 单元测试框架的项目。有一段时间,我能够毫无问题地构建 cmockery 项目。例如“./configure”、“make && make install”等,并且花费了合理的时间(1-2分钟左右)。在计算机上完成其他杂项任务并返回重新执行后,构建它,它变得非常慢。 (例如,十五分钟后,它仍在检查系统变量。)

我在当天早些时候进行了系统恢复,它恢复正常工作了一段时间。我一直非常小心地监控我对系统所做的任何更改,并且无法找到我正在更改的内容与问题之间的任何直接关联。然而,问题不可避免地会再次出现(通常是在我认为我一定是无意中避免了问题并继续前进时)。我能够修复它的唯一方法是将系统还原到它可以工作的时间。 (有时重新启动机器也可以,有时则不行。)

我想问题出在环境和 autoconf 本身之间,而不是 cmockery 配置中的特定内容之间。有什么想法吗?

我正在使用 MinGW,在 Windows 7 Professional 下

I am working on a project using Google's cmockery unit testing framework. For a while, I was able to build the cmockery project with no problems. e.g. "./configure", "make && make install" etc. and it took a reasonable amount of time (1-2 minutes or so.) After working on other miscellaneous tasks on the computer and going back to re-build it, it becomes horrendously slow. (e.g. after fifteen minutes it is still checking system variables.)

I did a system restore to earlier in the day and it goes back to working properly for a time. I have been very careful about monitoring any changes I make to the system, and have not been able to find any direct correlation between something I am changing and the problem. However, the problem inevitably recurs (usually as soon as I assume I must have accidentally avoided the problem and move on). The only way I am able to fix it is to do a system restore to a time when it was working. (Sometimes restarting the machine works as well, sometimes it does not.)

I imagine that the problem is between the environment and autoconf itself rather than something specific in cmockery's configuration. Any ideas?

I am using MinGW and under Windows 7 Professional

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

甜妞爱困 2024-12-04 13:57:37

确保防病毒软件没有干扰。通常,防病毒程序会监视每个文件的访问; autoconf 在运行过程中会访问许多文件,并且速度可能会大大减慢。

Make sure that antivirus software is not interfering. Often, antivirus programs monitor every file access; autoconf accesses many files during its operation and is likely to be slowed down drastically.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文