upgrade to snow leopard


Because I had so many problems every time I updated ubuntu, I decided to wait a bit - the 20th/02/2010 - before upgrading for the 1st my MAC OS from leopard to snow leopard.

I read following articles:

    • http://kenclark.me/2009/09/my-snow-leopard-install-checklist/

    • http://weblog.rubyonrails.org/2009/8/30/upgrading-to-snow-leopard


Upgrade went smoothly and took only 40 min. But a few things were broken ... I think I have spent 4-5 hours to fix them in total :-(

First thing, Run a system Update

mobile connect (3G modem)

I spent 1h on this one; I'd be happy to help if u have some problem


However, if you launch the Mobile Partner app and nothing happens (for my case), there are two workarounds. The recommended one (by Huawei) would be using the Dashboard Installer (see below).

The other way is to manually run the dashboard installation. Right click on the app and choose “Show Package Contents”. Then go to Contents > Resources > MobilePartner.mpkg. Run the MobilePartner.mpkg file and the installation should start.

simyo.de offers a 10€ / month 1Gb very cool dead. simyo.fr is blocked by the trust of O, S and B: f*ck that free market "perfection" ! Hopefully free.fr 3G license should change that in 2011. What I find so stupid is that mobile operators do not share antennas ... What if each electricity / water network had to build its own distribution network!!! Double f*ck this free market stupidity :-(((

mac port

To get rid of everything (and some of these directories are legacy) do the following:

sudo rm -rf \ /opt/local \ /etc/manpaths.d/macports \ /etc/paths.d/macports \ /Applications/DarwinPorts \ /Applications/MacPorts \ /Library/LaunchDaemons/org.macports.* \ /Library/Receipts/DarwinPorts*.pkg \ /Library/Receipts/MacPorts*.pkg \ /Library/StartupItems/DarwinPortsStartup \ /Library/Tcl/darwinports1.0 \ /Library/Tcl/macports1.0

Clean any partially-completed builds and remove any archives:

sudo port clean --work --archive all

Download the Snow Leopard version of MacPorts from their installation page. Run the installer off the dmg.

Sync MacPorts via

sudo port -v selfupdate

Install needed ports for development

sudo port install git-core +bash_completion

sudo port install tiff -macosx imagemagick +q8 +gs +wmf

sudo env ARCHFLAGS="-arch x86_64" gem install rmagick


    • http://www.libertypages.com/clarktech/?p=743

    • http://trac.macports.org/wiki/Migration

  • http://rmagick.rubyforge.org/install-osx.html

mysql + import previous databases

Download and install the 64-bit MySQL 5.1.37 from http://dev.mysql.com/downloads/mysql/5.1.html#macosx-dmg

To use your existing databases with the new installation, you'll need

to copy the contents of the old data directory to the new data

directory. Make sure that neither the old server nor the new one is

running when you do this.

The fastest solution I found is a direct copy:

sudo cp -R /usr/local/mysql-5.1.34-osx10.5-x86/data/ /usr/local/mysql/data/

mysqld_safe as it is explained in http://gist.github.com/177368 did not work for me.

After you have copied over the MySQL database files from the previous installation and have successfully started the new server, you should consider removing the old installation files to save disk space. Additionally, you should also remove older versions of the Package Receipt directories located in `/Library/Receipts/mysql-VERSION.pkg'.

For Ruby on Rails run the following commands to update your gems:

sudo gem update --system

sudo env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config

nokogiri (needed by cucumber)

dlopen(/Library/Ruby/Gems/1.8/gems/nokogiri-1.3.3/lib/nokogiri/nokogiri.bundle, 9): no suitable image found. Did find:

/Library/Ruby/Gems/1.8/gems/nokogiri-1.3.3/lib/nokogiri/nokogiri.bundle: mach-o, but wrong architecture - /Library/Ruby/Gems/1.8/gems/nokogiri-1.3.3/lib/nokogiri/nokogiri.bundle

Failed to load features/support/env.rb (LoadError)


/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `polyglot_original_require'

/Library/Ruby/Gems/1.8/gems/polyglot-0.2.9/lib/polyglot.rb:70:in `require'

/Users/jeanmichel/Projects/betterplace/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:496:in `require'

Fix it with:

sudo port install libxml2

sudo env ARCHFLAGS="-arch x86_64" gem install nokogiri --version 1.3.3


linecache-0.43/lib/../lib/trace_nums.bundle, 9): no suitable image found. Did find: (LoadError)

To solve

- git autocompletion

- buggy snow leopard

British Microsoft keyboard driver

I am a software developer.

I use a macbook and just upgrade to Snow leopard. I have wait for a few months because I wanted to avoid the upgrade "hell" ...

Almost everything is working but I had the very unpleasant surprise to not to be able to use my keyboard! Very frustrating indeed.



I use the Terminal every day. If I surf with google chrome, it's no problem with the "British - Microsoft" layout. When I switch to the Terminal, the keyboard layout changes automatically to "French" which is the keyboard installed on the macbook ... The "British - Microsoft" layout is disabled ...

It "only" happens with 64bits apps which is a major blocking.

Being a software developper with 12 years of experience, I generally find a way. I have upgraded to Microsoft Desktop (http://www.microsoft.com/hardware/download/download.aspx?category=MK) 7.1 which seems to be the latest version.

I have also found http://discussions.apple.com/message.jspa?messageID=10124424 and http://blog.zottmann.org/post/210093621/upgrading-to-snow-leopard but I haven't managed to fix the problem ...







1 possible solution: http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=ukelele

Thank you for submitting your incident online!

Incident Details

Incident Title:

Support Request Number:

Severity Rating:

Type of Response:

Response time:


Natural Ergonomic keyboard 4000 does not work on snow leopard w/ 64 bits apps


Severity C (Minimum business impact)

Email to j

Your expected response time is: Within 1 business day


Product ID number:

Microsoft Natural Ergonomic Keyboard 4000 (All Languages)


Swap Command & Option key:

AP Grapher (wifi scanner)

does not work on Snow. I am now using http://www.istumbler.net/