想了解ubuntu-12.04–尝试在sphinx4中提取jsapi.jar时出现关于uudecode的错误的新动态吗?本文将为您提供详细的信息,此外,我们还将为您介绍关于AWSEC2UbuntuUb
想了解ubuntu-12.04 – 尝试在sphinx4中提取jsapi.jar时出现关于uudecode的错误的新动态吗?本文将为您提供详细的信息,此外,我们还将为您介绍关于AWS EC2 Ubuntu Ubuntu 12.04.1 LTS:deb命令未找到[closed]、c – Ubuntu 12.04中的CUDA链接错误、linux – 在Ubuntu服务器12.04.4上编译Node.js v0.11.12-release错误、node.js – zeromq.node安装错误Ubuntu 12.04:’node-gyp rebuild’的新知识。
本文目录一览:- ubuntu-12.04 – 尝试在sphinx4中提取jsapi.jar时出现关于uudecode的错误
- AWS EC2 Ubuntu Ubuntu 12.04.1 LTS:deb命令未找到[closed]
- c – Ubuntu 12.04中的CUDA链接错误
- linux – 在Ubuntu服务器12.04.4上编译Node.js v0.11.12-release错误
- node.js – zeromq.node安装错误Ubuntu 12.04:’node-gyp rebuild’
ubuntu-12.04 – 尝试在sphinx4中提取jsapi.jar时出现关于uudecode的错误
当试图接受BCL时:
Accept (y/n)?: y x - creating lock directory x - extracting jsapi.jar (binary) jsapi.sh: line 257: uudecode: command not found restore of jsapi.jar Failed jsapi.jar: MD5 check Failed
根据这里的教程(https://www.youtube.com/watch?v=CSnjlmfkrG0),如果我收到错误,那么我错过了一些必要的依赖….
任何人都可以请帮助我需要哪些依赖项以及如何安装它们.
注意:
我是ubuntu的首发,所以不太了解它,所以请详细解答
谢谢
解决方法
uudecode是sharutils包的一部分,所以apt-get install sharutils可以帮助你
jsapi也真的过时了,你不应该使用它.
AWS EC2 Ubuntu Ubuntu 12.04.1 LTS:deb命令未找到[closed]
deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen
我得到这个以下错误,意味着没有找到deb命令。
$ deb Sorry,command-not-found has crashed! Please file a bug report
at: 07000 Please
include the following information with the report:command-not-found version: 0.2.44
有人可以帮助我找到如何在AWS实例中安装deb?
deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen
到文件的结尾。
然后,更新您的系统,然后安装MongoDB。假设mongodb是你需要的包,然后运行这些命令:
sudo apt-get update sudo apt-get install mongodb
c – Ubuntu 12.04中的CUDA链接错误
我一直在寻找解决我问题的方法:
我无法使用CUDA运行.cpp文件.我认为这是一个模块错误,因为我收到以下错误:
g++ -L/usr/local/cuda/lib64 -L~/NVIDIA_GPU_Computing_SDK/shared/lib/linux -L~/NVIDIA_GPU_Computing_SDK/C/common/lib/linux -L~/NVIDIA_GPU_Computing_SDK/C/lib -lcutil -lcudpp -lcuda -lcudart -lcurand -o my_file my_file.o
/usr/bin/ld: cannot find -lcutil
/usr/bin/ld: cannot find -lcudpp
我的makefile看起来像这样:
EXECUTABLE := my_file
SDKPATH := ~/NVIDIA_GPU_Computing_SDK
CUDAPATH := /usr/local/cuda
LDFLAGS := -L$(CUDAPATH)/lib64 -L$(SDKPATH)/shared/lib/linux -L$(SDKPATH)/C/common/lib/linux -L$(SDKPATH)/C/lib -lcutil -lcudpp -lcuda -lcudart -lcurand
CXFLAGS := -I$(CUDAPATH)/include -I$(SDKPATH)/shared/inc -I$(SDKPATH)/C/common/inc
CXX := g++
NVCC := $(CUDAPATH)/bin/nvcc
$(EXECUTABLE): my_file.o
$(CXX) $(LDFLAGS) -o $(EXECUTABLE) my_file.o
my_file.o: my_file.cu
$(NVCC) $(CXFLAGS) -c my_file.cu
当我,而不是尝试手动运行该文件时,我得到以下输出:
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
my_file.o: In function `__cudaUnregisterBinaryUtil()':
tmpxft_00000e8f_00000000-1_my_file.cudafe1.cpp:(.text+0xf): undefined reference to `__cudaUnregisterFatBinary'
my_file.o: In function `__sti____cudaRegisterall_59_tmpxft_00000e8f_00000000_4_my_file_cpp1_ii_71dc03a4()':
tmpxft_00000e8f_00000000-1_my_file.cudafe1.cpp:(.text+0x1f): undefined reference to `__cudaRegisterFatBinary'
collect2: ld returned 1 exit status
对于linux来说,我是一个完全的菜鸟.
任何人都可以对这种情况有所了解.
问候
解决方法:
您在构建的链接阶段有订购问题.因为您指定的库是在需要它们的文件之前提供的,所以它们会被丢弃.如果您将makefile更改为:
LDFLAGS := -L$(CUDAPATH)/lib64 -L$(SDKPATH)/shared/lib/linux -L$(SDKPATH)/C/common/lib/linux
LIBS := -lcutil -lcudpp -lcuda -lcudart -lcurand
....
$(EXECUTABLE): my_file.o
$(CXX) $(LDFLAGS) -o $(EXECUTABLE) my_file.o $(LIBS)
你会发现问题消失了.
linux – 在Ubuntu服务器12.04.4上编译Node.js v0.11.12-release错误
tericky@XXXXXXXX:/home/gitclone/node$make
make -C out BUILDTYPE=Release V=1
make[1]: Entering directory `/home/gitclone/node/out’
flock /home/gitclone/node/out/Release/linker.lock g++ -pthread -rdynamic -m64 -o /home/gitclone/node/out/Release/openssl-cli -Wl,–start-group /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/app_rand.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/apps.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/asn1pars.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/ca.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/ciphers.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/cms.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/crl.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/crl2p7.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/dgst.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/dh.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/dhparam.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/dsa.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/dsaparam.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/ec.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/ecparam.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/enc.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/engine.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/errstr.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/gendh.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/gendsa.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/genpkey.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/genrsa.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/nseq.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/ocsp.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/openssl.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/passwd.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/pkcs12.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/pkcs7.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/pkcs8.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/pkey.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/pkeyparam.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/pkeyutl.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/prime.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/rand.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/req.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/rsa.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/rsautl.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/s_cb.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/s_client.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/s_server.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/s_socket.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/s_time.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/sess_id.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/smime.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/speed.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/spkac.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/srp.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/ts.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/verify.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/version.o /home/gitclone/node/out/Release/obj.target/openssl-cli/deps/openssl/openssl/apps/x509.o /home/gitclone/node/out/Release/obj.target/deps/openssl/libopenssl.a -Wl,–end-group -ldlflock: g++: No such file or directory
make[1]: * [/home/gitclone/node/out/Release/openssl-cli] Error 69
make[1]: Leaving directory `/home/gitclone/node/out’
make: * [node] Error 2
更新:
安装g后,一切都很好.
解决方法
安装build essential,它是编译Debian软件包所需的所有软件包的参考.它通常包括gcc / g编译器库和一些其他工具
sudo apt-get install build-essential
node.js – zeromq.node安装错误Ubuntu 12.04:’node-gyp rebuild’
$npm install zmq
但是,我一直收到以下错误.任何帮助将非常感激.
gyp ERR! build error gyp ERR! stack Error: `make` Failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/share/npm/node_modules/node-gyp/lib/build.js:215:23) gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:91:17) gyp ERR! stack at Process._handle.onexit (child_process.js:674:10) gyp ERR! System Linux 3.2.0-29-generic gyp ERR! command "node" "/usr/share/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/robot/code/game/node_modules/zmq gyp ERR! node -v v0.8.6 gyp ERR! node-gyp -v v0.6.3 gyp ERR! not ok npm ERR! zmq@2.1.0 install: `node-gyp rebuild` npm ERR! `sh "-c" "node-gyp rebuild"` Failed with 1 npm ERR! npm ERR! Failed at the zmq@2.1.0 install script. npm ERR! This is most likely a problem with the zmq package,npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get their info via: npm ERR! npm owner ls zmq npm ERR! There is likely additional logging output above. npm ERR! System Linux 3.2.0-29-generic npm ERR! command "nodejs" "/usr/bin/npm" "install" "zmq" npm ERR! cwd /home/robot/code/game/test/amqp npm ERR! node -v v0.8.6 npm ERR! npm -v 1.1.48 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/robot/code/game/test/amqp/npm-debug.log npm ERR! not ok code 0
解决方法
$sudo apt-get update $sudo apt-get install build-essential $sudo apt-get install libzmq-dev $npm install zmq
关于ubuntu-12.04 – 尝试在sphinx4中提取jsapi.jar时出现关于uudecode的错误的介绍现已完结,谢谢您的耐心阅读,如果想了解更多关于AWS EC2 Ubuntu Ubuntu 12.04.1 LTS:deb命令未找到[closed]、c – Ubuntu 12.04中的CUDA链接错误、linux – 在Ubuntu服务器12.04.4上编译Node.js v0.11.12-release错误、node.js – zeromq.node安装错误Ubuntu 12.04:’node-gyp rebuild’的相关知识,请在本站寻找。
本文标签: