How do I run Linux binaries under Mac OS X?
Googling around I found a couple of emulators but none for running Linux binaries on a Mac. There are quite a few posts about running Mac OS X on Linux and that kind of stuff - but that's the opposite of what I want to do.
Update:
Thanks for all the answers! I am fully aware of MacPorts and ...
I've got Xcode 3.2.1, and enjoy using it, but when I'm editing a file with hyperlinks in the text (for example, a comment with a reference: # see http://example.com) Xcode turns the text into a clickable hyperlink. This is a royal PITA when trying to edit that hyperlink, as it means I can't click inside it to edit a piece of the link --...
Hi,
Does anybody know how I can set a new scheme for my keyboard shortcuts that mimics the default key bindings of MS Visual Studio?
There are two default schemes in Aptana (Preferences | General | Keys) but can I create or (better still) upload a new scheme?
Ideally I'd like to avoid having to set them all manually.
I'm on a OS X Sn...
I have a custom OS X NPAPI plugin built as universal 32 bit bundle. It works fine under OS x 10.6 in Firefox. It also runs fine in Safari launched in 32 bit mode.
However, it silently fails in Safari launched in 64 bit mode. The 64 bit Safari runs 32 bit plugins in a separate process (WebKitPluginHost). Plugin log shows that the host s...
I would like to create an application that will monitor apps running on my machine, and respond to situations where an application has beachballed. Is it possible (using any of the various OSX programming tools -- I'll teach myself Objective-C for this) to detect whether this has happened? If so, can someone give me a short code sample t...
What I'm trying to do: Record the speaker output using Audio Units.
What I have tried: I'm using Apples sample code "RecordAudioToFile", (http://developer.apple.com/mac/library/samplecode/RecordAudioToFile) which does exactly what I want, except that it use the microphone as input.
It thought changing kAudioHardwarePropertyDefaultInput...
Hello,
I am building an application on Mac in Qt. I am having problems in using preferences menu item already present there.
If possible please provide some Sample code which will enable me to have the QAction on click of Preferences menu item.
Any Help is appreciated.
Thanks,
Rahul
...
Hi.
i'm writing an app that stores passwords on the keychain, and later obtains them with SecKeychainFindGenericPassword(). this works file 90% of the time, but every once in a while, the call to SecKeychainFindGenericPassword() will fail with errSecAuthFailed (-25293). when it does, just trying again, or restarting the app fixes it.
d...
sudo env ARCHFLAGS="-arch x86_64" gem install do_sqlite3
Building native extensions. This could take a while...
ERROR: Error installing do_sqlite3:
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb
checking for sqlite3.h... yes
checking for sqlite3_open() i...
I'm just starting to mess with bindings. I've started implementing a preference dialog, binding some NSColorWell's to the shared defaults controller. That's working perfectly. My values are encoded and saved correctly.
However, what's not working is canceling out of the dialog. If I cancel out, the values are still saved.
It seems l...
I am trying to make a simple document-based cocoa application that can save and load images in pdf files.
For the save part, I am using
- (NSData *)dataOfType:(NSString *)typeName error:(NSError **)outError
{
return [imageView dataWithPDFInsideRect:[imageView bounds]];
}
And this works, the image could be saved to a PDF file.
Fo...
Good & Free Editor in Mac OS with highlighting and side-by-side editing/comparison. I need it for: XML, C++ and PHP. Thanks in advance.
...
I'm mainly write iPhone apps but am familiar with some desktop Mac authoring. I need to create a Cocoa app that will include several wav sound files (included in bundle). I don't want a user viewing package contents of the .app file and then extracting all of the sound files from it. Is there a way to protect those files?
...
I'm using PIL 1.1.6 to render a truetype font on my local Windows machine. I'd like to be able to get the application running in OSX and Ubuntu (server). So far the instructions I've found all deal with specific ports repositories on OSX (Darwinports, Macports, etc.) or very outdated instructions for Linux.
Has anyone recently got ima...
I would like to know the best methods for learning to program. I've been directed towards the Python language because I was told it is good for beginners. I ultimately want to make games for OS X/iPhone.
My problem is that I understand what I read but I can't apply my knowledge to anything. I am a programming noob.
Should I stick with ...
I have a piece of software that just entered beta. A Japanese version of Mac OS X runs it fine, but a German beta tester gets a message that loosely translates to "Cannot run program because it is not supported on this type of Mac computer."
It is Intel and 10.6 only, but that is what the beta tester has. He tells me that the error sho...
Does anyone know of a code sample in objective-c for traceroute?
NOTE- I am looking for a code implementation of traceroute/tcptraceroute, NOT a utility.
...
I've been happily using Django and MySQL in development on an existing machine running OS X 10.4 Tiger, and have set up a similar environment in 10.5 Leopard on a new 64-bit MacBook, with a working MySQL and Python 2.6.4.
However, now I want them to communicate, easy_install MySQL-python gave ld warnings that the file is not of the requ...
Hi there,
I've built a widget for OS X. It's written in Flash (bah, I know) and is injected into the widget canvas via SWFObject. The problem I'm having is that the Flash has a scroll function and the entire widget is grabable. How can I disable the grab functionality on certain parts of the widget and enable it for others?
I could alw...
Sorry if this seems like it's for SuperUser. I just deleted it there :)
I am running this command on OSX
/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home/bin/java -version
and the response is
java version "1.6.0_17"
Is there any way to really run an older version of Java without downloading to a makeshift location?
OS...