snow-leopard

Unable to start Flash Builder or any Eclipse Carbon version on Snow Leopard

I'm trying to load Adobe Flash Builder 4 on Snow Leopard 10.6.4, but got this crash message: Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000 Crashed Thread: 0 Dispatch queue: com.apple.main-thread Application Specific Information: Java information: Version: Java HotSpot(TM) Cl...

Why is -[NSPasteboard writeObjects:] returning NO for an array of NSURL objects?

I have an NSArrayController that I'm using to provide data to an IKImageBrowserView. I want to support drag and drop from the IKImageBrowserView to other applications. Here's the relevant method from my code: - (NSUInteger) imageBrowser:(IKImageBrowserView *) aBrowser writeItemsAtIndexes:(NSIndexSet *) itemIndexes toPasteboard:(NSPasteb...

Bootstrap Server Error in Xcode IPHONE

I get the below error many times and this error makes it impossible to run my application unless i restart the whole MAC. This is not caused due to changes in code. ERROR : "Couldn't register com.yourcompany. with the bootstrap server.Error: unknown error code.This generally means that another instance of this process was already runn...

Can I concatenate text / html files with some soft of batch file?

On windows I could do something like... copy /b file1+file2 file3 copy /b file1+file4 file5 In one batch file to generate a files made up of several files. I've trying to create some html help files, with a header, footer, unique content and files containing common content. How can I do this ? ...

String replacement with a 'batch file' ran with sh ?

I've been told I can concatenate files in a sort of batch file by using sh. e.g. cat file1 file2 >> file3 cat file1 file4 >> file5 Is it possible to do a string replacement, I mean load file, replace x with y and run the file with sh. ...

Android emulator Mac OSX location

Hi guys, I am wondering where android emulator keeps all its data and itself? inside the SDK folder or somewhere else ? cheers, /Marcin ...

How do I upgrade my MacPorts Perl installation?

I have installed MacPorts in my MacBook Pro with Snow Leopard. I hadn't explicitly installed perl there but I guess it either came installed with the default macports install or was installed as a dependency by any other port I installed. I want to upgrade the Perl v5.8.9 there with the latest stable Perl version. Whichever it may be cu...

How to revert compiled Python 2.6.4 to system default on Snow Leopard?

So earlier this year I manually built 2.6.4 for Snow Leopard because I wanted a slightly more updated version of Python than what Apple released. This has caused all kinds of problems when installing some eggs like PIL and running other 3rd party python apps. Now I just want to revert everything back to what Snow Leopard ships with becau...

Setting up a NetBoot/NetInstall server using OS X 10.6 client

Hello, The purpose is to setup a server without having the actual server hardware or server OS. I found ways to set up a NetBoot/NetIntall server using Max OS X 10.5 client but not with 10.6 client. Does anyone know how to setup a NetBoot/NetIntall server using Max OS X 10.6 client? The closest information I'm able to get is this. Tha...

FLOSS that implements badging and contextual menu in Snow Leopard's Finder

Apparently with Snow Leopard, due to rewrite of Finder in Cocoa and removal of Contextual Menu Plugins, it is no longer trivial to do either badging nor contextual menus, however Dropbox seems to both add a contextual menu in the managed folder, and add status badges. Is there an open source project that managed to solve this problem? ...

Terminal displys wrong php version (Snow Leopard)

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, Termin...

install Ruby 1.8.6 with rvm in Mac OS X 10.6 Snow Leopard failed

I'm trying to learn Ruby on Rails and wanted to follow Apple's example: http://developer.apple.com/tools/developonrailsleopard.html It requires Ruby 1.8.6 and Rails 2.0.2 My machines is already updated to 1.9.1. I wanted to use rvm to install 1.8.6 but it failed during make with the following log: [2010-10-20 10:43:31] make eval.c: I...

Uninstalling rails and gems, getting error "cannot uninstall, check 'gem list -d ...'

I'm going to start with the usual noob line, "I'm new to rails". Oh, and I'm running Mac OSX 10.6.4 I've been following a bunch of guides to get set up, specifically these two here and here. The guides are great, the reason I'm using the second one is because of RVM and the reason I'm using the first is for MYSQL. Anyway, when I star...

Terminal not running shell bash

Hi, My terminal somehow turned into some kind of a text-editor, I open it up and the window title says "Terminal - Login - 130x33" with no prompt, just a black window with a cursor just like any text editor, my understanding of the problem is that the Terminal.app is not running bash when it starts. I tried deleting the Terminal's pref...

Apache2 doesn't work on my new Mac Snow Leopard installation (Mac OS X 10.6.4)

I've installed snow leopard on the old tiger and I tried to run apache2 by clicking system preferences->sharing->web sharing. It seems to run but if I try to access http://localhost or http://127.0.0.1 or http://192.168.1.6/ (my ip on my network) it doesn't work. I don't know where is the log file (no files on /private/var/log/apache2/)....

glColor3i only drawing black

Why does this only draw black? glPushMatrix(); // Check the current color glColor3i(255, 0, 255); GLint currentColor[4]; glGetIntegerv(GL_CURRENT_COLOR, currentColor); //currentColor[0] = 254, 1 = 0, 2 = 254, 3 = doesn't matter glBegin(GL_QUADS); glLineWidth(1); glVertex2f(0, 0); glVertex2f(WINDOW_WIDTH * .1, 0); glVertex...

glutHideWindow and glReadPixels on OS X

On a MAC OS X machine, I am using FBO, depth RBO and texture RBO with freeglut to render a 3D scene to FBO and doing a render to texture. All using standard glut functions and glutMainLoop at the end. I am using glReadPixels to read from the FBO. I can see that the pixels are being read correctly. However When I hide the glut window us...

How do I change the display name in terminal (os x 10.6)

I have used this script to install imageMagick: Google: maddox magik-installer - its the first hit My terminal name is a string of cryptic letters and numbers. See image here: http://i302.photobucket.com/albums/nn92/wandoledzep/terminal.jpg Keep in mind my computer name in the "Sharing" system preferences is localhost. Any ideas how...

Trying to use jdbc driver for postgresql but it's not working

I have added the jdbc driver to my classpath as far as I know i.e. I added the following to my .profile export CLASSPATH=$CLASSPATH:location/to/the/jarfile.jar When I compile my java program I always get this error javac v9.java v9.java:8: <identifier> expected Class.forName("org.postgresql.Driver");//load the driver ^ v9.j...

Are there drawbacks to Snow Leopard's new "sudden termination" mechanism?

So there's one piece of technology new to Snow Leopard that I haven't heard of. Sudden termination (see Sudden termination in this Apple doc) is apparently a mechanism for telling the system when it is OK for your application to be killed brutally instead of going through the standard quitting mechanism. This is supposed to help faster l...