BREW

gem install fails with openssl failure

匿名 (未验证) 提交于 2019-12-03 01:54:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I tried to install cocoapods ( http://cocoapods.org/ ) on my OSX Mountain Lion. moshe - mbp :~ moshem$ gem install cocoapods ERROR : Could not find a valid gem 'cocoapods' (>= 0 ), here is why : Unable to download data from https : //rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server key exchange B: bad ecpoint (https://rubygems.org/latest_specs.4.8.gz) first I tried rvm reinstall all -- force then I tried brew upgrade openssl ==> Upgrading openssl ==> Downloading http : //openssl.org/source/openssl-1.0.1e.tar

How to install Haskell on Mac OS

匿名 (未验证) 提交于 2019-12-03 01:47:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to install Haskell on my Macbook two days and can not get the success. What I have done: $ brew install ghc Fine. Now I am trying to install $ cabal install text and get next error messages: Data/Text.hs:1074:4: error: invalid preprocessing directive #-} ^ I have googled and found this . So: brew install gcc48 $ /usr/local/bin/gcc-4.8 --version gcc-4.8 (GCC) 4.8.2 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or

How to install latest version of openssl Mac OS X El Capitan

匿名 (未验证) 提交于 2019-12-03 01:47:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have used brew install openssl to download and install openssl v1.0.2f, however, it comes back saying: A CA file has been bootstrapped using certificates from the system keychain. To add additional certificates, place .pem files in /usr/local/etc/openssl/certs and run /usr/local/opt/openssl/bin/c_rehash This formula is keg-only, which means it was not symlinked into /usr/local. Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries Generally there are no consequences of this for you. If you build your own software

Install gnuplot 5.0.1 on OSX

匿名 (未验证) 提交于 2019-12-03 01:47:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I downloaded the source files for gnuplot 5.0.1 (gnuplot-5.0.1.tar.gz) from the source forge page . I also installed the Command Line Tools on my OS X 10.7.5 so that I have gcc and make in the /usr/bin folder. I followed the installation instructions found in INSTALL.gnu file of the tarball: I ran the configure file and typed make , make check , make install , and make clean . With these commands, gnuplot is located in /usr/local/bin/ . The make check command outputs a lot of lines in the shell before testing many gnuplot scripts. I could

require': incompatible library version - /home/suresh/.gem/gems/nokogiri-1.6.8/lib/nokogiri/nokogiri.so (LoadError)

匿名 (未验证) 提交于 2019-12-03 01:45:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: While running the server, i am getting the error incompatible library version.Already Nokogiri is installed in my system.Any Advice 回答1: I would reinstall rvm or rbenv. Also try: $gem uninstall nokogiri libxml-ruby $brew update $brew uninstall libxml2 $brew install libxml2 --with-xml2-config $brew link --force libxml2 $brew install libxslt $brew link --force libxslt $bundle config build.nokogiri -- --with-xml2-dir=/usr --with-xslt- dir=/opt/local --with-iconv-dir=/opt/local $bundle install I had a similiar issue when upgrading to rails 5.

PyGame Installation Mac OS X

匿名 (未验证) 提交于 2019-12-03 01:34:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I downloaded Python 2.7.10 and I wanted to install pygame. I downloaded the DMG from pygame's website (Version 1.9.1) and installed it. To test if pygame was installed properly, I opened IDLE and entered the command import pygame just for the following error to return: File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/__init__.py", line 95, in <module> from pygame.base import * ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/base.so, 2): no

Kubernetes create deployment unexpected SchemaError

匿名 (未验证) 提交于 2019-12-03 01:33:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm following that tutorial ( https://www.baeldung.com/spring-boot-minikube ) I want to create Kubernetes deployment in yaml file (simple-crud-dpl.yaml): apiVersion: apps/v1 kind: Deployment metadata: name: simple-crud spec: selector: matchLabels: app: simple-crud replicas: 3 template: metadata: labels: app: simple-crud spec: containers: - name: simple-crud image: simple-crud:latest imagePullPolicy: Never ports: - containerPort: 8080 but when I run kubectl create -f simple-crud-dpl.yaml i got: error: SchemaError(io.k8s.api.autoscaling

Yosemite and Valgrind

匿名 (未验证) 提交于 2019-12-03 01:27:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Can you tell me how to install valgrind on yosemite? When I try to install it i get " checking for the kernel version... unsupported (14.0.0) configure: error: Valgrind works on Darwin 10.x, 11.x, 12.x and 13.x (Mac OS X 10.6/7/8/9) " There is no official path or update, and I didn't found anything (except http://comments.gmane.org/gmane.comp.kde.devel.bugs/1553705 , but they didn't resolve that problem). 回答1: As there's no stable release that supports Yosemite, you can install the latest development version with brew install --HEAD valgrind

brew install clang-omp not working

匿名 (未验证) 提交于 2019-12-03 01:25:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I need to compile a C++ code with OpenMP on my Mac. Unfortunately the default version of clang installed on the Mac (703.0.31) does not support OpenMP. Therefore, I am trying to install the clang-omp package with brew (e.g., following this guide). The issue is that brew cannot find neither the libiomp, nor the clang-omp package: $ brew install clang-omp Error: No available formula with the name "clang-omp" ==> Searching for similarly named formulae... Error: No similarly named formulae found. ==> Searching taps... Error: No formulae found in

Brew doctor - “warning: unbrewed header files were found in /usr/local/include”?

匿名 (未验证) 提交于 2019-12-03 01:18:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: When I run brew doctor , the following error is thrown Warning : Unbrewed header files were found in / usr / local / include . If you didn 't put them there on purpose they could cause problems when building Homebrew formulae, and may need to be deleted. Unexpected header files: /usr/local/include/curl/curl.h /usr/local/include/curl/curlbuild.h /usr/local/include/curl/curlrules.h /usr/local/include/curl/curlver.h /usr/local/include/curl/easy.h /usr/local/include/curl/mprintf.h /usr/local/include/curl/multi.h /usr/local/include/curl