标签: install

从源代码构建Erlang OTP的OpenSSL错误

尝试构建一个完全独立的OTP,可以独立于系统上安装的库移动.

从源代码构建OpenSSL 1.0.0d如下:

./config --prefix=<open-ssl-dir>
make
make install
Run Code Online (Sandbox Code Playgroud)

那么OTP R14B03:

./configure --prefix=<erlang-dir> --with-ssl=<open-ssl-dir> --without-termcap
Run Code Online (Sandbox Code Playgroud)

然后Erlang的make失败如下:

relocation R_X86_64_32 against `OPENSSL_ia32cap_P' can not be used when making a shared object; recompile with -fPIC
Run Code Online (Sandbox Code Playgroud)

我们正在谈论Ubuntu 10.04.任何帮助非常感谢 - 谢谢!

erlang install openssl rpath ld

1
推荐指数
1
解决办法
3510
查看次数

锚定Firefox扩展?

我的网站上有一个Firefox插件.我将插件的下载链接添加到一个简单的,但是当用户单击它时,它会提示他下载插件的.XPI文件 - 有没有办法,所以我可以为我的插件弹出正常的EXTENSION INSTALL窗口?是否有任何特殊的事情要做,或者这只在addons.mozilla.org中可用?

install firefox-addon

1
推荐指数
1
解决办法
93
查看次数

无法安装rails gem

不知怎的,我的rails安装成功隐藏了......

我有:

ruby 1.9.2p290 (2011-07-09 revision 32553) [i686-linux]
rvm 1.10.0-pre 
gem 1.8.10
Run Code Online (Sandbox Code Playgroud)

我尝试安装rails:

sudo gem install rails
Run Code Online (Sandbox Code Playgroud)

它工作正常:

Successfully installed rails-3.1.3
1 gem installed
Installing ri documentation for rails-3.1.3...
Installing RDoc documentation for rails-3.1.3...
Run Code Online (Sandbox Code Playgroud)

当我做:

rails - v
Run Code Online (Sandbox Code Playgroud)

我明白了

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

而且,当我这样做

rake
Run Code Online (Sandbox Code Playgroud)

在rails app根目录中,我得到:

Missing the Rails  gem. Please `gem install -v= rails`, update your 
RAILS_GEM_VERSION setting in config/environment.rb for the Rails version 
you …
Run Code Online (Sandbox Code Playgroud)

ruby gem install ruby-on-rails rvm

1
推荐指数
1
解决办法
2287
查看次数

未安装的数据库

我的应用程序需要一个数据库.但是,我想要一个像SQL Express这样的便携式数据库,用户不需要安装任何数据库.

但是我的环境现在改为Linux.有什么建议?

我接受SQL(Oracle,SQL Server,Postgre ...)和非SQL(mongodb ...等)数据库.谢谢!

database install portable-database

1
推荐指数
1
解决办法
481
查看次数

CoffeeScript使用NPM和节点安装

可能重复:
在mac 10.7.2上安装coffeescript时出错

目前,我正在尝试在我的计算机上安装CoffeeScript.我有node.js版本0.6.7和npm 1.1.0-beta-10.当我运行命令npm install -g coffee-script时,它会显示此错误.

npm http GET https://registry.npmjs.org/coffee-script
npm http 200 https://registry.npmjs.org/coffee-script
npm http GET https://registry.npmjs.org/coffee-script/-/coffee-script-1.2.0.tgz
npm http 200 https://registry.npmjs.org/coffee-script/-/coffee-script-1.2.0.tgz
npm ERR! Could not create /usr/local/lib/node_modules/___coffee-script.npm
npm ERR! error installing coffee-script@1.2.0
npm ERR! Error: EACCES, permission denied '/usr/local/lib/node_modules/___coffee-script.npm'
npm ERR! Report this *entire* log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>
npm ERR! 
npm ERR! System Darwin 11.0.1
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "coffee-script"
npm ERR! cwd /Users/Solomon …
Run Code Online (Sandbox Code Playgroud)

install node.js coffeescript npm

1
推荐指数
1
解决办法
2896
查看次数

无提示安装Haskell平台

我正在尝试将Haskell平台部署到3个大学实验室.虽然安装程序只有90mb,但提取的Haskell几乎是1GB.我已经重新包装,但它仍然太大了.是否有任何可以与HaskellPlatform-2011.2.0.1-setup.exe一起使用的命令行参数,以便我可以编写安装脚本?

谢谢

windows platform install haskell silent

1
推荐指数
1
解决办法
708
查看次数

在node.js安装的节点文件夹放在哪里?

它目前位于以下目录中:/ Users/myusername/node

但我觉得它应该更接近根?也许在/ Developer?我在网上找到其他建议时遇到了麻烦.我现在正在使用macosx lion.

谢谢!

macos install node.js

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

在苹果osx狮子,不要在路径

我是苹果和osx的新手.我从应用程序商店安装了xcode,现在我的文件系统中有一个make-executable:

192:~ herbert$ locate make | grep bin
/Applications/Xcode.app/Contents/Developer/usr/bin/gnumake
/Applications/Xcode.app/Contents/Developer/usr/bin/make
/opt/X11/bin/gccmakedep
/opt/X11/bin/makedepend
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/cross/m68k-elf-binutils/files/binutils-makeinfo-check.patch
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/cross/mipsel-linux-binutils/files/300-001_ld_makefile_patch.patch
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/libinchi-1/files/patch-INCHI-1-API_INCHI_API_gcc_so_makefile-makefile.diff
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/science/indi/files/patch-libindi.pc.cmake.diff
/usr/X11/bin/gccmakedep
/usr/X11/bin/makedepend
/usr/bin/makeinfo
/usr/sbin/makedbm
192:~ herbert$
Run Code Online (Sandbox Code Playgroud)

不幸的是,它不在我的道路上.将/Application/Xcode.app/Content/Developer/usr/bin/附加到我的路径将是一个选项,它似乎是不可行的.我可以以某种方式将其安装到/ usr/...或/ opt/local/...?

192:~ herbert$ echo $PATH
/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
192:~ herbert$ 
Run Code Online (Sandbox Code Playgroud)

macos xcode install makefile path

1
推荐指数
1
解决办法
1266
查看次数

可以在本地安装autopy吗?

我似乎在安装autopy.h时遇到了一些麻烦

https://github.com/msanders/autopy/#introduction
Run Code Online (Sandbox Code Playgroud)

我已经通过git尝试了安装:

$ git clone git://github.com/msanders/autopy.git
$ cd autopy
$ python setup.py build
Run Code Online (Sandbox Code Playgroud)

但我收到以下错误:

>python setup.py build 
running build
running build_py
running build_ext
building 'color' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DNDEBUG=1 -DMM_LITTLE_ENDIAN -DUSE_X11 -I/usr/include/python2.6 -c src/autopy-color-module.c -o build/temp.linux-i686-2.6/src/autopy-color-module.o -Wall -Wparentheses -Winline -Wbad-function-cast -Wdisabled-optimization -Wshadow
In file included from src/autopy-color-module.c:1:
src/autopy-color-module.h:5:20: error: Python.h: No such file or directory
In file included from src/autopy-color-module.c:1:
src/autopy-color-module.h:11: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘initcolor’ …
Run Code Online (Sandbox Code Playgroud)

python install autopy

1
推荐指数
1
解决办法
1299
查看次数

android:使用包安装程序以编程方式安装应用程序

我正在以编程方式安装Android应用程序.出现一个"完成操作使用"对话框.他们之间有许多选项"Package Installer".如何在不要求用户选择的情况下隐式选择"包安装程序"?

编辑 我正在使用的代码是:

 Intent intent = new Intent();
intent .setDataAndType(Uri.fromFile(new File("/mnt/sdcard/download/App.apk")),"application/vnd.android.package-archive");
startActivity(intent);
Run Code Online (Sandbox Code Playgroud)

android install action package-managers

1
推荐指数
1
解决办法
2292
查看次数