osx-mountain-lion

Configure error with Mac OS X 10.8.5 Xcode 5.0.2: clang: error: argument to '-V' is missing (expected 1 value) clang: error: no input files

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-03 17:28:37
问题 on MacOSX 10.8.5, after upgrading to Xcode 5.0.2 (and upgrading/installing the Command Line Tools (from within Xcode preferences) I was installing FFTW 3.3.3 and Open MPI 1.6.5 by configuring them from the sources. I get the same type of error in both config.log files in the configure step, which shows the problem is not with the programs as I downloaded them from the official websites. In short, the first error I see in the both logs is: configure:3750: checking for gcc configure:3766: found

Xcode Localization Not Working?

不问归期 提交于 2020-01-03 16:22:41
问题 I am trying to add a new localization for my app for Mac OS X (Mountain Lion). I added the appropriate localizations to the project info panel and made all the .xib files localized. I also added and translated the .strings file and replaced the .xib files with the translated strings file. Then everything seemed to be working, and the interface builder showed appropriate translations for each localization xib file. However, when I actually run the app, it is shown in English, although the

Matplotlib not working after successful installation on Mountain Lion

让人想犯罪 __ 提交于 2020-01-03 03:57:07
问题 I installed all the dependencies listed on the matplotlib website. However, it still doesn't work. I listed the python stack trace and installed python packages below. So, how can I solve this problem? Python stack trace: >>> import pylab Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Library/Python/2.7/site-packages/pylab.py", line 1, in <module> from matplotlib.pylab import * File "/Library/Python/2.7/site-packages/matplotlib/pylab.py", line 229, in <module>

Can't install Ruby on Mountain Lion with rvm

僤鯓⒐⒋嵵緔 提交于 2020-01-01 19:00:03
问题 Have tried to install Ruby on Mountain Lion using rvm, but got this error message: ruby-1.9.3-p362 - #extracted to /usr/local/rvm/src/ruby-1.9.3-p362 ruby-1.9.3-p362 - #configuring Error running 'env LDFLAGS=-L/opt/sm/pkg/active/lib CFLAGS=-I/opt/sm/pkg/active/include CPATH=/opt/sm/pkg/active/include ./configure --enable-shared --disable-install-doc --prefix=/usr/local/rvm/rubies/ruby-1.9.3-p362 --with-opt-dir=/usr/local/rvm/usr', please read /usr/local/rvm/log/ruby-1.9.3-p362/configure.log

What to do about Carbon functions that are deprecated in MacOS/X 10.8.x?

こ雲淡風輕ζ 提交于 2020-01-01 11:41:07
问题 I have a C++ codebase that has been around for a while (10+ years) and it compiles and runs fine, but I notice that when I compile it under OS/X 10.8.x (Mountain Lion), the compiler emits deprecation warnings about some of the Carbon functions it calls: ../system/SetupSystem.cpp:575:44: warning: 'UpTime' is deprecated: first deprecated in OS X 10.8 [-Wdeprecated-declarations] ../system/SetupSystem.cpp:575:22: warning: 'AbsoluteToNanoseconds' is deprecated: first deprecated in OS X 10.8 [

The digital signature is not trusted. Java will not allow any access to this application

淺唱寂寞╮ 提交于 2020-01-01 07:36:07
问题 I have a Java Web Start application, which I've tested on Windows 7, Linux and Mac OS X 10.7 (works fine on all). On Mac OS X 10.8 Mountain Lion the following error occurs, with no option to choose "Allow". The error looks like this: Does anyone know of a workaround for this? 回答1: Just found a solution: Go into System prefs -> security and privacy, and check the box that allows applications to be downloaded from anywhere (you might have to click the lock to make changes to this) 回答2: This is

Where to put SQLite database to keep it from being over-ridden during update on OS X?

纵然是瞬间 提交于 2020-01-01 07:07:54
问题 I'm developing my first OS X application which will be distributed through Mac App Store. The app makes use of an sqlite database which I am currently keeping on the same location as the rest of app file dependencies. I'm using Qt Framework to develop the application. Keeping within the boundaries of App Store rules; Where can I locate the database file for it not to be overridden during app updates? How should I structure the .app folder and all the dependencies? Thank you. 回答1: Your

Mac OS X Facebook login failed - no stored remote_app_id for app

大城市里の小女人 提交于 2019-12-31 20:40:09
问题 I am trying to use the new ACAccountStore capabilities on Mac OS X 10.8 to login via Facebook but I get an error: The Facebook server could not fulfill this access request: no stored remote_app_id for app When the code executes the requestAccessToAccountsWithType message it does prompt me for access to Facebook (which I allow) and I do have Facebook credentials stored in my Settings. I also have another code path for legacy versions of OS X which logs into Facebook using the WebView control.

Remove application from Notification Center

寵の児 提交于 2019-12-28 09:08:47
问题 Hey I was playing around with making a small cocoa application and using the new Notification Center API in Mountain Lion. However my app is now present in the notification center settings, together with Calendar, Messages and so on. As it was just me playing around I want it to disappear from the list now, but I cannot find anyway to remove it, tried several things, dragging it out, holding alt+right click and so on. Does anyone know where the (probably a) plist that populates that list

Access Denied for MYSQL ERROR 1045

可紊 提交于 2019-12-28 06:23:24
问题 I just got a new macbook pro (OS X 10.8.2) and am attempting to get mysql set up on it. So far I've been able to get it installed but I cannot get my root user access (or any user for that matter). I plan on using this for Python , on my other computer I only use MYSQL (no MAMP) and I prefer to keep it that way. For reference, I did the following: $ alias mysql=/usr/local/mysql/bin/mysql $ sudo /Library/StartupItems/MySQLCOM/MySQLCOM start $ alias mysqladmin=/usr/local/mysql/bin/mysqladmin