osx-mavericks

PyQt4 on Mavericks with python 3

ぐ巨炮叔叔 提交于 2019-11-30 10:25:34
I have made a python application in Xubuntu that I am currently trying to run on Mavericks. The project uses PyQt4 for it's GUI portion. I am currently trying to install PyQt4 on Mavericks and get the following error when I run brew install pyqt : Error: Qt currently requires --HEAD on Mavericks I have looked around for a solution to this or what this evens means. I have never seen this error before. So my next option was to try and install manually instead. I downloaded the project, went to the directory, and ran sudo python3 configure.py but this does not install either and I get this error:

PHP Xdebug on OS X 10.9 Mavericks

落花浮王杯 提交于 2019-11-30 10:13:36
问题 I'm having issues setting up my PHP development environment on OS X after installing OS X 10.9 Mavericks. Here is the command I am using to install. sudo pecl install xdebug downloading xdebug-2.2.3.tgz ... Starting to download xdebug-2.2.3.tgz (250,543 bytes) .....................................................done: 250,543 bytes 66 source files, building running: phpize grep: /usr/include/php/main/php.h: No such file or directory grep: /usr/include/php/Zend/zend_modules.h: No such file or

Installing Gstreamer-1.0 on Mac OS X Mavericks

两盒软妹~` 提交于 2019-11-30 09:48:46
I want to install Gstreamer-1.0 on Mac OS X Mavericks. So I already install gstreamer-1.0-1.6.0-x86_64.pkg and gstreamer-1.0-devel-1.6.0-x86_64.pkg from here . After that I tried to run something like this: gst-launch-1.0 fakesrc ! fakesink But got error: -bash: gst-launch-1.0: command not found So how I can install and use Gstreamer-1.0 on Mac OS X Mavericks? Som From https://stackoverflow.com/a/30873313/1162305 Try installing them with the following commands from your terminal: brew install gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-ffmpeg The package

Can't install rmagick, pkg-config: command not found

被刻印的时光 ゝ 提交于 2019-11-30 06:45:28
I'm trying to install rmagick on my Mac OS X v10.9 (Mavericks) machine. However. I get this error /usr/local/bin/Magick-config: line 41: pkg-config: command not found /usr/local/bin/Magick-config: line 47: pkg-config: command not found /usr/local/bin/Magick-config: line 50: pkg-config: command not found /usr/local/bin/Magick-config: line 53: pkg-config: command not found checking for stdint.h... yes checking for sys/types.h... yes checking for wand/MagickWand.h... yes /usr/local/bin/Magick-config: line 53: pkg-config: command not found Can't install RMagick 2.13.2. Can't find the ImageMagick

Failed to install command line tools on OSX Mavericks

不羁岁月 提交于 2019-11-30 06:24:34
问题 I tried to install the command line tools on Mavericks following the steps in this very useful post > xcode-select --install but after a few short seconds I get the message This seems wrong. Does anyone know how to solve this problem? Whenever I navigate to the page that @Nikos M. is suggesting I get this message I followed @Rich's suggestion and I was able to download the package and install it which I wasn't able to do before, but I've found that I still don't have access to a lot of the

SED without backup file

此生再无相见时 提交于 2019-11-30 05:37:35
I use the following sed command to replace text in the file: sed -i -e 's/noreply@\(.*\).example.com/noreply@example.com/' cron.yaml But it create backup of the file cron.yaml under name cron.yaml-e . I tried to move -i to the end: sed -e 's/noreply@\(.*\).example.com/noreply@example.com/' -i cron.yaml but in this case sed returns an error. How should I modify my command line to avoid backup file creation? Marco de Jongh According to the man page you should specify a zero length extension on macOS sed -i '' -e 's/noreply@\(.*\).example.com/noreply@example.com/' On Windows the GNUWIN32 sed

Why is git looking in the wrong directory for the git installation? (OS X)

心不动则不痛 提交于 2019-11-30 05:16:32
问题 I am new to OS X and cannot find anywhere how to fix this. I installed git but the installation was messed up and I had to remove it. I installed it using the latest git dmg file but whenever I type in git I get -bash: /usr/bin/git: No such file or directory That is because git is not installed in that directory and instead in /usr/local/bin/git If I type in the entire path to the directory than I get the correct output. So what did I do wrong and how do I fix it? Thanks. 回答1: I know this is

Where is my m2 folder on Mac OS X Mavericks

此生再无相见时 提交于 2019-11-30 04:53:53
I cant seem to find the local .m2 folder on Mac OS X mavericks. Ideally it should be at {user.home}/.m2 but I cant seem to find it. Should I create it? If you have used brew to install maven, create .m2 directory and then copy settings.xml in .m2 directory. mkdir ~/.m2 cp /usr/local/Cellar/maven32/3.2.5/libexec/conf/settings.xml ~/.m2 You may need to change the maven version in the path, mine is 3.2.5 Sachin Poreyana On the top of the screen you can find the Finder. Click Go -> Go to Folder -> search ~/.m2 If it is not found, as m2 is a hidden file you need to enable visibility by typing the

ERROR: Error installing cocoapods: ERROR: Failed to build gem native extension

我的梦境 提交于 2019-11-30 03:42:24
I am trying to install cocoapods to my macbook pro running with OSX 10.9.1 (new mavericks) and after type gem install cocoapods I get the following error: Building native extensions. This could take a while... ERROR: Error installing cocoapods: ERROR: Failed to build gem native extension. "/usr/local/rvm/rubies/ruby-1.9.3-p194/bin/ruby" -rubygems /usr/local/rvm/gems/ruby-1.9.3-p194/gems/rake-10.1.1/bin/rake RUBYARCHDIR=/Users/rangreenberg/gems/gems/xcodeproj-0.14.1/ext RUBYLIBDIR=/Users/rangreenberg/gems/gems/xcodeproj-0.14.1/ext /usr/local/rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb

Linking C from C++ in OS X Mavericks

有些话、适合烂在心里 提交于 2019-11-30 03:23:09
问题 Having transitioned to OS X Mavericks and XCode 5.0.1, I can no longer gracefully link compiled C files (output from gcc) to a C++ project (output from g++). The offending pair of commands produced from my makefile are: gcc `pkg-config --cflags glib-2.0` -g -Wall -O3 `pkg-config --cflags flann` -c -o vec.o vec.c g++ `pkg-config --cflags glib-2.0` -g -Wall -O3 -stdlib=libstdc++ -lstdc++ layoutquality.cpp vec.o `pkg-config --libs glib-2.0` -L/usr/local/Cellar/flann/1.8.4/lib -lflann -o