wiki‎ > ‎

upgrade to snow leopard

Before


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

After


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

References:
  • 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/Gems/1.8/gems/nokogiri-1.3.3/lib/nokogiri/nokogiri.bundle
    /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

    ruby-debug


    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.

    Example:

    http://dl.dropbox.com/u/586025/microsoft_ergonomic_keyboard_does_not_work_on_snow_leopard.png

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

    Links: 

    http://download.microsoft.com/download/5/3/9/5397A003-2404-45D9-8578-0DF8D1AEDEC7/MicrosoftDesktop_d271.dmg
    http://www.macupdate.com/info.php/id/29220/microsoft-intellitype
    http://blog.zottmann.org/post/210093621/upgrading-to-snow-leopard
    http://www.davidalison.com/2009/01/switching-to-ergonomic-keyboard.html
    http://www.gyford.com/phil/writing/2005/11/20/using_a_british.php

    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:
    Natural Ergonomic keyboard 4000 does not work on snow leopard w/ 64 bits apps
    Support Request Number:
    1125862752
    Severity Rating:
    Severity C (Minimum business impact)
    Type of Response:
    Email to j
    Response time:
    Your expected response time is: Within 1 business day
    Note:
    Your question was successfully submitted to Microsoft.
    A Microsoft support professional will contact you within the response time specified for the support that you chose.
    If you are using a spam blocker tool, make sure that you can receive e-mail messages from *@microsoft.com.

    Product:
    Microsoft Natural Ergonomic Keyboard 4000 (All Languages)
    Product ID number:
    76876-545-7874995-10826


    Swap Command & Option key:



    AP Grapher (wifi scanner)


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

    Comments