osx-mountain-lion

Cannot install capybara-webkit gem

跟風遠走 提交于 2019-12-11 05:57:01
问题 This is really a tough one for me. I'm trying to migrate over to Mountain Lion but I get the following when trying to install capybara-webkit. The initial error: Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /Users/martinb/.rvm/rubies/ruby-1.9.3-p374/bin/ruby extconf.rb cd src/ && /usr/bin/qmake /Users/martinb/.rvm/gems/ruby-1.9.3-p374/gems/capybara-webkit-0.14.1/src/webkit_server.pro -spec /usr/local/Qt4.7/mkspecs/macx-g++ -o Makefile.webkit_server cd src/

Mountain Lion: Can't connect to local MySQL server through socket '/tmp/mysql.sock'

随声附和 提交于 2019-12-11 05:53:14
问题 I installed mysql via homebrew. I ran the two commands brew suggests: unset TMPDIR mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp When I tried to run the mysql_secure_installation script, I receive this error: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) A separate thread led me to believe it had to do with permissions: connect to local MySQL server through socket I ran

Magick++ not linking in OS X 10.8

冷暖自知 提交于 2019-12-11 05:36:38
问题 I am getting this error when I try to link my application with ImageMagick++. Undefined symbols for architecture x86_64: "Magick::Image::read(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from: ... I am using the latest OSX SDK (10.8)... and compiling to x86_64 My library was compiled this way: ./configure --disable-osx-universal-binary --without-perl --enable-shared --disable-static --without-pango --with-magick-plus-plus --with

Am I allowed to ask for and store a user's itunesconnect password?

六眼飞鱼酱① 提交于 2019-12-11 05:25:43
问题 I am building an Apple developer analytics app, which displays info stored in itunesconnect Daily Sales Reports. Thus I would like to automatically download these Daily Sales Reports (which I achieved by using this script). This app will be released on the Mac App Store and is sandboxed. Am I allowed to ask for and store a user's itunesconnect password? If so, what is the correct way to do it? EDIT: Thank you James and Michael, Keychain Services is definitely the way to go. I do have one

How can the R location be customized for RStudio

ぃ、小莉子 提交于 2019-12-11 03:39:41
问题 I previously used homebrew to install R and the package installer for RStudio. Recently I started using Boxen, which takes over homebrew. I had to re-install R from source using homebrew, and it now exists in my Boxen Cellar location. Now RStudio no longer launches, saying "Unable to locate R binary by scanning standard locations". I tried reinstalling RStudio (I needed to upgrade anyway) but that didn't help. It doesn't even open for long enough to let you specify a custom location. 回答1: OK

Rcpp+Eclipse on Mac OS X

旧城冷巷雨未停 提交于 2019-12-11 00:06:11
问题 I am trying to get started using Rccp and decided to use Eclipse as a development environment since I already use StatEt for R. I am having trouble getting even a simple program to compile and run though, and would appreciate some help! Briefly I tried to follow the instructions on the blog: http://blog.fellstat.com/?p=170 exactly for setting up Rcpp, RInside and Eclipse, and for the example program. I am running on Mountain Lion, and installed g++ using the command line options in XCode. I

Xcode 3.2.6 and Mountain Lion

可紊 提交于 2019-12-10 22:09:57
问题 I use Xcode 3.2.6 sometimes instead of Xcode 4 because I find some advantages doing that. I had an old installation of Xcode 3.2.6 on Snow Leopard and updated to Lion and Xcode works as before. No problems at all. Now I intend to update to Mountain Lion. Now I have read about people having problems with Xcode 3.2.6 on Mountain Lion, especially Interface Builder. Does anybody here have experiences? May I continue running Xcode 3.2.6 on Mountain Lion? 回答1: Lars: Haven't done extensive testing

Does installing gfortran with homebrew and with an installer create a conflict?

给你一囗甜甜゛ 提交于 2019-12-10 19:51:29
问题 I was following an online tutorial to install some Python modules using homebrew and one step was to install gfortran with brew install gfortran . Later on, I tried using another third-party installation script to install some Python modules and after the fact I realized that part of what the script did was download and run http://r.research.att.com/tools/gcc-42-5666.3-darwin11.pkg. I don't know that much about gfortran, but looking at the brew formula for gfortran it appears that brew uses a

How to get back Java Preferences in OS X with Java for OS X 2012-006?

馋奶兔 提交于 2019-12-10 16:26:25
问题 After installing the Java for OS X 2012-006 update, the Java Preferences app, for configuring applets and, more importantly for me, Java Web Start apps has gone. The tech note about this update says: This update also removes the Java Preferences application, which is no longer required to configure applet settings. If it's no longer required, what has replaced it, or how do I get back the same functionality? One of the things I used to be able to do was configure when / how the Java Console

Cython compiling/linking fails on Mac OS X 10.8

南笙酒味 提交于 2019-12-10 15:25:15
问题 I'm a newbee to python and try to play around with Cython with a simple example founded in http://blog.perrygeo.net/2008/04/19/a-quick-cython-introduction/ The cython file is named c1.pyx Then run cython c1.pyx , it was fine. Then run gcc -c -fPIC -I/usr/include/python2.7/ c1.c , it was fine too. But then run gcc -shared c1.o -o c1.so , it didn't go through. Can anyone shed some light on this? Here is the error message: Undefined symbols for architecture x86_64: "_PyCFunction_NewEx",