osx-lion

Error message for virtualenvwrapper on OS X Lion

空扰寡人 提交于 2019-12-06 17:58:52
问题 I've used homebrew to install python on a new Mac Lion installation, and have been trying to install virtualenv and virtualenvwrapper with pip, but when I start a new terminal session, I get this traceback: Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: No module named virtualenvwrapper.hook_loader virtualenvwrapper.sh: There was a problem running the initialization hooks. If Python could not import the module virtualenvwrapper.hook_loader, check that

Network Link Conditioner seems to have no effect on network behavior on Lion, Mountain Lion

我与影子孤独终老i 提交于 2019-12-06 17:02:34
问题 The Network Link Conditioner preference pane (installed from the "Hardware IO Tools for Xcode - Late July 2012" DMG on the Apple developer site) doesn't appear to have any effect when turned on. The original author of this question reported the symptoms on Mountain Lion. A later editor experienced the same symptoms and lack of expected network behavior change on Lion, with Xcode 4.5.1 installed. When enabled, /var/log/system.log shows: Jan 17 17:36:14 matt-mmf-macbook [0x0-0x1d01d].com.apple

Trouble installing mod_mono on Mac OSX Lion

我怕爱的太早我们不能终老 提交于 2019-12-06 16:07:33
There is another question regarding installing mod_mono on OSX, but I'm going to assume that was before Lion came about, which had some breaking changes for developers (like python versions). I've followed the instructions in the INSTALL readme of mod_mono-2.10. No Avail. Exactly what I've done is this: tar xvfz mod_mono-2.10.tar.gz cd mod_mono-X.Y.Z ./configure --prefix=/usr make make install $ apachectl -t httpd: Syntax error on line 54 of /private/etc/apache2/httpd.conf: Syntax error on line 8 of /private/etc/apache2/other/mod_mono.conf: Cannot load /usr/libexec/apache2/mod_mono.so into

Mac OS X Lion 10.7.2 Xcode 4.2 memory issues

六眼飞鱼酱① 提交于 2019-12-06 15:57:20
I've got MacBook Pro 2011, 15" i7 2GHz 8GB Ram 1333 MHz OS X Lion 10.7.2 all updates installed released to this date. I have done everything what I can to minimize RAM consumpsion and the only problem I've got at this point is when I run Xcode. I had 4gigs of RAM, than bought 8 gigs and always 've got 10-30 MB of free memory after 3-5 minutes of Xcode running and PAGE INS are 300MB - 700MB. I tried to switch to 32-bit running mode but no change. Can anybody help me please? justin Yes. One way is to disable indexing, another is to reduce the number of build processes. These are hidden

Using g++ on OSX Lion, ld: unknown option: -no_compact_unwind

匆匆过客 提交于 2019-12-06 15:21:23
I followed the instructions at https://sites.google.com/site/dwhipp/tutorials/mac_compilers for OSX Lion and XCode 4.3 to use g++ on the command line, but when I run it I get this: jeff~/Dropbox/cpp$ g++ hello.cpp ld: unknown option: -no_compact_unwind collect2: error: ld returned 1 exit status If you want to use the latest version of GCC (4.7) by command line on Mac OS X Lion, I have a better solution. Install MacPorts (you can download the source code and compile it or download the pkg installer): http://www.macports.org/install.php Installed MacPort, open the Terminal and type (you need the

Cannot connect to remote mysql from Mac lion

六月ゝ 毕业季﹏ 提交于 2019-12-06 15:18:06
I'm a mac novice and trying to get a developer setup to develop php sites locally. The sites he develops have a mysql backend and that is on a remote box. We got xampp installed and working, he can connect from the website to the local mysql box but he cannot connect to the remote box. He is using the exact same connection info I am using from my windows system. I do not have any issues. Also the mysql server is setup to accept all users (we are currently using root) regardless of hostname. I searched his system and I could not find a mysql.sock file. I do not know what this does, but googled

Ruby on Rails server won't start: dyld: lazy symbol binding failed: Symbol not found: _mysql_get_client_info

旧时模样 提交于 2019-12-06 15:05:32
Environment (Mac OS X 10.7.2 - Lion): $ ruby -v ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin10] $ rails -v Rails 3.1.3 $ mysql -v Server version: 5.1.44 I try running the following but I'm greeted with the same error every time even after applying fixes from all over the web: $ rails server dyld: lazy symbol binding failed: Symbol not found: _mysql_get_client_info Referenced from: /Users/pressplay/.rvm/gems/ruby-1.9.3-p0/gems/mysql2-0.3.11/lib/mysql2/mysql2.bundle Expected in: flat namespace dyld: Symbol not found: _mysql_get_client_info Referenced from: /Users/pressplay/.rvm/gems

Core Data migration failure between NSPersistenceFrameworkVersions 251 and 358

爱⌒轻易说出口 提交于 2019-12-06 14:00:58
问题 I have what appears to be a bug with Core Data in OS X 10.7.1. My data store (NSSQLiteStoreType) is not being automatically migrated correctly. As a side note the exact same Core Data models are used by an iOS version of the app. -> Here is what appears to be happening. Up until the latest release everything has been working fine -- I have 14 revisions of the model -- model 13 has been shipping for quite some time without incident. Recently I updated my app and added a new model so I am at 14

cvBlob: OSX installation

对着背影说爱祢 提交于 2019-12-06 13:30:20
问题 Is someone able to give me a quick tutorial how to install cvBlob on osx 10.7 ? On their site they only mention linux and windows. A link would also be welcome, because i can't find any tutorial how to do this. I tried to do it based on the linux tutorial and did the cmake with an extra entry with referes to my opencv folder. The cmake worked but When i do the make command, i get this error : what do i have to do ? the cmake: Thx in advance 回答1: To give a quick overview how i got cvBlobs

Cannot run migrations due to MySQL error

人走茶凉 提交于 2019-12-06 12:53:46
I have been trying to get my dev environment setup on OS X for a couple of days now, and I have had a lot of trouble with mysql. I have installed mysql via the dmg file available from the mysql website. This fixed most of the trouble I was having. My current problem is that, when I run "rake db:migrate" I get the following error: rake aborted! undefined method `init' for Mysql:Class I read somewhere that using gem 'mysql2' in the Gemfile and mysql2 as the database adapter might fix the problem. I tried doing this, but it did not work. One thing to note is that mysql is not anywhere in my PATH