snow-leopard

Snow Leopard upgrade -> reinstalling sqlite3-ruby gem problem

Hi all, I got ruby 1.8.7 (native compiled), rails 2.3.4, OSX 10.6.2 and also sqlite3-ruby. The error I'm getting when accessing the rails app is NameError: uninitialized constant SQLite3::Driver::Native::Driver::API History: I upgraded to snow leopard by migrating my apps with a FW-cable from my old macbook to the new one. Everyth...

WebKitPluginHost silently quits my 32 bit plugin on OS X 10.6

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

Apache Alias problem, Snow Leopard

I`m using Snow Leopard for web development with PHP. I have a folder in my home directory which is used as the eclipse workspace for the project. I would like to use it as my deployment directory in Apache, so that any changes that i make will be instantly visible. For that purpose i created an Alias in httpd.conf as follow: Alias /mys...

"SQLite Version Error"

Hello, I tried to run webrat tests in selenium mode, but I got the following error: dyld: Library not loaded: /usr/lib/libsqlite3.dylib Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security Reason: Incompatible library version: Security requires version 9.0.0 or later, but libsqlite3.dylib provides ver...

Installing PostgreSQL and pyscopg2 on Snow Leopard

I'm still a complete beginner in the field of web development and I'm trying to set up the Django environment. I'm reading "the definitive guide to django" to start my practice. I'm running Snow Leopard (10.6.2) on a macbook 2.1GHz. It came with Python 2.6.1. Since Snow Leopard cam with Python 2.6.1 preinstalled, so I didn't do any ext...

C++ library to interface .dmg files on Mac

I want to write a C++ program that spawns off a thread to execute a .dmg file and monitor its completion (success/fail) on Snow Leopard. Would this be as trivial as fork/exec a shell script on Linux? Would I need a 3rd party C++ library to interface .dmg files? ...

using cabal readline package on i386 macbook (snow leopard)

Hi, I'm trying to build and install readline on a i386 MacBook with Snow Leopard. I have made the following steps: download and extract readline-6.0.tar.gz ./configure make everything sudo make install I checked the examples and they appear to work (for instance rltest has support for history). This is the output of file libreadline...

Perl strategy for a new Snow Leopard user?

I'm about to get a new iMac. It's my first Intel mac and will presumably come with Snow Leopard. What would other users recommend as the right strategy for installing and using perl on this machine? I know I've read some complaints about the version of Perl (or was it the version of CPAN?) shipped with Leopard, although a quick google i...

cron jobs under mac os 10.6 snow leopard

I'm trying to set up an automated svn commit to run semi-hourly under mac os 10.6, but the crontabs i'm adding to cron don't seem to be valid and/or don't seem to even be looked at by cron. For testing i made a simple crontab and script: Crontab: */2 * * * * /Users/username/crontest where username is replaced with my system username...

pycurl module not available after installation on Snow Leopard

I'm running Python 2.6.4 on Mac Snow Leopard. I installed pycurl using: sudo env ARCHFLAGS="-arch x86_64" easy_install setuptools pycurl==7.16.2.1 The installation completes with no issues and says pycurl is installed in subsequent installation attempts. However, when I try to "import pycurl" in a script, I get a message that pycurl i...

Using XDebug for Drupal 6.14 on Snow Leopard?

Just wondering if you anybody has had much luck getting XDebug working for Drupal 6.14 on Snow Leopard? I noticed that Snow Leopard seems to come with php 5.3 which some people say should work with Drupal 6.14, though I haven't had any luck. After that failed, I tried installing php 5.2 using macports (checking out from CVS at a previo...

As an OSX beginner, what are my options for writing an application that processes iCal data?

Hey guys, quick background: I'm a .NET developer, mainly Web, but with some experience in old skool VBA, WinForms, some WPF, and a lot of Services. I've now bought a new Mac (Snow Leopard), and loving it, and have my first need for a custom "app". I don't need explicit instructions on how to build this app, but I need a starting poin...

Twisted for Snow Leopard?

The Twisted download page shows that the current version for Macintosh is 8.2.0 for OS X 10.5 Are there known issues with this version of Twisted under 10.6, or is the Twisted web page just a bit out of date? ...

Netscape plugin 64 bits compatibility issue

Hello, I wrote a 32 bits netscape plugin that ran fine in 10.5 When 10.6 came out I converted it to 64 bits (standard 32/64 universal architecture). I linked against SDK 10.5 The plugin works file in both 64 and 32 bits mode in 10.6 but refuses to load in 10.5 Did anybody found a way to build a plugin that is compatible for both 1...

Wrong JPEG library - ruby on rails- OS X

I keep getting this error any time i call any page that has a call that uses RMagick, but i can't figure out what library i'm missing, or what i need to install to get rid of this error. Does anyone have debugging suggestions? Processing SimpleCaptchaController#simple_captcha (for 127.0.0.1 at 2010-01-14 14:24:24) [GET] Parameters...

Dealing with 32-bit code on Snow Leopard 64-bit?

I would like to create an XPCOM plugin for a XULRunner application that I'm building. Since Mozilla only provides a 32-bit build of the XULRunner SDK I have to link with 32-bit libraries. This means that a lot of libraries need to be built by me. Relating this I have a few questions: Can I do a sudo make install for a 32-bit build? Or ...

Errors installing some gems on Snow Leopard - libxml2

After upgrading to Snow Leopard, I found that installing some gems no longer worked, including webrat, mechanize etc. Each time I get this error: checking for xmlParseDoc() in -lxml2... no libxml2 is missing. try 'port install libxml2' or 'yum install libxml2' *** extconf.rb failed *** Could not create Makefile due to some reason, pro...

Contextual Menu Item development for OSX (Leopard and Snow Leopard)

i was wondering what the best practice is for creating a contextual menu item that would work in both leopard and snow leopard and works with a selection of files and/or folders, sending them to a shellscript. i know that the contextual menu items have been deprecated in SL - but does that mean there is no way to create a solution that...

How do I get OpenGL/GLUT working with Eclipse IDE (cocoa 64 bit) using C++ and on Snow Leopard.

This seems like it should be strait forward, but a lot of the information I'm finding it pre-snow leopard, deals with cocoa and carbon, or the XCode IDE. None of which helps me with my problem at hand. I simply want to compile, and run openGL using C++ without becoming dependent on the Mac environment since I will most likely need to g...

How do I force Python to be 32-bit on Snow Leopard and other 32-bit/64-bit questions

When I run the following from a bash shell on my Mac: $ file /usr/bin/python I get the following three lines: /usr/bin/python (for architecture x86_64): Mach-O 64-bit executable x86_64 /usr/bin/python (for architecture i386): Mach-O executable i386 /usr/bin/python (for architecture ppc7400): Mach-O executable ppc this would see...