当前位置: 技术问答>linux和unix
Ubuntu新人在安装软件时遇到No such file or dictionary 想请问如何解决
来源: 互联网 发布时间:2017-05-17
本文导语: Ubuntu新人,现在需要研究学习一款 MIT开发,开源数据库加密软件叫做CRYPTDB。 通过GIT下载后 包含了自动安装的文件 install.rb 但是安装RUBY后 按照网上的教程会写No such file or dictionary 不知怎么解决。想麻烦问一...
Ubuntu新人,现在需要研究学习一款 MIT开发,开源数据库加密软件叫做CRYPTDB。
通过GIT下载后 包含了自动安装的文件 install.rb
但是安装RUBY后 按照网上的教程会写No such file or dictionary 不知怎么解决。想麻烦问一下应该如何解决,谢谢!
网上教程如下
First, what is CryptDB.
Second, reference system: Ubuntu Linux LTS 12.04.x 32bit 64bit (see this comment).
Third, [NEW] installation:
sudo apt-get udate
sudo apt-get install git ruby
git clone -b public git://g.csail.mit.edu/cryptdb
cd cryptdb
sudo ./scripts/install.rb .
Done. It’s that simple now 8-)
运行sudo ./scripts/install.rb . 提示找不到。文件确实存在,自己敲的时候按TAB可以自动补全出来。
这是自带README文件的内容
* Requirements:
> Ubuntu 12.04, 13.04
> ruby
* Build CryptDB using the installation script.
> note, this script will stop and start your mysql instance.
> scripts/install.rb
+ should just be '.' if you are in the cryptdb
directory
+ the script will likely require root privileges in order to
install dependencies and UDFs.
* Username/Password
By default cryptdb uses 'root' for the username and 'letmein'
for the password. You can change this by modifying the source.
+ Tests: test/test_utils.hh
+ Shell: main/cdb_test.cc
+ Proxy: mysqlproxy/wrapper.lua
* Rebuildling CryptDB
If you modify the source and want to rebuild, issue 'make' in the
cryptdb directory. If you change the UDFs you will also need to do
'make install' (which will likely require root privilege).
不知道问题出在哪里,所以想请问一下大家有没有什么建议~非常感谢!
通过GIT下载后 包含了自动安装的文件 install.rb
但是安装RUBY后 按照网上的教程会写No such file or dictionary 不知怎么解决。想麻烦问一下应该如何解决,谢谢!
网上教程如下
First, what is CryptDB.
Second, reference system: Ubuntu Linux LTS 12.04.x 32bit 64bit (see this comment).
Third, [NEW] installation:
sudo apt-get udate
sudo apt-get install git ruby
git clone -b public git://g.csail.mit.edu/cryptdb
cd cryptdb
sudo ./scripts/install.rb .
Done. It’s that simple now 8-)
运行sudo ./scripts/install.rb . 提示找不到。文件确实存在,自己敲的时候按TAB可以自动补全出来。
这是自带README文件的内容
* Requirements:
> Ubuntu 12.04, 13.04
> ruby
* Build CryptDB using the installation script.
> note, this script will stop and start your mysql instance.
> scripts/install.rb
+ should just be '.' if you are in the cryptdb
directory
+ the script will likely require root privileges in order to
install dependencies and UDFs.
* Username/Password
By default cryptdb uses 'root' for the username and 'letmein'
for the password. You can change this by modifying the source.
+ Tests: test/test_utils.hh
+ Shell: main/cdb_test.cc
+ Proxy: mysqlproxy/wrapper.lua
* Rebuildling CryptDB
If you modify the source and want to rebuild, issue 'make' in the
cryptdb directory. If you change the UDFs you will also need to do
'make install' (which will likely require root privilege).
不知道问题出在哪里,所以想请问一下大家有没有什么建议~非常感谢!
|
1:查看下install.rb文件的可执行权限
2:将sudo去掉试试
2:将sudo去掉试试
|
ls -l ./scripts/install.rb 看看权限