homebrew

brew install gnuplot --with-qt --with-x11 not working

南楼画角 提交于 2020-04-10 03:40:09
问题 I tried installing gnuplot on a Mac (Mojave 10.14.2) using homebrew today, and it brew is not accepting --with-qt nor --with-x11 (I tried other variants, such as --with-qt5 and --with-x, with no luck.) brew options gnuplot did not report any options. How are we supposed to get the qt and x11 terminals installed on gnuplot now? 回答1: I contacted the brew maintainer who had most recently modified the gnuplot formula. Brew is no longer allowing options in formulas, so "brew install gnuplot --with

Ma用brew安装mysql5.7

£可爱£侵袭症+ 提交于 2020-04-09 17:59:18
安装 brew install mysql@5.7 // 安装 brew link --force mysql@5.7 // 链接 brew services start mysql@5.7 // 启动服务 brew services stop mysql@5.7 brew services restart mysql@5.7 设置密码 启动之后,输入一行 mysql_secure_installation 5.7.x对密码有了更严格的要求,分为LOW,MEDIUM,STRONG三个等级,对应要求如下: LOW Length >= 8 MEDIUM Length >= 8, numeric, mixed case, and special characters STRONG Length >= 8, numeric, mixed case, special characters and dictionary file 选low即可,要输入8位,我这里使用12345678 ,其他一路y。 启动 ➜ ~ brew services start mysql@5.7 ==> Successfully started `mysql@5.7` (label: homebrew.mxcl.mysql@5.7) 来源: oschina 链接: https://my.oschina.net/u

mac zookeeper安装使用

◇◆丶佛笑我妖孽 提交于 2020-04-09 04:26:14
zookeeper是构建分布式系统的重要组件,今天尝试了使用homebrew在mac上安装zookeeper,本文是安装过程的完整记录. 安装zookeeper 查看可用版本 使用命令 $ brew info zookeeper 查看可用版本信息: zookeeper: stable 3.4.8, HEAD Centralized server for distributed coordination of services https://zookeeper.apache.org/ Not installed From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/zookeeper.rb ==> Options --with-perl Build Perl bindings --with-python Build with python support --HEAD Install HEAD version ==> Caveats To have launchd start zookeeper now and restart at login: brew services start zookeeper Or, if you don't want/need a background service

How to install qt4 with home-brew

雨燕双飞 提交于 2020-04-08 17:59:11
问题 I'm trying to install LabelImg, but in order to do so I need to install qt4 first because I'm using python 2. All the guides I find tell me to do brew install qt qt4 But I just get "Error: No formulae found in taps." I also tried brew install cartr/qt4/qt But when I went to build LabelImg I get make: *** [qt4py2] Error 1 I am on the latest version of OSX and I have tried the alternative methods of installing Qt, it seems like it is installed properly, but I can't use it to make anything 回答1:

How to install qt4 with home-brew

和自甴很熟 提交于 2020-04-08 17:58:14
问题 I'm trying to install LabelImg, but in order to do so I need to install qt4 first because I'm using python 2. All the guides I find tell me to do brew install qt qt4 But I just get "Error: No formulae found in taps." I also tried brew install cartr/qt4/qt But when I went to build LabelImg I get make: *** [qt4py2] Error 1 I am on the latest version of OSX and I have tried the alternative methods of installing Qt, it seems like it is installed properly, but I can't use it to make anything 回答1:

cmake - osx/mac - openssl brew

亡梦爱人 提交于 2020-04-07 19:06:45
问题 i am using the following cmake commands # Search OpenSSL find_package(PkgConfig REQUIRED) pkg_search_module(OPENSSL REQUIRED openssl) if( OPENSSL_FOUND ) include_directories(${OPENSSL_INCLUDE_DIRS}) message(STATUS "Using OpenSSL ${OPENSSL_VERSION}") else() # Error; with REQUIRED, pkg_search_module() will throw an error by it's own endif() it works on linux and on Mac - but on mac it uses the osx-shipped libssl - wich throws a alot of deprecation warnings e.g. 'SSL_library_init' is deprecated:

cmake - osx/mac - openssl brew

霸气de小男生 提交于 2020-04-07 19:05:24
问题 i am using the following cmake commands # Search OpenSSL find_package(PkgConfig REQUIRED) pkg_search_module(OPENSSL REQUIRED openssl) if( OPENSSL_FOUND ) include_directories(${OPENSSL_INCLUDE_DIRS}) message(STATUS "Using OpenSSL ${OPENSSL_VERSION}") else() # Error; with REQUIRED, pkg_search_module() will throw an error by it's own endif() it works on linux and on Mac - but on mac it uses the osx-shipped libssl - wich throws a alot of deprecation warnings e.g. 'SSL_library_init' is deprecated:

cmake - osx/mac - openssl brew

依然范特西╮ 提交于 2020-04-07 19:05:16
问题 i am using the following cmake commands # Search OpenSSL find_package(PkgConfig REQUIRED) pkg_search_module(OPENSSL REQUIRED openssl) if( OPENSSL_FOUND ) include_directories(${OPENSSL_INCLUDE_DIRS}) message(STATUS "Using OpenSSL ${OPENSSL_VERSION}") else() # Error; with REQUIRED, pkg_search_module() will throw an error by it's own endif() it works on linux and on Mac - but on mac it uses the osx-shipped libssl - wich throws a alot of deprecation warnings e.g. 'SSL_library_init' is deprecated:

系统挂了,记录一下备份的东西

99封情书 提交于 2020-04-07 10:03:09
十月国庆,今天电脑卡了,更新过系统什么sela语音之后,没法关机,无奈重装系统吧蛋疼的就是下面的了,装了系统又要重新配置一些环境什么的 记录以下,顺便给新系统做了备份以后,再出问题就按照步骤来 1 备份系统数据,xcode用户数据 2 备份vim配置文件vimrc, ~/.vimrc 以及/usr/share/vim/vim73 或/vim74里面的colors文件,这个主要主题颜色设置 3 制作mac U盘命令 sudo /Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/iPlaySoft --applicationpath /Applications/Install\ OS\ X\ Yosemite.app --nointeraction 这里注意要下载好E1系统或你之前有系统双击安装进application,才能进行这一步,注意/Volumes/下面填写自己U盘名字 4 装系统新版mac OS X E1 5 系统装完,接下来配置一些常用的 搜狗输入,键盘切换语言设置,终端颜色配置,把保存的vimrc重新恢复过来,colors里面的主题也恢复过来 6 安装homebrew ruby -e "$(curl -fsSL https:/

Can't find qt or x11 terminal gnuplot with CATALINA

∥☆過路亽.° 提交于 2020-04-07 07:34:21
问题 I installed gnuplot on my Macbook with Catalina 10.15.13. When I use it in Xcode it does not show me anything, it provides WARNING: Plotting with an 'unknown' terminal. No output will be generated. Please select a terminal with 'set terminal'. Having said that, I saw that to plot data I would need of the terminals qt or x11 which I do not have. The questions are two: How can I install them? homebrew does not allow me to use brew "install gnuplot --with-x11" In order to see the data, Do I have