I'm trying to install the Python Imaging Library on Mac OS X 10.4, but I get errors. I'm not sure where the error starts, it's just a huge wall of text when executing sudo python setup.py install.
But the last few lines are:
...
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccNKvQpP.out (No such file or di...
I am new to cocoa development and want to create a little app. For that app I need a background worker that is running all the time and a prefpane-app that gives the user the opportunity to change the settings for that background worker.
The gui for the prefpane is ready, the background worker is ready, too. One of the few missing thing...
Pretty much exactly what the topic says : I've got a project that's grown to several hundred files and the on-disk directory structure is rather ugly. Is there a way to have it automatically shuffle files around and create a directory structure based on my internal groups rather without breaking everything?
...
Recently switched to Textmate on Mac for coding. On PC when ever I want to tab in or out a block of code I just highlight and press tab or shift+tab to move it in our out. It's very useful when you are adding an extra loop or conditional statement to a block of code to keep everything tidy and neatly indented.
On Textmate however when...
I just installed python 2.6 on my mac, mainly because I couldn't find freeze in my 2.5 distribution. I am wondering where freeze is. Is it even installed at all in the mac distribution?
...
Here is what I came up with. It works but I was wondering if there is something more elegant. Thank you!
Misha
/* Copyright (c) 2010 Misha Koshelev. All Rights Reserved.
*
* TODO:
* - Add Linux support
*/
package com.mksoft.common;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileWriter;
import java.io.InputS...
We're setting up RoR with Development on Mac OS X Client (10.6.3) and then using a Mac OS X Server (10.5.8) for testing and eventually deployment.
I'd like to get as many systems in sync on these machines as possible. Wondering if there are any pitfalls. I mostly understand what's necessary under Client but Server has some hard-wired st...
Note: This question is only based on Firefox. It may or may not apply to other browsers.
Using the Google Maps API (v3), I can create a map and handle normal click events just fine, but when I want to handle rightclick events, it doesn't work on Macs.
So, my question is how can you detect "rightclick" events from Macs with the Google ...
Until now, most of my PHP development had been done on a Mac in TextMate. For a new client I need to work on a secured windows box, and I was wondering which IDEs I should be looking at, as someone used to working with TextMate. I've tried the 'E' editor, and I'm unconvinced. I've tried IDEs on the Mac, and they always seem like poor rel...
hi, I am very new to Mac.
I downloaded QT SDK Mac Open source (http://get.qt.nokia.com/qtsdk/qt-sdk-mac-opensource-2010.02.dmg) and installed the Package.
I can run qmake, build samples and run demos,
but I cannot run configure (in order to build the Qt libraries statically).
It says: -bash: No such file or directory.
Documentation say...
I am attempting to install xulrunner on OSX 10.6.3 using the following:
sudo port install xulrunner
However, I am receiving the following error:
nat-10-200-136-126:phoneyc-new $ sudo port install xulrunner
---> Computing dependencies for xulrunner
---> Activating zlib @1.2.5_0
Error: The following dependencies failed to build: gcon...
I need to hide the file in finder as well as in spotlight if possible using objective-c or using C calls.
Thanks
...
I have hosted an asp.net 2.0 site. Everyday, i am getting an error "Padding is invalid and cannot be removed" 2-3 times. Backend used is sql server 2005. the site is controlled via plesk 9.2 CP.
Pooling is enabled with timeout as 120 Minutes, in IIS. Can it be the reason for this? I have not used any encryption except for the stored p...
I need mac (carbon) equivalent for CryptProtectData and CryptUnProtectData.
Please refrain from suggesting a cocoa solution with "move to cocoa" since that's not an option.
...
Every so often when I run git add . to add new files to my repo my git index will reset and think all the files in the repo have been deleted. I run these commands:
git status
git add .
git status
git commit -a -m "Commit message"
everything looks fine at all those points until I commit and it says every file was deleted, all I have t...
I want to create a window on Mac with kWindowCompositingAttribute. Windows in my code are using NewCWindow (and not CreateNewWindow) (legacy code).
Before I jump on to CreateNewWindow, I wanted to check if there is some way to enable this attribute using NewCWindow().
...
Hello all,
I have a project whose artifacts are two dynamic libraries, let's say libX.dylib and libY.dylib (or .so for linux distributions). There are no executables.
Now I would like to distribute these libraries. Since I already use CMake to compile it, I looked at CPack and successfully generated .tgz and .deb packages for Linux. ...
I'm trying to get my program to automatically associate certain file extensions to be opened by it but I'm not sure how to do that in MacOSX. I'm not asking how to associate a program with a file extension in the GUI, I want to be able to program it into my program.
...
I saw this in NSArray.h header file in the framework directory:
enum {
NSBinarySearchingFirstEqual = (1UL << 8),
NSBinarySearchingLastEqual = (1UL << 9),
NSBinarySearchingInsertionIndex = (1UL << 10),
};
typedef NSUInteger NSBinarySearchingOptions;
What's the point of "NSBinarySearchingFirstEqual = (1UL << 8)"?And what's t...
Hi all,
For windows and linux I am able to detect right click. But for mac I donot know how to detect right-click.
How to write java program to detect right click for Mac OS
Thanks
Sunil KUmar Sahoo
...