osx-snow-leopard

OS X permission denied for /usr/local/lib

夙愿已清 提交于 2019-12-20 19:11:11
问题 I'm looking for any advice/intuition/clues/answers on a permission issue that has been plaguing me ever since I switched over to a new Macbook pro. Here's the dilemma. Certain programs copy libraries under /usr/local/lib during install and upon running these programs I get a crash which I believe is related to permission restrictions to files in this folder. I've had errors (can't access files from this path) trying to install plugins for audacity and then tried doing an "ls" under this

Django manage.py syncdb throwing No module named MySQLdb

倖福魔咒の 提交于 2019-12-20 10:43:13
问题 I am a newbie learning Python/Django... Am using the following tutorial located here. Created a mysite database in MySQL 5 running on Snow Leopard. Edited the settings.py file to look like this: DATABASE_ENGINE = 'mysql' DATABASE_NAME = 'mysite' DATABASE_USER = 'root' DATABASE_PASSWORD = '' DATABASE_HOST = '' DATABASE_PORT = '' Now when I run the following command: python manage.py syncdb I receive the following error: Traceback (most recent call last): File "manage.py", line 11, in <module>

Building with xcodebuild Timed out waiting for <IDEWorkspace, 0x2004cebc0>/“runContextManager.runContexts”

隐身守侯 提交于 2019-12-20 08:46:56
问题 I am setting up my iphone project to run with hudson, my build script works fine locally, but when executing the following command on my snow leopard server mac xcodebuild -sdk iphoneos4.3 -workspace Moments.xcworkspace/ -scheme Moments -configuration DistributionTest I get the following error messages. Build settings from command line: SDKROOT = iphoneos4.3 2011-05-11 10:32:17.729 xcodebuild[4151:903] WARNING: Timed out waiting for /"runContextManager.runContexts" (10.010780 seconds elapsed)

Subversion has stopped working with snow leopard install

走远了吗. 提交于 2019-12-20 04:15:30
问题 With the install of snow leopard access to subversion has stopped working, any one know how I can fix it? When I click on my repository I get list svn+ssh//yoda@192.168.0.6/library/subversion/respository/apps Error 210002 (Network connection closed unexpectedly Description: (null) Any help would be very gratefully received. 回答1: You seem to be connecting through SSH. First try to manually ssh into the remote server. ssh -vvv yoday@192.168.0.6 Since it's a local address, I assume it's another

Rails-MySQL Error - uninitialized constant MysqlCompat::MysqlRes

北慕城南 提交于 2019-12-20 04:11:35
问题 Trying to get a Rails app running on Snow Leopard. Downloaded mysql-5.5.8-osx10.6-x86_64.dmg and ran installer Ruby 1.8.7 (Default OS X version) Rails 2.3.5 When I attempt to run "rake db:migrate" I get rake aborted! uninitialized constant MysqlCompat::MysqlRes Yes I know this has been asked before. I have already reviewed the following links and followed the steps included in them and the result is the same each time. Rails, MySQL and Snow Leopard http://techliberty.blogspot.com/2009/12

LaunchDaemons and Environment Variables

感情迁移 提交于 2019-12-20 03:42:28
问题 For a while now, I've been noticing that my MacPorts-installed Apache2 instance hasn't been starting when I start up (MacPorts Apache2 Stopped Launching on Boot). The LaunchDaemon is loaded. Today I bumped into something in a log file that may point to an answer, but I can't find any confirmation. I use environment variables in my httpd.conf file. Specifically, the ${HOME} variable. Is it possible (or probable, etc.) that environmental variables are fully loaded when LaunchDaemons are

I'm trying to install psycopg2 onto Mac OS 10.6.3; it claims it can't find “stdarg.h” but I can see it's there; what should I do?

时间秒杀一切 提交于 2019-12-19 08:23:34
问题 I'm desperately trying to successfully install psycopg2 but keep running into errors. The latest one seems to involve it not being to find "stdarg.h" (see code below). However I can see with my own eyes that a file called stdarg.h exists at /Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h (where it claims it can't find anything) so I've no idea what to do about it. I'm running Mac OS 10.6.3 and within the last few days I've made sure I have all the latest OS developer tools. I have Python

I'm trying to install psycopg2 onto Mac OS 10.6.3; it claims it can't find “stdarg.h” but I can see it's there; what should I do?

旧时模样 提交于 2019-12-19 08:21:16
问题 I'm desperately trying to successfully install psycopg2 but keep running into errors. The latest one seems to involve it not being to find "stdarg.h" (see code below). However I can see with my own eyes that a file called stdarg.h exists at /Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h (where it claims it can't find anything) so I've no idea what to do about it. I'm running Mac OS 10.6.3 and within the last few days I've made sure I have all the latest OS developer tools. I have Python

Change color of title bar in cocoa

不问归期 提交于 2019-12-19 04:42:46
问题 This must have been asked before, but after Googling I still can't find the answer. How do you change the color of the title bar (The bar that you can click and drag around with the close, minimize and maximize buttons) to a different color than the default gray in Cocoa? 回答1: If you set the background color of a "textured" window (a distinction that isn't really all that visible in Snow Leopard) that color will be applied to the titlebar as well. This is what Firefox does. I would recommend

Upgraded to ruby 1.9.2 and getting Segmentation Fault errors in nokogiri

只谈情不闲聊 提交于 2019-12-18 17:11:11
问题 I decided to upgrade to 1.9.2 ruby yesterday and also installed rvm to do it. I ran a few recent files I had working previously on 1.8.7 but anything requiring nokogiri fails with the following errors. /Users/myusername/.rvm/gems/ruby-1.9.2-p0/gems/nokogiri-1.4.3.1/lib/nokogiri/nokogiri.bundle: [BUG] Segmentation fault ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0] I am running nokogiri 1.4.3.1, ruby 1.9.2 on OSX Snow Leopard 10.6.4 回答1: If you get a Segmentation fault error