我是./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)
现在,我找不到如何传递此错误。
谢谢。
基于搜索各种论坛,我遇到了一个似乎并不常见的问题。
我无法运行 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 位桌面全新安装。
/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) 我progA通过从源代码构建它来安装程序(例如,调用它),然后最后调用sudo make install和sudo ldconfig。
但是,似乎apt-get还没有收到备忘录,因为在安装 时progB,这取决于progA,apt-get建议我也安装progA. 这是为什么,我能做什么?
用过的
./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) 有什么作用./configure?为什么make那么make install?它怎么知道在哪里libs?(它们都在那里并已加载,但无法找到它们。)libs如果编译器应该编译,为什么需要?
我正在尝试使用 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) 在我的示例中,我正在运行一个需要很长时间才能执行的命令(几个小时)。
我真的不记得我输入的是 make 还是 make -j4。
当然,我可以停止它并按下键或检查历史记录以了解它,但这会停止该过程,我不希望这种情况发生(以防它已经在执行 make -j4)。
有没有办法在不停止进程的情况下知道正在执行哪个命令?
我正在尝试制作一个我(共同)编写的软件包。我正在使用
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 设置中更改某些内容?
我下载了 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。