我下载了 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。
我已阅读此解决方案 。
我想要 nodeman 作为 react-native 的依赖
./configure命令没有错误, 并且按照给定的解决方案工作正常
gd@gd10:/tmp$ git clone https://github.com/facebook/watchman.git
Cloning into 'watchman'...
remote: Counting objects: 18852, done.
remote: Compressing objects: 100% (103/103), done.
remote: Total 18852 (delta 50), reused 64 (delta 27), pack-reused 18718
Receiving objects: 100% (18852/18852), 12.37 MiB | 1011.00 KiB/s, done.
Resolving deltas: 100% (12582/12582), done.
gd@gd10:/tmp$ cd watchman/
gd@gd10:/tmp/watchman$ git checkout v4.7.0
Note: checking out 'v4.7.0'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and …Run Code Online (Sandbox Code Playgroud) 我遵循了这些说明。我common.mak成功编辑了文件,运行时出现make此错误:
mohd-arafat-hossain@TUD:~/aircrack-ng-1.1$ make
make -C src all
make[1]: Entering directory `/home/mohd-arafat-hossain/aircrack-ng-1.1/src'
make -C osdep
make[2]: Entering directory `/home/mohd-arafat-hossain/aircrack-ng-1.1/src/osdep'
Building for Linux
make[3]: Entering directory `/home/mohd-arafat-hossain/aircrack-ng-1.1/src/osdep'
make[3]: `.os.Linux' is up to date.
make[3]: Leaving directory `/home/mohd-arafat-hossain/aircrack-ng-1.1/src/osdep'
make[2]: Leaving directory `/home/mohd-arafat-hossain/aircrack-ng-1.1/src/osdep'
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -Iinclude -c -o aircrack-ng.o aircrack-ng.c
In file included from aircrack-ng.c:65:0:
crypto.h:12:26: fatal error: openssl/hmac.h: No such file or directory
compilation terminated.
make[1]: *** [aircrack-ng.o] Error 1
make[1]: Leaving …Run Code Online (Sandbox Code Playgroud) 我在安装Armadeus实验板APF27DEV的软件环境,试了下make命令,报错如下:
On your system /bin/sh is a symbolic link that doesn't point to /bin/bash --> please correct that !
lrwxrwxrwx 1 root root 4 2013-08-03 20:57 /bin/sh -> dash
Run Code Online (Sandbox Code Playgroud)
为了解决此错误,我尝试将所有 shebangs 从 更改#!/bin/sh为#!/bin/bash,并且还尝试了以下命令行:
ln -s /bin/bash /bin/sh
Run Code Online (Sandbox Code Playgroud)
但是,我所做的一切都没有解决问题。任何人都可以帮我解决这个问题吗?
我是 Ubuntu 的新手并使用 Ubuntu 14.04 64 位。我想make一个项目,用途cuda和opencv运行时,我得到了以下错误cmake . && make
Linking CXX executable ground_estimation
/usr/bin/ld: cannot find -lcudart
collect2: error: ld returned 1 exit status
make[2]: *** [ground_estimation] Error 1
make[1]: *** [CMakeFiles/ground_estimation.dir/all] Error 2
make: *** [all] Error 2
Run Code Online (Sandbox Code Playgroud)
这是输出 ld -lcudart --verbose
attempt to open /usr/x86_64-linux-gnu/lib64/libcudart.so failed
attempt to open /usr/x86_64-linux-gnu/lib64/libcudart.a failed
attempt to open //usr/local/lib/x86_64-linux-gnu/libcudart.so failed
attempt to open //usr/local/lib/x86_64-linux-gnu/libcudart.a failed
attempt to open //usr/local/lib64/libcudart.so failed
attempt to open //usr/local/lib64/libcudart.a …Run Code Online (Sandbox Code Playgroud) 我正在尝试编译这里收到的下载:https://code.google.com/p/linux-g13-driver/通过运行 make 但我收到了错误,在网上搜索后,看起来他们是程序员的错,但他们是:
g++ c-source/G13.o c-source/G13Action.o c-source/Macro.o c-source/MacroAction.o c-source/Main.o c-source/Output.o c-source/PassThroughAction.o -o Linux-G13-Driver -lusb-1.0
/usr/bin/ld: c-source/Main.o: undefined reference to symbol 'pthread_kill@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [Linux-G13-Driver] Error 1
Run Code Online (Sandbox Code Playgroud)
如果有人有任何想法,请帮助我真的想让它运行
我下载了 empathy-3.0.1.tar.bz2 以安装在Ubuntu 10.04 LTS 中。
我运行了makefile,但出现错误:
配置:错误:未找到 glib-compile-schemas。
我该如何解决这个问题?请帮我。
我正在尝试按照教程让 CudaMiner在 Linux 上工作。我煞费苦心地安装了 NVidia 驱动程序,Cuda 5.0,顺便说一句,当我运行时,我在最后一步失败了make:
make all-recursive
make[1]: Entering directory `/var/progs/CudaMiner'
Making all in compat
make[2]: Entering directory `/var/progs/CudaMiner/compat'
Making all in jansson
make[3]: Entering directory `/var/progs/CudaMiner/compat/jansson'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT dump.o -MD -MP -MF .deps/dump.Tpo -c -o dump.o dump.c
/bin/bash: gcc: command not found
make[3]: *** [dump.o] Error 127
make[3]: Leaving directory `/var/progs/CudaMiner/compat/jansson'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/progs/CudaMiner/compat'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving …Run Code Online (Sandbox Code Playgroud) 我正在这里编译一些程序,我有 4 个内核。有没有办法告诉make,cmake或gcc使用所有内核或其他影响进行编译?
类似的问题已被问到here,但没有得到答复。
我有一个Levenberg-Marquardt(从某处下载)的实现,我正在尝试编译它,但出现以下错误。
gauravloj@vertex:~/Documents/source_code/non-rigid_registration/Gauss_newton/levmar-2.6$ make
[ 87%] Built target levmar
Linking C executable lmdemo
/usr/bin/ld: CMakeFiles/lmdemo.dir/lmdemo.c.o: undefined reference to symbol 'exp@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [lmdemo] Error 1
make[1]: *** [CMakeFiles/lmdemo.dir/all] Error 2
make: *** [all] Error 2
Run Code Online (Sandbox Code Playgroud)