macos-sierra

Cannot connect to the Docker daemon on macOS

寵の児 提交于 2019-11-28 02:50:31
I normally prefer to manage my apps on my OSX with brew I am able to install docker, docker-compose and docker-machine docker --version Docker version 17.05.0-ce, build 89658be docker-compose --version docker-compose version 1.13.0, build unknown docker-machine --version docker-machine version 0.11.0, build 5b27455 I did not download and run 'Docker for Mac' app. However when I try to run > docker run -d -p 80:80 --name webserver nginx docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?. See 'docker run --help'. I have already checked the

Payara/GlashFish won't start in NetBeans

为君一笑 提交于 2019-11-28 02:00:27
问题 I'm running Mac OS. I've set up the Payara server with NetBeans. And when I'll try to run the server it never shows the green 'dot' that indicates its online status, instead it shows the 'loading' dot forever. However, I can access it on http://localhost:4848, but when I try to deploy an application to the server I get this error: GlassFish Server is running. Starting GlassFish Server Initial deploying slit-ee to /Users/christian/slit/slit-ee/dist/gfdeploy/slit-ee Completed initial

Using OpenMP with C++11 on Mac OS

断了今生、忘了曾经 提交于 2019-11-27 22:56:20
I am trying to use some OpenMP multithreading features in my C++11 code like: #pragma omp parallel for When I try to compile using: clang++ -std=c++11 -stdlib=libc++ -fopenmp main.cpp -o main.o I get the below error: clang: error: unsupported option '-fopenmp' I alternatively tried compiling using: g++ -fopenmp main.cpp -o main.o But this gives the exact same error. Would appreciate very much if you could advise how can I compile C++11 code that has OpenMP features on Mac OS 10.12. The other questions on posts here and elsewhere explain compiling C code for OpenMP, however, I couldn't find

python setup.py egg_info mysqlclient

牧云@^-^@ 提交于 2019-11-27 19:09:05
Trying to install mysqlclient using pip3 on Python 3.6.0 $ pip3 install mysqlclient Collecting mysqlclient Using cached mysqlclient-1.3.10.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 1, in <module> File "/private/var/folders/3k/08g3yx_12kg99kyfs989md600000gn/T/pip-build-1qv_89jc/mysqlclient/setup.py", line 17, in <module> metadata, options = get_config() File "/private/var/folders/3k/08g3yx_12kg99kyfs989md600000gn/T/pip-build-1qv_89jc/mysqlclient/setup_posix.py", line 54, in get_config libraries = [dequote(i[2:]) for i

rJava linker error licuuc with Anaconda & fopenmp error without Anaconda for macOS Sierra 10.12.4

拟墨画扇 提交于 2019-11-27 15:23:28
I want to install rJava on macOS Sierra 10.12.4. My current Java version is Java version: 1.8.0_131 , according to R CMD javareconf|grep version . I have installed Java with Homebrew's cask. My Java runs the following $ java -version java version "1.8.0_131" Java(TM) SE Runtime Environment (build 1.8.0_131-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode) My R version is R version 3.3.2 (2016-10-31) -- "Sincere Pumpkin Patch" Copyright (C) 2016 The R Foundation for Statistical Computing Platform: x86_64-apple-darwin11.4.2 (64-bit) R Java config runs such that $ R CMD

How to extract contents from 'Payload' file in a apple macOS update package?

喜欢而已 提交于 2019-11-27 14:49:41
问题 I am extracting macOS sierra update package - macOSUpd10.12.1.pkg using following command to /tmp/macosupd directory. pkgutil --expand /Volumes/macOS\ Sierra\ Update/macOSUpd10.12.1.pkg /tmp/macosupd I can see following packages are bundled inside the metapackage. -rwxr-xr-x 1 Distribution drwxr-xr-x 6 FirmwareUpdate.pkg drwxr-xr-x 5 FullBundleUpdate.pkg drwxr-xr-x 36 Resources drwxr-xr-x 6 macOSUpd10.12.1.pkg I am not able to extract contents of Payload file. For example when i try to

Valgrind on macOS Sierra

北城以北 提交于 2019-11-27 11:57:21
问题 I following this guide: valgrind installation guide After I have downloading the package, and I have run the sh script, but when I launch the make install command, it couldn't create the folder because it don't have the permission (even though I have used the sudo command). Furthermore I tried with brew but I have this error: valgrind: This formula either does not compile or function as expected on macOS versions newer than El Capitan due to an upstream incompatibility. Error: An unsatisfied

GDB kind of doesn't work on macOS Sierra

匆匆过客 提交于 2019-11-27 10:44:30
It is a problem that appeared when I first updated to macOS Sierra yesterday. GDB itself is running OK. However, somehow, it cannot run my program. When I type 'run' and 'enter', it immediately crashes with the information: During startup program terminated with signal SIG113, Real-time event 113. My GDB is based on homebrew. So today, I uninstalled the whole homebrew package and reinstalled it. After the codesign step, I still faced the same error. I tried 'sudo' and a few other things. Google had no idea what happened. So I was wondering if you guys might have some magical solution. Salamit

Can't install mysql2 gem on macOS Sierra

╄→尐↘猪︶ㄣ 提交于 2019-11-27 10:26:59
问题 I'm setting up my development environment in the new macOS Sierra . First of all, I installed Rbenv , Ruby (2.3.1) , Homebrew and so the latest version of MySQL (5.7.15) . $ brew install mysql $ mysql.server start Ok, MySQL was initialized. Time to install the mysql2 gem... $ gem install mysql2 -- --with-mysql-config=/usr/local/Cellar/mysql/5.7.15/bin/mysql_config But it didn't work. 😞 Building native extensions with: '--with-mysql-config=/usr/local/Cellar/mysql/5.7.15/bin/mysql_config' This

ERROR ITMS - 90167 No. app bundles found in the package

十年热恋 提交于 2019-11-27 05:54:31
Before I start writing about the error, I'm running on macOS Sierra and using Xcode 7.3.1. So I'm creating an Archive from my App, I validate the App and it passes validation, but when uploading to App Store, I get the error "ERROR ITMS - 90167 No. app bundles found in the package". I've checked all my documentation and I have everything. I have all my provisioning profiles. I have Release as "iOS Distribution". This error just started appearing after I installed macOS Sierra. Anyone has an idea of why I'm getting this error? Thanks in Advance. Jolly Roger After chatting with folks at WWDC in