leopard

Fixing broken Macports

I just tried (for the first time, I might add) a port upgrade installed in Macports, and I'm afraid I might come to regret it: A lot of errors -- specially regarding X11 and Python. Here's a typical error message regarding python: ---> Activating python24 2.4.5_4+darwin_9 Error: Activating python24 2.4.5_4 failed: Image...

Can you Bind to the timeInterval attribute of an NSDatePicker?

I've got a Core Data application that has an Event class, which has a start date and a finish date. It's trivial to bind these to a pair of NSDatePicker widgets, but I wanted to make it work with the NSRangeDateMode available in Leopard. The NSDatePicker has a pair of methods that deal with timeInterval, but I don't seem to be able to ...

Replacement for kicker.bundle in SystemConfiguration in OS X Leopard

I'm trying to find the replacement for kicker.bundle that was found in /System/Library/SystemConfiguration in OS X pre 10.5 (Leopard). I can't seem to find any sort of official documentation on the matter. Does anyone know what the replacement is? Thanks, k. ...

Eclipse keyboard shortcuts broken in OSX 10.5.6

So I have been using Leopard for a year now, and the lastest update broke the keyboard mapping for eclipse. I use the dvorak layout, and now in eclipse if I press the ⌘ and the b key it does a build, instead of a cut(b = x). Does anyone else have this issue, and are there any workarounds? EDIT: The best current workaround is to upgra...

Accessing a webserver from a cocoa application.

I am writing a cocoa application in which I want to download a file from a webserver. What will be the most convenient method to go about doing this? Should I go in for NSSockets or a NSUrlRequest? Or is there any other easier way to achieve this? ...

python install on leopard

Hi, I'll admit I'm completely dumbed by python install. Can someone help me on how to install module I want to play with PyGame, PyOpenGL etc. So I install them, but I everytime I type "import pygame" error message shows up. here's my environment so far. In .bash_profile PATH=${PATH}:/System/Library/Frameworks/Python.framework/Versi...

Can I programatically open, search and return results in a browser from multiple websites?

Currently I have a bookmarked list of websites that I look for content on, and open them in a new window, in tabs, and search for the string that I want to find. Is there any way to do this programatically, ending up with a browser window containing the results pages of the sites? There's around 20 of them. I'm running Safari 3 on Mac ...

Where does Leopard Server's MySQL store its data?

I'm trying to recover a table in a MySQL database from Time Machine, however I don't know and can't find where Leopard Server's MySQL stores its data files. Does anyone know where they are stored? Is there an easy way to run mysqldump on them without restoring them? Is there anything else I should know about Time Machine and MySQL data...

mpirun on os X

Is there a way to run a local mpi job locally on os X leopard(10.5.6) with more than 62 processes. When I run the job with 62 processes, it dies $mpirun -np 62 a.out mpirun noticed that job rank 0 with PID 0 on node Macintosh-001D4F4BC6BC.private exited on signal 15 (Terminated). 60 additional processes aborted (not shown) and when...

How to use Mac OS X Cocoa events for multitouch gestures

I'm writing a program that has an NSView embedded in an NSScrollView which user can zoom. I'd love to set it up so the user can zoom the view using the multitouch pinch gesture supported on MacBook Air and the new unibody MacBooks/MacBooks Pro and in applications like Safari and iPhoto. I've hunted through Apple's documentation and can't...

Differences between stock Apache on OS X 10.5 Leopard and OS X 10.5 Leopard Server?

Would someone with first-hand experience be able to tell me if there are any differences between the Apache installation that comes with OS X 10.5 Leopard and OS X 10.5 Leopard Server? ...

What configuration file sets $DISPLAY in Leopard?

According to this, for best results in Leopard my $DISPLAY variable should start with /tmp/launchd. Alas, my $DISPLAY variable is /tmp/launch-aLhnOW/:0 I do not set $DISPLAY in any of these ... /private/etc/profile /private/etc/bashrc ~/.bash_profile ~/.profile ... so I suspect there is some other configuration file that X11 is rea...

How to install Glade in Mac OSX Leopard

How can I install Glade in Mac OSX Leopard? I haven't found any guide that really helped me. Thanks! ...

How to set up PEAR on Mac OS X 10.5 Leopard

I'm ultimately trying to install PEAR so I can easily install PHPUnit. I want to set up a Mac, Apache, MySQL, PHP, PHPUnit development environment so I can test locally. I already have Apach, MySQL and PHP working. Now all I need is PHPUnit, which means I need PEAR to install it. I have searched all over, and there are a few variations ...

Looking to get started with Apache, PHP, MySQL, Python, Django on a fresh Mac...

I've looked for other questions, but could not find any... I have freshly installed my Mac with OSX 10.5. I need to learn Python/Django for a new job, so want to set it all up correctly, ready to develop and run from my browser using http://localhost/ I come from a PHP background and always used MAMP before. But I want to get everythin...

SSH Public Key for user without home directory

I'm running a Mac OS X Leopard Server and I created a new user without designating a home directory for that user. Is it possible to have that user authenticate using a Public Key? I know that when a user does have a home directory it goes in to ~/.ssh/authorized_keys I don't want to create a home directory for this user because my und...

Where is JConsole in Leopard

Hi, does anyone knows where JConsole is Located in MacOSX (Leopard)? ...

Why does the dialog I created in Leopard look terrible in Tiger?

I have created a simple NSWindow with an NSTextField and an NSButton in Interface Builder on Leopard. I set the window background color in my program. Everything looks fine when I run the program in Leopard. But when I run it in Tiger, the background color of the window is not set. It has a default Tiger look with horizontal stripes. ...

How to Fix the Broken BSDDB Install in the Default Python Package on Mac OS X 10.5 Leopard?

Do the following on the default Python install on Mac OS X 10.5 (Leopard) w/ Developer Tools: noel ~ : python Python 2.5.1 (r251:54863, Jan 13 2009, 10:26:13) [GCC 4.0.1 (Apple Inc. build 5465)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import bsddb Traceback (most recent call last): File "<s...

Cannot get PHP working on Leopard again

I had the default Apache2.2 and PHP installation working on my MacBook Pro, but it stopped working at some point. I've read many online articles to try and fix this problem, but none of them have pointed out anything that I am not already doing to get PHP working again. I am completely stumped: My basic Apache configuration appears to b...