osx-snow-leopard

Mac OS X 10.6 APIs report incorrect EXIF data for aperture

南楼画角 提交于 2019-12-22 11:24:25
问题 I'm using two APIs to read EXIF data from images, which I'll call "valueForProperty:NSImageEXIFData" and "CGImageSourceCopyPropertiesAtIndex". Both provide the same EXIF data, although the second provides other data (e.g., GPS, TIFF), too. Both give wrong values for "ApertureValue" and "MaxApertureValue", and the correct value for "FNumber". The example program that follows dumps all of the metadata returned by each method, and also invokes ExifTool. The output is summarized at the end.

Installing PIL on Snow Leopard — NOTHING WORKS

半腔热情 提交于 2019-12-22 10:44:22
问题 I'm trying to install PIL on Snow Leopard, using Python 2.6.1, GCC 4.2.1, PIL 1.1.7, and have tried with both libjpeg6b and libjpeg7 -- nothing works. I've cleared out every trace of libjpeg/pil/zlib from fink, tried various compiler options, etc. and used http://jetfar.com/libjpeg-and-python-imaging-pil-on-snow-leopard/ and http:// www.brambraakman.com/blog/comments/installing_pil_in_snow_leopard_jpeg_resync_to_restart_error/ (not a link because StOv only lets me post one...) 4 bits of

set pastetoggle not working

北战南征 提交于 2019-12-22 08:40:10
问题 My vim setup( https://github.com/aaronjorbin/.vim ) contains set pastetoggle=<F2> yet fn+F2 (when vim is running in terminal) causes vim to enter insert mode and output a Q on it's own line (same behavior when I am already in insert mode). This is the same if I am working on my local machine or if I have sshed into another server. In iterm2, nothing happens when I am in normal or visual mode. When I am in insert mode, <F2> is inserted. My config works perfectly well on my mac mini and linux

gcc not working - Xcode 3.2.6 - Snow Leopard

爱⌒轻易说出口 提交于 2019-12-22 05:18:13
问题 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)

Update PHP within XAMPP on MAC OSX [closed]

馋奶兔 提交于 2019-12-21 19:39:17
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . I've searched a few forums already and I haven't found a definitve answer. I'm aware that the XAMPP development for MAC OSX has been suspended, however I was hoping someone could outline the steps involved or point me to some other resources. I'm currently using OSX 10.6.8, XAMPP 1.7.3, and PHP 5.3.1. I guess

Terminal displays wrong php version (Snow Leopard)

空扰寡人 提交于 2019-12-21 15:33:37
问题 Need to downgrade php to 5.2.x, so I followed this tutorial: http://andreys.info/blog/2010-03-25/compile-php-5-2-on-osx-10-6-snow-leopard#comment-631 I'm on snow leopard 10.6.4, with xcode installed. So I compiled php5.2.x and completed the tutorial. phpinfo() loaded within the browser at htp://localhost says 5.2.x, Great!! But, Terminal command "php --version" says 5.3.x ?? While compiling/installing php5.2.x, the new module file replaced the php5.3.x module here: /usr/libexec/apache2

Terminal displays wrong php version (Snow Leopard)

点点圈 提交于 2019-12-21 15:33:33
问题 Need to downgrade php to 5.2.x, so I followed this tutorial: http://andreys.info/blog/2010-03-25/compile-php-5-2-on-osx-10-6-snow-leopard#comment-631 I'm on snow leopard 10.6.4, with xcode installed. So I compiled php5.2.x and completed the tutorial. phpinfo() loaded within the browser at htp://localhost says 5.2.x, Great!! But, Terminal command "php --version" says 5.3.x ?? While compiling/installing php5.2.x, the new module file replaced the php5.3.x module here: /usr/libexec/apache2

Snow Leopard / 64-bit ruby gem problem?

本秂侑毒 提交于 2019-12-21 06:05:33
问题 I just upgraded to Snow Leopard, including installing the new XCode, re-compiled Ruby 1.8 and MySQL. My Rails app is running fine in the updated environment, except for some image processing features, which depend on ImageScience/FreeImage. I upgraded MacPorts to 1.8, removed all previously installed ports and reinstalled them in 1.8, which I assume would have installed a 64-bit versions of the ports, including FreeImage. I also re-installed the image_science and RubyInline as 64-bit gems

Qt 5 cannot deploy on SnowLeopard

泄露秘密 提交于 2019-12-21 04:50:49
问题 I have an issue where my app doesn't run on 10.6 Snow Leopard. I compile with these parameters: qmake LSPRO.pro -r -spec macx-clang CONFIG+=release CONFIG+=x86_64 in my Pro file, I have these elements: TEMPLATE = app HEADERS = \ mainwindow.h \ app_mediamanager.h \ api.h \ tool_htmleditor.h \ tool_videoencoder.h \ tool_thumbnaileditor.h SOURCES = \ main.cpp \ mainwindow.cpp \ app_mediamanager.cpp \ api.cpp \ tool_htmleditor.cpp \ tool_videoencoder.cpp \ tool_thumbnaileditor.cpp QT += network

OS X permission denied for /usr/local/lib

元气小坏坏 提交于 2019-12-20 19:11:41
问题 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