标签: make

制作 qemu-1.4.0 时出现“autoreconf: not found”错误

我是./configure'd qemu-1.4.0 并且在make它期间导致:

(cd /home/amin/Simulate/qemu-1.4.0/pixman; autoreconf -v --install)
/bin/sh: 1: autoreconf: not found
make: *** [/home/amin/Simulate/qemu-1.4.0/pixman/configure] Error 127
Run Code Online (Sandbox Code Playgroud)

现在,我找不到如何传递此错误。

谢谢。

qemu make

159
推荐指数
3
解决办法
34万
查看次数

使命令未找到

基于搜索各种论坛,我遇到了一个似乎并不常见的问题。

我无法运行 Make 命令。

信息:

The program 'make' is currently not installed. You can install it by typing:
sudo apt-get install make
Run Code Online (Sandbox Code Playgroud)

所以这样做:

sudo apt-get install make
Reading package lists... Done
Building dependency tree       
Reading state information... Done
make is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Run Code Online (Sandbox Code Playgroud)

但是当我尝试运行 Make 时,我得到了相同的消息。这是怎么回事?

编辑:Ubuntu 12.04 64 位桌面全新安装。

command-line bash zsh make

115
推荐指数
3
解决办法
43万
查看次数

我如何安装make?

/usr/bin/perl install-module.pl --all
ERROR: Using install-module.pl requires that you install "make".
Run Code Online (Sandbox Code Playgroud)

我需要在 AWS EC2 上的 ubuntu 上安装 make。我怎样才能做到这一点 ?我最终也可以成功安装 build-essential。

# make
make: *** No targets specified and no makefile found.  Stop.
Run Code Online (Sandbox Code Playgroud)

make software-installation

102
推荐指数
3
解决办法
30万
查看次数

我通过获取源代码安装了一个程序,然后运行 ​​`sudo make install`;如何让 `apt-get` 知道它?

progA通过从源代码构建它来安装程序(例如,调用它),然后最后调用sudo make installsudo ldconfig

但是,似乎apt-get还没有收到备忘录,因为在安装 时progB,这取决于progAapt-get建议我也安装progA. 这是为什么,我能做什么?

package-management apt make

46
推荐指数
2
解决办法
4839
查看次数

如何修复配置:错误:C 编译器无法创建可执行文件

用过的

./configure DFLAGS="-03"
Run Code Online (Sandbox Code Playgroud)

这是 config.log

checking build system type... i686-pc-linux-gnu  
checking host system type... i686-pc-linux-gnu  
checking target system type... i686-pc-linux-gnu  
checking for a BSD-compatible install... /usr/bin/install -c  
checking whether build environment is sane... yes  
checking for a thread-safe mkdir -p... /bin/mkdir -p  
checking for gawk... gawk  
checking whether make sets $(MAKE)... yes  
checking whether make supports nested variables... yes  
checking whether to enable maintainer-specific portions of Makefiles... no  
checking for style of include used by make... GNU  
checking for gcc... …
Run Code Online (Sandbox Code Playgroud)

command-line compiling gcc make

30
推荐指数
3
解决办法
22万
查看次数

"./configure; make; make install" 有什么作用?

有什么作用./configure?为什么make那么make install?它怎么知道在哪里libs?(它们都在那里并已加载,但无法找到它们。)libs如果编译器应该编译,为什么需要?

installation makefile make

27
推荐指数
1
解决办法
4万
查看次数

“致命错误:gtk/gtk.h:没有这样的文件或目录”使用 make

我正在尝试使用 make 命令来构建。我正在关注这个。我正在使用 GTK+2 和 C 语言编译代码

hp@ubuntu:~/amhello$ make
make  all-recursive
make[1]: Entering directory `/home/hp/amhello'
Making all in src
make[2]: Entering directory `/home/hp/amhello/src'
gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o         main.o main.c
main.c:3:20: fatal error: gtk/gtk.h: No such file or directory
compilation terminated.
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/home/hp/amhello/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hp/amhello'
make: *** [all] Error 2
Run Code Online (Sandbox Code Playgroud)

这是 main.c 代码

#include<config.h>
#include<stdio.h> …
Run Code Online (Sandbox Code Playgroud)

compiling gtk make

27
推荐指数
2
解决办法
12万
查看次数

如何在不停止的情况下知道正在执行哪个命令?

在我的示例中,我正在运行一个需要很长时间才能执行的命令(几个小时)。

我真的不记得我输入的是 make 还是 make -j4。

当然,我可以停止它并按下键或检查历史记录以了解它,但这会停止该过程,我不希望这种情况发生(以防它已经在执行 make -j4)。

有没有办法在不停止进程的情况下知道正在执行哪个命令?

command-line make

20
推荐指数
3
解决办法
3695
查看次数

如何使用 debuild 运行并行 make?

我正在尝试制作一个我(共同)编写的软件包。我正在使用

debuild -i -us -uc -b 
Run Code Online (Sandbox Code Playgroud)

原则上这很好用。为了缩短编译时间,我想 debuild 以并行运行 make (例如,我通常通过运行执行make -j4)。我在网上找到了一些建议如下的位置:

debuild -eDEB_BUILD_OPTIONS="parallel=4" -us -uc -b
debuild -j4 -us -uc -b
Run Code Online (Sandbox Code Playgroud)

另一个站点建议在debian/rules基本上设置的文件中添加一些代码

MAKEFLAGS += -j4
Run Code Online (Sandbox Code Playgroud)

然而,这些似乎都不起作用。我错过了什么吗?或者我应该在源的 autoconf/automake 设置中更改某些内容?

packaging compiling deb make debuild

19
推荐指数
3
解决办法
1万
查看次数

如何彻底删除我的 Emacs?

我下载了 Emacs 源文件,并使用make. 成功安装 Emacs 后,我手动删除了下载的源文件以节省磁盘空间。现在我想删除 Emacs 并尝试使用sudo apt-get purge emacs. 但它说 Emacs 尚未安装,不会被删除。但是我可以通过emacs在终端中输入来运行 Emacs 。该命令还which emacs显示了结果/usr/local/bin/emacs

为什么apt-get检测不到?在这种情况下如何完全删除 Emacs?我的操作系统是 Ubuntu 12.04,我的 Emacs 版本是 24.3.1。

uninstall apt emacs make

17
推荐指数
4
解决办法
5万
查看次数