osx-snow-leopard

gcc not working - Xcode 3.2.6 - Snow Leopard

夙愿已清 提交于 2019-12-05 07:01:56
I'm a bit of a novice at messing around with my environment and I seem to have rather broken it. Many thanks in advance for any assistance you can offer. The main symptom is that when trying to run rvm install 1.9.3 I get the following trace: Installing Ruby from source to: /Users/duncanstuart/.rvm/rubies/ruby-1.9.3-p0, this may take a while depending on your cpu(s)... ruby-1.9.3-p0 - #fetching ruby-1.9.3-p0 - #extracted to /Users/duncanstuart/.rvm/src/ruby-1.9.3-p0 (already extracted) Fetching yaml-0.1.4.tar.gz to /Users/duncanstuart/.rvm/archives Extracting yaml-0.1.4.tar.gz to /Users

git command-line on Mac OS error “dyld: Symbol not found: ___strlcpy_chk”

妖精的绣舞 提交于 2019-12-05 03:59:35
I installed git on Mac os, when i try to create a new repository with git init , i get this error : dyld: lazy symbol binding failed: Symbol not found: ___strlcpy_chk Referenced from: /usr/local/git/bin/git Expected in: /usr/lib/libSystem.B.dylib dyld: Symbol not found: ___strlcpy_chk Referenced from: /usr/local/git/bin/git Expected in: /usr/lib/libSystem.B.dylib Trace/BPT trap: 5 NB: I don't have Xcode installed. you can consider my solution: Open XCode(Install one if you didn't install it.), and press "COMMAND + ,". Click "Download". Find "command line tool", download and install it.Then

CakePHP: Can't access MySQL database

倖福魔咒の 提交于 2019-12-05 03:33:47
I'm new to CakePHP and am just running through the configuration process, but am stumped why Cake can't access my MySQL database. The Cake info page says my tmp directory is writable, the FileEngine is being used for caching (don't know what this means), and my database configuration file is present, but that CakePHP cannot connect to the database. Here are my setup details: PHP 5.3 (pre-installed on Snow Leopard) MySQL 5.1.40 64-bit CakePHP 1.2.4.8284 Here are the steps I went through: Created a MySQL schema called cake_blog Created a MySQL user called cake_blog_user Granted cake_blog_user

NI VISA + pyVisa on Mac OS X (Snow Leopard)

╄→尐↘猪︶ㄣ 提交于 2019-12-05 00:16:36
问题 Has anyone had success running pyVisa on Snow Leopard with a NI GPIB module? Based on all of the forums I have read on NI's website, it does not appear that the combination of NI VISA and pyVisa can be done on Max OS X. The troubling part is that NI website has the NI VISA support listed for Mac OS X. However in their support pages, they do not list OS X as a supported OS. Any comments or help would be greatly appreciated as I would really like to get away from having to use Windows to do

Problem trying to install PyCurl on Mac Snow Leopard

巧了我就是萌 提交于 2019-12-04 22:54:00
问题 My app needs to use PyCurl, so I tried to install it on my Mac but I found a lot of problems and errors. Requirement: First of all I have to say that the version of Python working on my Mac is 32 bit based, because I need to use WxPython, that needs 32 bit Python. For doing this I used: defaults write com.apple.versioner.python Prefer-32-Bit -bool yes To install PyCurl I used: sudo env ARCHFLAGS="-arch x86_64" easy_install setuptools pycurl And the terminal returned: Best match: setuptools 0

Mac 10.6 Universal Binary scipy: cephes/specfun “_aswfa_” symbol not found

那年仲夏 提交于 2019-12-04 22:31:31
问题 I can't get scipy to function in 32 bit mode when compiled as a i386/x86_64 universal binary, and executed on my 64 bit 10.6.2 MacPro1,1. My python setup With the help of this answer, I built a 32/64 bit intel universal binary of python 2.6.4 with the intention of using the arch command to select between the architectures. (I managed to make some universal binaries of a few libraries I wanted using lipo.) That all works. I then installed scipy according to the instructions on hyperjeff's

How do I keep track of file locations on Mac OS X?

被刻印的时光 ゝ 提交于 2019-12-04 21:54:40
问题 One of the nice features of BBEdit is how it keeps track of files no matter what happens to those files. The application that I am working on needs to keep track of the location of a number of files owned by the user. The user can move or delete these files and my application needs to know where those files are even if my application was not running at the time the change in location happened. What is a recommended strategy for this problem or what could it be? Keeping track of files while

Strip metadata from files in Snow Leopard

扶醉桌前 提交于 2019-12-04 21:21:25
I found the command "mdls" which will show the metadata but I can't see how to delete it. I want to get rid of the comments "kMDItemFinderComment", "kMDItemWhereFroms" from my files. Is there a way to do this? I think you're looking for the xattr command, available in Terminal: xattr -pr com.apple.metadata:kMDItemFinderComment / that will print all the finder comments for all files on your boot volume. To delete, use the -d switch: xattr -dr com.apple.metadata:kMDItemFinderComment / You should test this out on a single file before running it in bulk. usage: xattr [-l] [-r] [-v] [-x] file [file

Error installing memcached gem on Snow Leopard - wrong architecture?

血红的双手。 提交于 2019-12-04 21:08:53
I'm having an issue installing the memcached ruby gem on my Mac Pro machine with OS X Snow Leopard (10.6.4). Memcache is installed and working fine and for most projects I use the memcache-client gem without issue, but this current project I need to use the memcached gem instead. Installing the gem with env ARCHFLAGS='-arch x86_64' gem install memcached or just via the normal gem install memcached both give the same error when trying to run the application: (in /src/mojotech/projectr) dlopen(/Users/cpjolicoeur/.rvm/gems/ruby-1.8.7-p174/gems/memcached-0.19.7/lib/rlibmemcached.bundle, 9): no

Python2.6 and Snow Leopard. Problem installing appscript (and MANY other packages)

≡放荡痞女 提交于 2019-12-04 20:36:49
I've been having nothing but trouble with python2.6 and Snow Leopard. One major problem is 32 vs 64-bit libraries. The other manifests itself like this: tppllc-mbp15$ sudo easy_install-2.6 appscript Searching for appscript Reading http://pypi.python.org/simple/appscript/ Reading http://appscript.sourceforge.net Best match: appscript 0.21.1 Downloading http://pypi.python.org/packages/source/a/appscript/appscript-0.21.1.tar.gz#md5=351f3e493f9259516fce6eecde155195 Processing appscript-0.21.1.tar.gz Running appscript-0.21.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-DiXejT/appscript-0.21.1